nagios list of process IDs must follow -p

REMY Julien julien.remy at ohs.asso.fr
Mon Jun 26 14:28:19 CEST 2006


When I compile Nagios : 

checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no
checking for gdImagePng in -lgd (order 4)... no


*** GD, PNG, and/or JPEG libraries could not be located... *********

Boutell's GD library is required to compile the statusmap, trends
and histogram CGIs.  Get it from http://www.boutell.com/gd/, compile
it, and use the --with-gd-lib and --with-gd-inc arguments to specify
the locations of the GD library and include files.

NOTE: In addition to the gd-devel library, you'll also need to make
      sure you have the png-devel and jpeg-devel libraries installed
      on your system.

NOTE: After you install the necessary libraries on your system:
      1. Make sure /etc/ld.so.conf has an entry for the directory in
         which the GD, PNG, and JPEG libraries are installed.
      2. Run 'ldconfig' to update the run-time linker options.
      3. Run 'make clean' in the Nagios distribution to clean out
         any old references to your previous compile.
      4. Rerun the configure script.

NOTE: If you can't get the configure script to recognize the GD libs
      on your system, get over it and move on to other things.  The
      CGIs that use the GD libs are just a small part of the entire
      Nagios package.  Get everything else working first and then
      revisit the problem.  Make sure to check the nagios-users
      mailing list archives for possible solutions to GD library
      problems when you resume your troubleshooting.

-----Message d'origine-----
De : Deborah Martin [mailto:Deborah.Martin at Kognitio.com] 
Envoyé : vendredi 23 juin 2006 16:51
À : REMY Julien; nagios-users at lists.sourceforge.net
Objet : RE: [Nagios-users] nagios list of process IDs must follow -p

If the configuration can't be read, check the paths in the nagios.cfg
correspond to the correct locations of the 
.cfg files. Check permissions and owner of the files. 

When you run the nagios -v nagios.cfg preflight check what is the output ? 



-----Original Message-----
From: REMY Julien [mailto:julien.remy at ohs.asso.fr]
Sent: 23 June 2006 15:40
To: Deborah Martin; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] nagios list of process IDs must follow -p


Yes I follow all but it's the same problem

-----Message d'origine-----
De : Deborah Martin [mailto:Deborah.Martin at Kognitio.com] 
Envoyé : vendredi 23 juin 2006 15:18
À : REMY Julien; Marc Powell; nagios-users at lists.sourceforge.net
Objet : RE: [Nagios-users] nagios list of process IDs must follow -p

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