Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2011, 04:13 AM   #1
LQ Newbie
Registered: May 2011
Posts: 6

Rep: Reputation: Disabled
Unhappy ould not create external command file '/usr/local/nagios/var/rw/nagios.cmd

No such file or directory.

[1306390564] Finished daemonizing... (New PID=10253)
[1306390564] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file.
[1306390564] Bailing out due to errors encountered while trying to initialize the external command file... (PID=10253)
Old 05-26-2011, 04:27 AM   #2
LQ Newbie
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled

When I restart the services of nagios a window pop-up in the 'nagios.log'saying:

The file:///usr/local/nagios/var/nagios.log was modified by another program.

What do you want to do?

'Overwrite' 'Reload File' 'Ignore' 'Cancel'
Old 09-14-2012, 01:57 PM   #3
LQ Newbie
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
First stop nagios in the normal way:

/etc/init.d/nagios stop

Then check if multiple Nagios processes are running:

ps -fe | grep nagios

if so, kill them softly:

killall nagios

then check if nagios configuration is ok:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
LXer: April Nagios Training Dates Include Advanced Nagios Class LXer Syndicated Linux News 0 03-18-2011 09:30 AM
Nagios, NRPE, cmd permissions problems Rush_898 Linux - Server 2 03-17-2008 07:18 AM
why not etc/ in my /usr/local/nagios? 2007fld Linux - Software 1 05-30-2007 03:02 PM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration