Problems Starting Nagios

Marc Powell marc at ena.com
Wed Jun 13 21:20:10 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo
> Sent: Wednesday, June 13, 2007 1:58 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problems Starting Nagios
> 
> Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg
> files ready to get started but when i try to
> initialize the nagios process i get this error message: "Error: Could not
> create external command file '/usr/local/nagios/var/rw/nagios.cmd'.
> as named pipe: (13) -> Permission denied.  If this file already exists and
> you are sure that another copy of Nagios is not running, you should
> delete this file."
> Any ideas? the nagios.cmd is supposed to be created automatically but that
> isn´t happening.

The error indicates that the user you've configured nagios to run as, usually nagios, does not have permission to write to the directory you've configured to hold the external command file (/usr/local/nagios/var/rw/). You'll need to --

- verify the directory you've specified exists and is owned by the nagios user
- the nagios user can create files within that directory
- if the file exists and isn't owned by the nagios user, stop nagios, remove it, restart nagios.
- if the file exists and nagios isn't running, remove it then restart nagios

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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