just installed nagios can't start.

Tom Diehl tdiehl at rogueind.com
Mon Jan 12 15:19:02 CET 2004


On Mon, 12 Jan 2004, todd wrote:

> I just install nagios for the first time.  I have read all the
> documentation, but can not find the answer.  
> 
> When i go to start the program i get this:
> 
> Nagios 1.1
> Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
> Last Modified: 06-02-2003
> License: GPL
>  
> Nagios 1.1 starting... (PID=19240)
> Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for
> writing
> 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.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Follow the directions above!!

> Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for
> writing
> Bailing out due to errors encountered while trying to open the external
> command
> file for reading... (PID=19240)
> 
> 
> 
> # does anyone knows what i should do?

See above. The answer is there.

> as far as i know there is not another nagios running and the file they
> talk about is not there.  I am running under root. 

Do a ps auwx | grep nagios to be sure then follow the instructions in the 
error message. :-)

HTH,

Tom


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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