cannot start cron; FIFO exists
i am running solaris 5.7 on X86 platform, when I try to start cron, I get the error:
cannot start cron; FIFO exists CRON aborted Any Ideas? I am not getitng backups while cron is down. Thanks |
Have you checked cron isn't already running ?
|
cron is running, but i receive the same error (cannot start cron; FIFO exists) when issuing the stop command.
|
What stop command ?
cron is designed to be started once and run "forever". |
I was runing /usr/sbin/crond stop
I igurd out the issue....i swapped out a box a week ago and a script in cron has been attempting to call this server every 30 min, the result, cron was busy calling a non-existent host and ignoring other tasks, such as my backups. thanks for all the help. |
There's no /usr/sbin/crond command, I think you mean /usr/sbin/cron.
Anyway cron takes no argument (stop or other). |
good to know....so there is no way to restart cron after it has been started? can cron be killed using the pid?
|
There's never a need to restart cron, as it is build to run forever and it has no bugs ;)
If you need to have cron rereading its configuration files, use the contab command (e.g.: "crontab -e"). |
Thanks.....that command (crontab -e) hangs, i need to coment out an entry but the display hangs and i end up killing the session...big problems
|
What do you mean by hangs ?
You should first read man pages and not blindly enter commands suggested by people you do not know ... Well, I think your EDITOR variable is not set, so "crontab -e" brings you in the good old 'ed' editor which is not a user friendlyness model. Try: export EDITOR=vi and start again. |
when i type crontab -e, nothing comes up. on my other servers i am able to edit the cron file, but i get nothing here, just black screen, after a few moments , i need to ctrl c to get a command prompt back.
my default editor is already vi |
Try
Code:
truss -f crontab -e |
I am having the same problem.
Cron has for some reason stopped running. crontab -l displays the cronjobs. crontab -e causes it to hang. Code:
# crontab -e I then have to hit CTRL-D to exit and get the following message when I do. "The crontab file was not changed." weird ? |
ok... truss -f just spat out a ton of info but nothing that means a whole lot to me ?
It ends like this Code:
11387: write(3, " v / n u l l 2 > & 1\0".., 512) = 512 |
Read again my previous answers, there is no problem with your "crontab -e" output.
|
All times are GMT -5. The time now is 06:42 PM. |