nagios list of process IDs must follow -p

REMY Julien julien.remy at ohs.asso.fr
Fri Jun 23 15:49:46 CEST 2006


In my /var/log/httpd/error_log : 

File does not exist: /var/www/html/favicon.ico

In my /var/log/messages : 

nagios: Error: Unable to create temp file for writing status data!
Jun 23 15:45:03 mercure2 pam_timestamp_check: pam_timestamp: `/var/' permissions are lax
Jun 23 15:45:13 mercure2 last message repeated 2 times


-----Message d'origine-----
De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell
Envoyé : vendredi 23 juin 2006 14:27
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] nagios list of process IDs must follow -p



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of REMY Julien
> Sent: Friday, June 23, 2006 4:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios list of process IDs must follow -p
> 
> Hello,
> 
> 
> 
> Nagios don't start in my computer (/etc/init.d/nagios start). If I do
> /etc/init.d/nagios status, an error message appears :
> 
> 
> 
> ERROR: list of process IDs must follow -p
> 
> 
> 
> What wants to say this message?


Based on what you said previously, it probably means that nagios isn't
starting or isn't able to create the pid file. Try running manually and
look for errors with '/path/to/nagios /path/to/nagios.etc'.

Make sure nagios can write to the files you've specified as lock_file,
state_retention_file, comment_file, downtime_file and temp_file in
nagios.cfg. Make sure the command_file directory exists and is
configured as per the documentation if you have enabled external
commands.

As for your CGI errors, the http logs you provided show no attempted
access to any of the CGI's. Why is that?

Since you're using RHEL4, you'll want to verify that either SELinux is
disabled or you've created a policy that allows http access to the CGI's
and possibly daemon access to other files. If you see 'avc denied'
errors related to nagios in /var/log/messages then you need to disable
or modify your SELinux policy. There are several discussions in the
archives on how to do this.

--
Marc



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list