1833031 Members
2226 Online
110049 Solutions
New Discussion

Cron Log Error Msg

 
SOLVED
Go to solution
Chris J. Solarczyk
Occasional Advisor

Cron Log Error Msg

I've noticed the following message in the cron log periodically:

"! unexpected pid returned 5058 (ignored)"

Server is an N Class HPUX 11. Any ideas why this is appearing? Cron still seems to be running OK.

5 REPLIES 5
Paula J Frazer-Campbell
Honored Contributor

Re: Cron Log Error Msg

Hi
Can you tie the time of this error to a cron event ?

Paula
If you can spell SysAdmin then you is one - anon
Craig Rants
Honored Contributor

Re: Cron Log Error Msg

What is the cron job that returned the pid error? Standard format looks like the entry below. Command, Start Time, Stop Time. Each one has an associated pid, search your log for the pid and you will probably find what command had the problem. I've seen that error before and it isn't going to kill anything.

> CMD: date >> /var/adm/messages; /sbin/dmesg - >> /var/adm/messages
> root 2248 c Fri Sep 21 16:30:02 MDT 2001
< root 2248 c Fri Sep 21 16:30:02 MDT 2001

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
James R. Ferguson
Acclaimed Contributor

Re: Cron Log Error Msg

Hi Chris:

There is an old (1993) Technical Knowledge Base entry that describes this situation. The message is generated for short-running jobs that exit before 'cron' has a change to register their pid. Perhaps this helps.

Regards!

...JRF...
Sanjay_6
Honored Contributor
Solution

Re: Cron Log Error Msg

Hi Chris,

check you patch level. Also take a look at this thread,

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4b615af00befdd3dd1/screen=ckiDisplayDocument?docId=200000019596519

Hope this helps.

Regds
Chris J. Solarczyk
Occasional Advisor

Re: Cron Log Error Msg

Sanjay was right on the money. The error message appears whenever we run "at -m". Apparently this message can be ignored. Check his link for more info.