1829239 Members
2453 Online
109987 Solutions
New Discussion

Error message

 
SOLVED
Go to solution
Tom Spence_1
Regular Advisor

Error message

Hi all,

I can connect to the server but no login prompt from my pc's terminal. So I decided to go and check with server with console. It said:

cron aborted: cannot access fifo queue

So I had to press the power button off and on... So how can I fix with that fifo?

I appreciate your help.

Tom
Thinking Snow!
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: Error message

Hi Tom:

Check for the presence of a FIFO queue:

# ls -l /var/adm/cron/FIFO

You should see something like:

prw------- 1 root root 0 Aug 26 13:50 FIFO

The 'p' denotes a pipe. If you don't have this file or it isn't a pipe file, do:

# mknod /var/adm/cron/FIFO p

Regards!

...JRF...
Joaquin Gil de Vergara
Respected Contributor

Re: Error message

send me the content of files under /var/spool/cron/crontabs

# > /abast
# for i in /var/spool/cron/crontabs
> do
> echo $i >> /abast
> cat $i >> /abast
> echo ========================== >> /abast
> done
#

send me tha /abast file!
Teach is the best way to learn
Sajid_1
Honored Contributor

Re: Error message

I don't think your problem and the message is directly related. To resolve the cron issue, check this document:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058668849

Doc ID - KBRC00001046

For the login prompt issue, you may have to check the connection settings, syslog.log file, your terminal setting etc.
learn unix ..
Tom Spence_1
Regular Advisor

Re: Error message

James,

abast file is here:

/var/spool/cron/crontabs
^L??^L^A.^A`??^L^B..^L??8^Droot(
_cron15244^T
_cron10012^L??^C??^Goracle7==========================
Thinking Snow!
Darren Prior
Honored Contributor

Re: Error message

Hi Tom,

Were you able to login at the console? If a user was already logged in at the console then tapping return at the cron error should have returned you to a prompt, where you could have safely run a shutdown. You should avoid powercycling a running server if at all possible, always making sure it is shutdown first.

How are you connecting from your PC? Are you using a telnet connection, is the problem confined to just your pc?

regards,

Darren.
Calm down. It's only ones and zeros...
Steve Steel
Honored Contributor

Re: Error message

Hi


Do the following


A)If you actually have a /var/adm/cron/FIFO file.Remove it
rm /var/adm/cron/FIFO

B)Remake the pipe by running:

mknod /var/adm/cron/FIFO p

You must include the final p argument .

C)Verify the cron directories:

/usr/lib/cron

and

/usr/spool/cron


You should see
lrwxr-xr-t 1 root sys 13 Jun 14 03:43 /usr/lib/cron -> /var/
adm/cron
dr-xr-xr-x 5 bin bin 96 May 22 15:20 /usr/spool/cron
prw------- 1 root root 0 May 22 15:20 /var/adm/cron/FIFO


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)