racomnet

BANNED
Oct 6, 2004
68
0
156
My cron seem to be stop loging.
The service is working but not sending e-mail and not loging enithing :(
In /var/log/ al cron files has zerro dimension

WHM 10.1.0 cPanel 10.2.0-R82
Fedora i686 - WHM X v3.1.0
Fc2
 
Last edited:

racomnet

BANNED
Oct 6, 2004
68
0
156
yes , I restarted cron many time, and I have free space on evry partition.
But still this dosen't seem to fix the problem.

/dev/hda3 4.0G 587M 3.2G 16% /var


196672 -rw------- 1 root root 0 May 29 04:02 cron
196702 -rw------- 1 root root 0 May 22 04:02 cron.1

root 22136 0.0 0.0 1512 652 ? S 12:06 0:00 crond
root 4394 0.0 0.0 3580 576 pts/0 R 13:21 0:00 grep cro


Also some time I recive a e-mail error for logrotate

etc/cron.daily/logrotate:

error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
Haev you tried restarting syslog which controls the location of logging with /etc/syslog.conf?

/etc/init.d/syslog restart
 

racomnet

BANNED
Oct 6, 2004
68
0
156
:rolleyes: welll thaat seem to be the problem.
Evry time logrotatate try to rotate, it mess up the logs.
today I recive same e-mail, and all log are stoped.

I found this http://forums.fedoraforum.org/archive/index.php/t-22359.html but I am ondering if is any fix.

/etc/cron.daily/logrotate:
.....
error: error running postrotate script
error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron