LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2008, 02:15 PM   #1
andybrr
Member
 
Registered: Mar 2006
Posts: 54

Rep: Reputation: 15
Nagios problem when starts


Hi,

I am try to install on my centos 5.1.

I have install the nagios 2.9 according as:
http://wiki.centos.org/HowTos/Nagios...26b19fc0b0ad9b

But when I try to run the comand: /usr/bin/nagios stop it shows me error

[root@fw-global nagios]# /usr/bin/nagios stop

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL

Error: Cannot open main configuration file '/etc/nagios/stop' for reading!
Nagios 2.9 starting... (PID=10486)
Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=10486)


What is wrong?

Thanks,
Anderson
 
Old 04-18-2008, 03:46 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
I believe you want to run "/etc/init.d/nagios start" or "/etc/init.d/nagios stop".
"/usr/bin/nagios" is the main program which is started by "/etc/init.d/nagios".
You may run "/usr/bin/nagios -v" to check your configurations files before you try to start nagios itself.
 
  


Reply



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
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 02:47 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
Nagios problem I_AM Linux - General 1 10-03-2005 03:22 PM
Nagios problem denis Linux - Software 1 04-27-2005 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:37 PM.

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