Page 1 of 1

apache cron error after 2012 r1.4

Posted: Thu Jan 24, 2013 8:31 pm
by david_sloboda
Red Hat Enterprise Linux Server release 5.8 running Nagios XI 2012 r1.4

I have received ten pairs of messages (20 messages in total) like this:

Code: Select all

From: Apache [mailto:[email protected]] 
Sent: Thursday, January 24, 2013 5:12 PM
To: [email protected]
Subject: Output from your job 18

This account is currently not available.
I am getting these messages in pairs. I got

Code: Select all

Subject: Output from your job 18
Subject: Output from your job 17
both at 17:12 today.

What do these messages mean?
How may I resolve the issue that is causing them?

I found four other posts for 2011 r1.4
including
http://support.nagios.com/forum/viewtop ... 63&p=11146
http://support.nagios.com/forum/viewtop ... 74&p=11118

There's a post by mguthrie ยป Thu Jun 23, 2011 7:24 am
See our global announcement:
http://support.nagios.com/forum/viewtop ... =16&t=2585
but that topic no longer exists.

Thank you,
David

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 9:09 am
by scottwilkerson
Are you running 2011R1.4 or 2012R1.4?

You mention both in your post...

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 10:14 am
by mguthrie
I'm suspicious I know what that is. When changes and logins happen to the CCM, the log information is also sent to XI's audit log by piping a message through /bin/at, which is the system scheduler. I'm wondering if the apache user on your system doesn't have permission to schedule jobs with at. Let me verify is that's just on your system or if that's a bug.

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 3:35 pm
by david_sloboda
I am running 2012R1.4


When searching for a fix in this forum, I found only references to 2011R1.4 in previous forum posts.
Thank you,
David Sloboda

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 3:38 pm
by david_sloboda
mguthrie:

Your analysis would explain what I see. I notice a correlation: I make an edit through the new CCM, then shortly later the messages show up.

The apache user on my system looks like this:

Code: Select all

root@bby1nms01 ~# grep apache /etc/passwd
apache:x:48:48:Apache:/var/www:/sbin/nologin
root@bby1nms01 ~#
Thank you,
David Sloboda

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 3:44 pm
by mguthrie
Fixed in SVN for the 1.5 release :)

Re: apache cron error after 2012 r1.4

Posted: Fri Jan 25, 2013 3:59 pm
by david_sloboda
Great to hear, thank you.