Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-26 Thread REMY Julien
-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

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-26 Thread REMY Julien
-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

[Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
Hello, Nagios dont 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? Thanks Using Tomcat but need to do more? Need to support web

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Thomas Sluyter
Hey Remy, 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? The script probably contains a call to ps -p which requires a number of PIDs. My

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
fi fi return 1 } -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Thomas Sluyter Envoyé : vendredi 23 juin 2006 11:11 À : nagios-users@lists.sourceforge.net Objet : Re: [Nagios-users] nagios list of process IDs must follow -p

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Thomas Sluyter
On 23 Jun, 2006, at 11:36, REMY Julien wrote: In /etc/init.d/nagios : status_nagios () { if test ! -f $NagiosRunFile; then echo No lock file found in $NagiosRunFile return 1 ... and so on... I know what /etc/init.d/nagios looks like, thank you :) My

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
la part de Thomas Sluyter Envoyé : vendredi 23 juin 2006 11:43 À : nagios-users@lists.sourceforge.net Objet : Re: [Nagios-users] nagios list of process IDs must follow -p On 23 Jun, 2006, at 11:36, REMY Julien wrote: In /etc/init.d/nagios : status_nagios () { if test ! -f $NagiosRunFile

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Thomas Sluyter
On 23 Jun, 2006, at 12:13, REMY Julien wrote: I replaced in /etc/init.d/nagios : if ps -p $NagiosPID; by [ if ps -f $NagiosPID == ] || (echo Something went wrong reading the Nagios PID from $NagiosRunFile); Is that which is necessary that I make? No... Either I wasn't very clear, or

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Thomas Sluyter
Just to be clear, I made a booboo in my e-mail from 11:42: On 23 Jun, 2006, at 11:43, Thomas Sluyter wrote: [ -f $NagiosPID == ] || (echo Something went wrong reading the Nagios PID from $NagiosRunFile); Should be: [ $NagiosPID == ] Something went wrong reading the Nagios PID from

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Marc Powell Envoyé : vendredi 23 juin 2006 14:27 À : nagios-users@lists.sourceforge.net Objet : Re: [Nagios-users] nagios list of process IDs must follow -p -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Deborah Martin
and have you followed the advice set out below ? -Original Message- From: REMY Julien [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 14:20 To: Marc Powell; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios list of process IDs must follow -p It's OK for the starting

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
message repeated 2 times -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Marc Powell Envoyé : vendredi 23 juin 2006 14:27 À : nagios-users@lists.sourceforge.net Objet : Re: [Nagios-users] nagios list of process IDs must follow -p -Original Message

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Thomas Sluyter
On 23 Jun, 2006, at 14:59, REMY Julien wrote: In my /etc/init.d/nagios : NagiosPID=`head -n 1 $NagiosRun` [ -f $NagiosPID == ] (echo Something went wrong reading the Nagios PID from $NagiosRunFile; exit 1) Take out that -f. That was a mistake of mine and doesn't belong there. It

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
:[EMAIL PROTECTED] De la part de Thomas Sluyter Envoyé : vendredi 23 juin 2006 16:09 À : nagios-users@lists.sourceforge.net Objet : Re: [Nagios-users] nagios list of process IDs must follow -p On 23 Jun, 2006, at 14:59, REMY Julien wrote: In my /etc/init.d/nagios : NagiosPID=`head -n 1

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread REMY Julien
Yes I follow all but it's the same problem -Message d'origine- De : Deborah Martin [mailto:[EMAIL PROTECTED] Envoyé : vendredi 23 juin 2006 15:18 À : REMY Julien; Marc Powell; nagios-users@lists.sourceforge.net Objet : RE: [Nagios-users] nagios list of process IDs must follow -p

Re: [Nagios-users] nagios list of process IDs must follow -p

2006-06-23 Thread Deborah Martin
[mailto:[EMAIL PROTECTED] Sent: 23 June 2006 15:40 To: Deborah Martin; nagios-users@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:[EMAIL PROTECTED] Envoyé