Cron could not unlink FIFO


 
Thread Tools Search this Thread
Operating Systems Solaris Cron could not unlink FIFO
# 1  
Old 12-17-2009
Cron could not unlink FIFO

We are using Solaris 10 on tiny box. My issue is after server panic cron is not coming up, I've tried to manually restart cron but no luck.

# cron stop
cron could not unlink FIFO: no such file or directory
! cannot create fifo queue Thu Dec 17 11:20:17 2009
! ******* CRON ABORTED ******* Thu Dec 17 11:20:17 2009
# cron start
cron could not unlink FIFO: no such file or directory
! cannot create fifo queue Thu Dec 17 11:20:22 2009
! ******* CRON ABORTED ******* Thu Dec 17 11:20:22 2009

I tried to google this error but can not find any sol'n. Just to let you know guys there are few error in /var/adm/messages files but not related to cron.

Anyone knows from where I need to investigate my issue?

TIA
Vijay
# 2  
Old 12-17-2009
a few command outputs required:-
/etc/init.d/cron stop
/etc/init.d/cron start

uname -a
who -r
id
crontab -l
ls -l /path_to_script
# 3  
Old 12-17-2009
Thanks for your reply

Here are the output -

Code:
/etc/init.d/cron stop 
cron could not unlink FIFO:  no such file or directory
!  cannot create fifo queue Thu Dec 17 11:20:17 2009 
! ******* CRON ABORTED ******* Thu Dec 17 11:20:17 2009

/etc/init.d/cron start

cron could not unlink FIFO:  no such file or directory
!  cannot create fifo queue Thu Dec 17 11:20:22 2009 
! ******* CRON ABORTED ******* Thu Dec 17 11:20:22 2009

uname -a
SunOS oem1 5.10 Generic sun4u sparc SUNW, Sun-Blade-1500

who -r
.        run-level3 Dec 16 11:37  3   0   S

id
uid=0(root) gid=0(root)

crontab -l
<displays contents of crontab>

ls -l /path_to_script
/path_to_script no such file or directory


Last edited by Scott; 12-17-2009 at 10:28 AM.. Reason: Please use code tags
# 4  
Old 12-17-2009
whats your kernel patch level? I read somewhere before that it was a bug with inetd patch co the crond dies and cannot restart
This is for Solaris 8, not 10. But see if it helps you.
http://forums.sun.com/thread.jspa?fo...readID=5085014
# 5  
Old 12-17-2009
No luck, this does not help me
# 6  
Old 12-17-2009
you did not answer my question on the kernel patch level
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unable to unlink files perl

Hi, I have a dir and some files as below (all have full perm) drwxrwxrwx 2 sam sam 4096 Aug 8 04:31 /home/sam/test $ ll /home/sam/test -rwxrwxrwx 1 sam sam 0 Aug 8 04:31 b1_2013_file.txt -rwxrwxrwx 1 sam sam 0 Aug 8 04:31 c1_2014_file.txtI want to go to this directory and delete the... (2 Replies)
Discussion started by: sam05121988
2 Replies

2. Shell Programming and Scripting

Unlink multiple files

I wish to unlink multiple links, but man pages shows unlink - call the unlink function to remove the specified file let's linked are in number sequence and I'm doing unlink `echo {1..500}` This fails.. Is their any other command to execute it or I need to call the unlink function that... (1 Reply)
Discussion started by: posix
1 Replies

3. UNIX and Linux Applications

FIFO

Hello , I am working on unix FIFO IPC. i have a doubt regarding that. If the fifo is updated(write()) through one process....can we able to send any signal that fifo is updated and ready to get read...to other process.?? (0 Replies)
Discussion started by: Harry443
0 Replies

4. Shell Programming and Scripting

Unlink and copy actual file

Hello, I have a set of directories, which has inside them, symbolic links to some files. What i would like to do is to covert the links into actual files, i.e. remove the link and copy the actual file here... I tried to see unlink command but i think all it does is delete the link, is... (2 Replies)
Discussion started by: prasbala
2 Replies

5. Shell Programming and Scripting

How to Unlink all files in a directory?

I had a directory like A/B/C and these are all what I did. cd A/B/C ln -s some_path/some_sub_dir/C/* . After this, I have around say 1000 files linked to my A/B/C directory. How can unlink all those files at one shot? The unlink command requires filename as an argument but what I need is to... (1 Reply)
Discussion started by: dahlia84
1 Replies

6. Solaris

Accidentally did a unlink inet

I was trying to remove a symbolic link of /etc/hosts to /etc/inet/hosts well i forgot the command and in the /etc directory i did unlink inet and now i can not get into inet and it does not exist in /etc 1) what do i do to fix the inet directory 2) how do i link /etc/hosts to... (1 Reply)
Discussion started by: deaconf19
1 Replies

7. Shell Programming and Scripting

perl unlink question

Hi, I have a two lines of code both intend to perform the same task. unlink $CtrFile; system ("rm $CtrFile"); Both of which try to delete a certain file. However when I use the unlink command the file does not get deleted. When I use the "rm" system... (2 Replies)
Discussion started by: jerardfjay
2 Replies

8. Programming

how to use fifo

hi, I have a problem. I've done a lil program which gets from the server the given persons username a personal folder. I made it with a pipe calling popen with a command, but how can i make the same thing using fifo. I make the fifo with mkfifo() func. and than what. How do I tell the sertver using... (3 Replies)
Discussion started by: atticus
3 Replies

9. UNIX for Dummies Questions & Answers

mv: cannot unlink ????

Hello all, I have a script which runs every 15 minutes and moves all but latest 10 files from a directory (A) to Directory (B). Most of the times this job runs fine but sometimes it is giving "mv: cannot unlink {Target Directory name } : Permissions denied." Any help about this error msg... (1 Reply)
Discussion started by: super_duper_guy
1 Replies

10. UNIX for Advanced & Expert Users

link and unlink , urgently...

Hi all I did something incorrectly about link command. I try to make a link from a sub-dir to root dir, but I use the following command: link / zzz the result is sub-dir "zzz" was linked to "/" Then I want to remove the "zzz" by using unlink command: unlink zzz It say that "Device... (1 Reply)
Discussion started by: umonk
1 Replies
Login or Register to Ask a Question