View Full Version : Cron is dead
daintree 03-09-2001, 01:30 PM Hi All,
A few days ago I applied the latest patches from Cobalt to my RaQ3. I have since discovered that my RaQ was restarted yesterday (I'm not sure why) and that crond wasn't running when the server came back up. I can run crond manually but it doesn't automatically start when the server is re-booted. It seems that the symbolic link for crond is missing from the /etc/rc.d/rc3.d directory.
Anyone else experience this after applying the updates?
I'm suspecting that something else may be missing because available RAM is higher than normal. Can someone with a freshly installed RaQ send me a directory listing of their /etc/rc.d/rc0-6.d (especially rc3.d) so I can compare it with mine.
Much appreciated.
TIA
Dave
namehog 03-10-2001, 03:22 PM Hi,
We have the same problem as you, we have installed it on 2 RaQ3's and it wrecked the cron on both so now, neither generate any stats ordinary or webalizer, and also it has stopped all the backups.
It was the vixie-cron update released on the 2nd of March that caused the problem.
Have you had any luck in sorting the problem?
daintree 03-10-2001, 04:14 PM To recreate the missing crond symbolic link -
su root
cd /etc/rc.d/rc3.d
ln -s ../init.d/crond S40crond
Technically, you should also put the S40crond link in the rc2-5.d directories to cover all run-levels but you'll probably never run anything other than 3.
I'm not sure if Cobalt runs crond at any other level by default or if they kill it when shutting down (run level 6). If someone can send me a directory listing of their /etc/rc.d/rc0-6.d directories so I can compare them with mine, I'd appreciate it. I'd like to recreate the original links.
Cheers,
Dave.
You need to kill it when it shuts down. Add a symlink to rc0.d as well. Do this:
su root
ln -s /etc/init.d/crond /etc/rc0.d/K40crond
dutchie 03-11-2001, 06:12 AM vizi ->
I tried your commandline, but it gave a no such directory error.
The command to start things up worked fine.
any idea's ?
daintree 03-11-2001, 01:17 PM dutchie, to get crond to shutdown, try this -
su root
cd /etc/rc.d/rc0.d
ln -s ../init.d/crond K40crond
cp K40crond ../rc6.d
Don't forget to copy the S40crond sym link (S40crond not K40crond) as mentioned above into run levels 2-5 as well.
Cheers,
Dave.
dutchie 03-12-2001, 07:38 AM i have no idea how to do this.
I found out that crond wasn't running, and i managed to get it up by the instructions in this thread.
su root
cd /etc/rc.d/rc3.d
ln -s ../init.d/crond S40crond
So now i type in :
su root
cd /etc/rc.d/rc0.d
ln -s ../init.d/crond K40crond
cp K40crond ../rc6.d
Is that enough to keep webalizer running ?
If not please tell me exactly what to do, i don't know a single thing about linux.
namehog 03-12-2001, 08:08 AM I have tried what people have been suggesting above and it has appeared to have worked.
I have still got a few sites that have not refreshed the stats but i am sure they will fix overnight!
dutchie 03-13-2001, 11:06 AM When i type in
ls /etc/rc.d/rc3.d/*crond*
i get
/etc/rc.d/rc3.d/S40crond
I guess this means its running, but webalizer don't work
I started webalizer 1 time by hand
/etc/cron.daily/webalizer.pl
And i can see the stats from that time (till 7 march)
What am i missing ?
daintree 03-13-2001, 03:24 PM You either need to manually start cron -
/etc/rc.d/init.d/crond start
Or just re-boot.
Cheers,
Dave.
dutchie 03-14-2001, 10:14 AM Ok thanks, i'm gonna try it..
dutchie 03-15-2001, 02:13 PM Its seems to work :)
Thanks.
namehog 03-15-2001, 02:52 PM Hi,
Cobalt have just released a patch on their web site for it if you want to fix it that way.
http://emea.cobalt.com/support/download/raq3.eng.html
dutchie 03-16-2001, 10:00 AM Is it wise for me to install the patch after the changes i made ? or will it give troubles with double entries in files ?
namehog 03-16-2001, 10:02 AM I installed it and it still works ok, i changed things too, but there was not much option but to install it so i did.
|