LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2003, 01:45 AM   #1
db_db
LQ Newbie
 
Registered: Oct 2003
Location: Yokohama City
Distribution: RedHatLinux 9
Posts: 2

Rep: Reputation: 0
Unhappy About Nagios software...


Hello, I'm first visiting here. the first of all, my English is poor.
so please don't be angry in me when I said bad word -_-;;

I'm from Japan , 19 years old .

I have a question . I wanted use network traffic software .
then I found that program "Nagios" , I installed it to my RH9 .

already completed that editing some config files .
I used config file check command , but I couldn't find error .
it command was "nagios -v /etc/nagios/nagios.cfg"

so I did start the Nagios program . "./nagios start"
it a moment . I saw error message on the screen .

Error: Cannot open main configuration file '/etc/nagios/start' for
reading! Nagios 1.1 starting... (PID=3758)
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=3758)

what is that error mean? how can I do ?
please help me
 
Old 10-06-2003, 02:06 AM   #2
td_miles
Member
 
Registered: Sep 2003
Location: Australia
Distribution: RedHat
Posts: 51

Rep: Reputation: 15
the command syntax to start nagios is:

/usr/local/nagios/bin/nagios <main_config_file>

so when you specified "./nagios start" it tried to find the config file called "start" and hence the error "cannot open config file '/etc/nagios/start'

Have a read of the doc at

http://nagios.sourceforge.net/docs/1_0/starting.html

which details how to start nagios. I would suggest you try "./nagios nagios.cfg" and see if it does any better.

I haven't played with nagios for a while now, but from memory there was a fair bit of initial config required to get it going, so make sure you read the doc on that and do what it says as well.
 
Old 10-06-2003, 04:34 AM   #3
db_db
LQ Newbie
 
Registered: Oct 2003
Location: Yokohama City
Distribution: RedHatLinux 9
Posts: 2

Original Poster
Rep: Reputation: 0
Wink Thanks for advice

Thanks I just forget it . I'll try to read documents
 
Old 10-06-2003, 05:32 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
It might be that the 'nagios' user does not have permission to read the config files.

cheers

Jamie...
 
  


Reply


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
Nagios? suresheva31 Linux - General 2 10-13-2004 08:55 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 02:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 09:13 AM
Nagios VincentB Linux - Software 3 09-09-2003 10:20 AM
Nagios markus1982 Linux - Software 1 04-01-2003 07:04 AM


All times are GMT -5. The time now is 12:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration