error when starting nagios
Syed Zulhilmi Tuan Sharif
zulhilmi at fibrecomm.net.my
Thu Jul 24 09:40:42 CEST 2003
try to create the nagios.lock file by using touch command
look what i have done when im facing this problems
[root at info etc]# /etc/rc.d/init.d/nagios status
No lock file found in /usr/local/nagios//var/nagios.lock
[root at info etc]# cd ..
[root at info nagios]# ls
bin etc include lib man sbin share var
[root at info nagios]# cd var/
[root at info var]# ls
archives rw
[root at info var]# touch nagios.lock
[root at info var]# ls
archives nagios.lock rw
[root at info var]# /etc/rc.d/init.d/nagios status
ps: error: List of process IDs must follow -p.
usage: ps -[Unix98 options]
ps [BSD-style options]
ps --[GNU-style long options]
ps --help for a command summary
[root at info var]# /etc/rc.d/init.d/nagios start
Starting network monitor: nagios
PID TTY TIME CMD
12955 ? 00:00:00 nagios
[root at info var]#
-----Original Message-----
From: qwert [mailto:anthony at btuniverse.com]
Sent: Thursday, 24 July 2003 3:09 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: error when starting nagios
I get the same error. Are you using FreeBSD? i also get this error
when trying to start the nagios daemon:
bash-2.05b# /usr/local/etc/rc.d/nagios.sh start cgi.cfg-sample Starting
network monitor: nagios No lock file found in
/usr/local/nagios/var/nagios.lock
I can not find the lock file
Have you fixed your issue?
bheng qute wrote:
> hi,
>
> i received this error when i run nagios..
>
> Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for
> writing
> Error: Could not create external command file
> '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (17) -> File
> exists. If this file already exists and you are sure that another copy
> of Nagios is not running, you should delete this file.
> Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for
writing
> Bailing out due to errors encountered while trying to open the external
> command file for reading... (PID=1664)
>
> i already treid to delete the nagios.log but still received that
> error?
> anybody can help? please... thanks.
>
> - bianx
>
>
> ----------------------------------------------------------------------
> --
> Do you Yahoo!?
> SBC Yahoo! DSL
>
<http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/s
bc/>
> - Now only $29.95 per month!
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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 sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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 sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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