newbie stuff?
Marc Powell
mpowell at ena.com
Wed Oct 1 17:53:00 CEST 2003
This could be an indication that you have a problem with your config
files. I would stop nagios (killing any processes by hand that remain),
verify that nagios.lock and rw/nagios.cmd do not exist and run
'/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg' to
verify your config files. If all looks good, start nagios using the init
script. If it fails, look in nagios.log for information. If nothing
indicative of a problem is there, verify that the nagios user can write
to /usr/local/nagios/var/nagios.lock to create the pid file.
Creating the file by hand will cause nagios to fail every time.
--
Marc
> -----Original Message-----
> From: Tex Mitchell [mailto:tex at techmergency.com]
> Sent: Wednesday, October 01, 2003 10:29 AM
> To: nagios-users at lists.sourceforge.net
>
> I'm having a problem with the nagios.lock file. It complains that
it's
> not there. I made the file with nothing in it (As I understand it,
it's
> supposed to be auto-propagated with the current Nagios PID) to see if
that
> would kick-start it, but then it complains that it can't do a "ps -p"
> without a PID. Paul? Anybody?
>
> Thanks,
> Tex Mitchell
> tex at techmergency.com
> http://techmergency.com
>
> TECHMERGENCY, Inc
> 3915 Guadalupe St
> Austin, TX 78751
> ph:(866)NEED-TECH
> fax:(877)708-0970
>
>
> -------------------------------------------------------
> 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