Stoping & starting the cron

Hi

We are running SCO ver 5. Recently the cron daemon stopped running on its own. How do I find out why? How do I restart/stop it?

I typed cron but it didn't work. Will rebooting it do the trick or can I manually start and stop the cron daemon?

Please help.

Thanks & Regards.

Try '/etc/init.d/cron stop' and '/etc/init.d/cron start'

othman, please review our rules which state:

Your first thread was not even an hour old when you posted this second thread.

That is a handy piece of information, never knew you could do that with cron. We always restarted if something flaky came up.

Thanks

Restart worked. Will try try the cron start/stop next time when I am at the server; as it is remotely located in another country and no technical staff there.

Thanks all.

:mad: Not sure if this related to the cron daemon error! On trying to start the cron the last time ie before rebooting the server. I typed cron on the SCO server. The comand ran ie it did not give any error - but did not start the cron daemon.

After rebooting the server the users now cannot access the server. They get an error "telnetd: access denied" even before getting log-in prompt. However, I can login directly on the server (locally), but the users cannot access the server via Winet emulator ie using telnet.

I also noted that the cron daemon stopped executing again!!

Please help as this server has been operational for the past 3 years without any problems.

By login locally do you mean at the system console, or at a Windows pc using telnet on the same tcp subnet as the server.
If you are at the console, is tcp running?
Is the system in multi-user mode (can you log on at the console if you press <ctrl><alt><f3>) ?
Have you run out of disk space in the root file system?
Have you run 'authck -a' to test system integrity?
What release of OpenServer are using?

Yes I can, while logging on at the system console. I have noted that sometimes I am able to log-in via telnet. Not sure why but I presume its after a reboot & I am the only user trying.

TCP should be running cause I can ping the server & FTP works. Is there a command to run to see if "TCP" is actually running?

I am able to log on the console multiple times using <Alt> <F2>.

There is space on the root file system.

Please confirm syntax 'authck -a' as this doesnt work.

SCO release 5.0.

Thanks.

The SCO version is 5.0, but which release, your answer should have been 5.0.4, or 5.0.6, or 5.0.7
You can get the number from 'uname -X'
'authck' requires root privileges, and is in /tcb/bin, so also check path.
'netstat' will show tcp status with various options

Hi jgt,

Thanks for all the help. Much appreciated. The problem has been sorted apparently it was corrupt ttyp23 file. Not sure how this happened.

See the server is in another country so I had to get help there. Some UNIX specialist had to go sort it there locally.

Regards.