No PID appearing in nagios when starting
Rob Moss
robmossrm at aol.com
Fri Oct 21 18:34:47 CEST 2005
Nelson Serafica wrote:
>---------------------------------------------------
>In nagios.log
>
>[1129910072] Nagios 1.2 starting... (PID=6812)
>[1129910072] Finished daemonizing... (New PID=6813)
>[1129910072] Error: Could not create external command
>file '/usr/local/nagios/var/rw/nagios.cmd' as named
>pipe: (2) -> No su ch file or
>directory. If this file already exists and you are
>sure that another copy of Nagios is not running, you
>should d elete this file.
>[1129910072] Bailing out due to errors encountered
>while trying to open the external command file for
>reading... (PID=6813)
>
>No file existing with this file
>(/nagios/var/rw/nagios.cmd).
>
>Hope you can help me
>
>
It looks like your nagios.cmd file is either missing, or in a different
location to what the nagios.cfg file says. This is important for
sending commands back and forth between the nagios server and nagios CGI
pages.
nagios.cfg thinks that the nagios.cmd file lives in
/usr/local/nagios/var/rw/nagios.cmd
You need to either create the file.. follow the instructions here
http://nagios.sourceforge.net/docs/2_0/commandfile.html
More info:
http://nagios.sourceforge.net/docs/2_0/configmain.html#command_file
Cheeers
rob.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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