Linux / UNIX Tech Support Forum
This is a discussion on cp automake itself within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hello, I got problem with cp, i dont know why it running it self, i dont see any crontab make ...
|
|||||||
| All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I got problem with cp, i dont know why it running it self, i dont see any crontab make it working itself, Every 1 hour or 2 hours i will see that message show on my console , ![]() - [root@xxx.xxxx.xxx] - [06:37:42] - - [~] - cp: ../admins.addlog-*.tgz: No such file or directory cp: ../admins.delinfo-*.tgz: No such file or directory cp: ../bugs-*.tgz: No such file or directory Please advise. Thanks. |
| Sponsored Links | ||
|
|
|
||||
|
I'm assuming that you are using FreeBSD. Can you run the following and see cp command or script that can call the cp:
Code:
crontab -u root -l crontab -u username -l cat /etc/crontab cd /var/cron/tab/ grep -r cp * grep -r cp * | grep admins.addlog Code:
cd /etc/periodic grep -r cp * | grep admins.addlog grep -r cp * | less grep -r cp * | less Code:
cd /usr/local/etc/periodic/ grep -r cp * | grep admins.addlog grep -r cp * | less grep -r cp * | less Code:
sockstat -4 sockstat -l -4 ps aux | less
__________________
Vivek Gite Linux Evangelist |
|
|||
|
I'm follow your command, then i dont see anything output with grep
--- - [~] - cp: ../admins.addlog-*.tgz: No such file or directory cp: ../admins.delinfo-*.tgz: No such file or directory cp: ../bugs-*.tgz: No such file or directory --- I cant find anything. But , i'm already do "crontab -r" as root on root. remove the crontab running. Thanks |
|
||||
|
Try this should find out file (it will take some time):
Code:
grep -iR '*admins.addlog*' / Code:
find / -iname '*' -exec grep '*admins.addlog*' '{}' \;
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| cp automake cp itself |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|