pppplus
Verified User
- Joined
- Dec 19, 2008
- Messages
- 528
Hi everybody !
It seems my cron.daily do not run every days.
And I have a big problem, logs do not rotate... And files are bigger every days.
So my partition /dev/md1 is 100% full.
How to verify - modify things to restats cron.daily ?
In file /etc/crontab, I have :
In cron logs, I have this line :
and for cron.hourly, I have this line
And my partitions :
Last thing : I mount virtual partition to read ftp backups, with curlftpfs on /media/backups
I try to unmount virtual partition with command (I find it with google)
fusermount -u /media/backups/
But => fusermount: entry for /media/backups not found in /etc/mtab
The backup files on /media/backups are on /dev/md1/ because when I delete them, /dev/md1/ comes back to 26%
So 3 problems to solve for me
1- log rotate
2- unmount /media/backups
3- mount new folder for baclups, but not in /dev/md1 => so maybe mount folder in /home forlder ?
Thanks for your help
It seems my cron.daily do not run every days.
And I have a big problem, logs do not rotate... And files are bigger every days.
So my partition /dev/md1 is 100% full.
How to verify - modify things to restats cron.daily ?
In file /etc/crontab, I have :
Code:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
*/1 * * * * root /usr/local/rtm/bin/rtm 55 > /dev/null 2> /dev/null
In cron logs, I have this line :
Code:
Jan 5 06:25:01 ns1 /USR/SBIN/CRON[3156]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
and for cron.hourly, I have this line
Code:
Jan 5 07:17:02 ns1 /USR/SBIN/CRON[23483]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
And my partitions :
Code:
ns1:~# df -h
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/md1 9,7G 9,1G 44M 100% /
tmpfs 1005M 0 1005M 0% /lib/init/rw
udev 10M 44K 10M 1% /dev
tmpfs 1005M 0 1005M 0% /dev/shm
/dev/md2 449G 158G 269G 37% /home
Last thing : I mount virtual partition to read ftp backups, with curlftpfs on /media/backups
I try to unmount virtual partition with command (I find it with google)
fusermount -u /media/backups/
But => fusermount: entry for /media/backups not found in /etc/mtab
The backup files on /media/backups are on /dev/md1/ because when I delete them, /dev/md1/ comes back to 26%
So 3 problems to solve for me
1- log rotate
2- unmount /media/backups
3- mount new folder for baclups, but not in /dev/md1 => so maybe mount folder in /home forlder ?
Thanks for your help