nagios list of process IDs must follow -p

Deborah Martin Deborah.Martin at Kognitio.com
Fri Jun 23 15:18:18 CEST 2006


and have you followed the advice set out below ? 

-----Original Message-----
From: REMY Julien [mailto:julien.remy at ohs.asso.fr]
Sent: 23 June 2006 14:20
To: Marc Powell; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] nagios list of process IDs must follow -p


It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file.

Thank you.

But in Nagios, if I select menus, the message is : 

Whoops!

Error: Could not read object configuration data!

Here are some things you should check in order to resolve this error:

   1. Verify configuration options using the -v command-line option to check
for errors.
   2. Check the Nagios log file for messages relating to startup or status
data errors.
   3. Make sure you've compiled the main program and the CGIs to use the
same
object data storage options (i.e. default text file or template-based file).


Make sure you read the documentation on installing, configuring and running
Nagios thoroughly before continuing. If all else fails, try sending a
message
to one of the mailing lists. More information can be found at
http://www.nagios.org.

What want to say?


-----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

************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly 
prohibited.

Whilst Kognitio Limited takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused.
***********************************************************************


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