Error while starting nagios

Tom Welsh twelsh at square-box.com
Sun May 4 01:11:11 CEST 2003


Hi Theo,

Remember me, Tom, who used to run the NOC in Keybridge London?

IS your Nagios installation a standard install or did you move the log
file location. The log file is normally in /usr/local/nagios/var/
directory unless you have changed it. You can see where this is set in
your nagios.cfg file under the first section 

log_file=/usr/local/nagios/var/nagios.log

Do you get any errors showing when you verify your configuration by
doing a flight test?

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

Drop me a line and let me know how you get on.

What OS and Version of Nagios are you running?
What have you changed on the nagios server recently and why were you
restarting the nagios process when you spotted this error?

HTH

Tom Welsh
twelsh at square-box.com


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Theo
Hollenberg
Sent: 03 May 2003 17:37
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Error while starting nagios

Hi Michael,

I've checked rights on files and directories but user nagios is owner of
these files with rw rights. This also goes for the nagios group.

Kind regards,

--
Theo Hollenberg
Data Center Manager
Global Switch Amsterdam
Tel	:	+31 (0)20 6666 375
Fax	:	+31 (0)20 6666 395
Mob.	:	+31 (0)6 2219 6915
Email	:	thollenberg at globalswitch.com
--
"I suppose they are vicious rascals, but it scarcely matters what they
are. I'm after what they know." (Gibson-Sterling, The Difference Engine)
--

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael
Hüttig
Sent: vrijdag 2 mei 2003 9:52
To: Theo Hollenberg; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Error while starting nagios

Am Freitag, 2. Mai 2003 08:32 schrieb Theo Hollenberg:
> Ladies/Gents,
>
> This server used to be a happy chappy, gently buzzing away running
> nagios and all of a sudden it stopped. Now, whatever I try I get this:
>
> [root at brain root]# /etc/rc.d/init.d/nagios start
> Starting network monitor: nagios
> NAGIOS CRITICAL - could not find status log:
/var/log/nagios/status.log
> [root at brain root]#
>
> What is happening here, where did I go wrong?
Hi Theo,
mostly you got this problem, if user nagios has no permission to write
the status.log-file. This happened when you start nagios as root, file
would be 
created as root, shutting down nagios and starting with rc-script would
start 
a the defined user of your compiling-options...

-- 
Mit freundlichem Gruß
>
> Kind regards,
>
> Theo Hollenberg
> Data Center Manager
> Global Switch Amsterdam
> Tel. +31 (0)20 6666 375
> Fax. +31 (0)20 6666 395
> Mob. +31 (0)6 2219 6915
> Email. thollenberg at globalswitch.com


Michael Hüttig 



**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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