Apache cron error after 2011R1.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Apache cron error after 2011R1.4

Post by hhlodge »

I am getting an email from cron every five minutes.

Subject: Output from your job

This account is currently not available.
- Kyle
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Apache cron error after 2011R1.4

Post by hhlodge »

These stopped after 3 iterations. Not sure what it was and will likely never know. When I ran "su - apache" to try and debug it, I got the exact same error because the shadow password field is set with invalid characters.
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Apache cron error after 2011R1.4

Post by mguthrie »

If this comes up again be sure to let us know. I haven't heard of that happening before.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Apache cron error after 2011R1.4

Post by hhlodge »

Got another this morning, with the next increment number (Output from your job 4) in the subject, some 46 hours later. The entries in /var/log/cron for the time the message was triggered are the following.

Jun 23 09:32:01 psm-itmon crond[22575]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22580]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22583]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22588]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22593]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22594]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22597]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jun 23 09:32:01 psm-itmon crond[22598]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)

And I see these errors in a couple of these logs. No idea if these are related.

# grep -l -i warn /usr/local/nagiosxi/var/*log
/usr/local/nagiosxi/var/eventman.log
/usr/local/nagiosxi/var/sysstat.log

# cat /usr/local/nagiosxi/var/*log | grep -i warn
PHP Warning: include_once(/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
PHP Warning: include_once(): Failed opening '/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
PHP Warning: parse_url(http://:/nagiosxi/backend/?cmd=getconninfo&orderby=last_checkin_time%3Ad&records=1&subsystem=8esf6pg0jgbt&uid=0): Unable to parse url in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 91
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/cron/sysstat.php on line 100
PHP Warning: parse_url(http://:/nagiosxi/backend/?cmd=getconninfo&orderby=last_checkin_time%3Ad&records=1&subsystem=8esf6pg0jgbt&uid=0): Unable to parse url in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 91
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/cron/sysstat.php on line 100
PHP Warning: parse_url(http://:/nagiosxi/backend/?cmd=getconninfo&orderby=last_checkin_time%3Ad&records=1&subsystem=8esf6pg0jgbt&uid=0): Unable to parse url in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 91
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/cron/sysstat.php on line 100
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Apache cron error after 2011R1.4

Post by mguthrie »

Locked