Nagios.lock file issue...

ravishankar.gundlapali at wipro.com ravishankar.gundlapali at wipro.com
Sun Apr 18 12:01:20 CEST 2010


Also some times when I restart Nagios ,I get the below error

 

nagios did not exit in a timely manner.

 

Please someone help me on this….

 

Thanks & Regards,

Ravi G

From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) 
Sent: Saturday, April 17, 2010 7:49 PM
To: Nagios Users List
Cc: 'zarrelli at linux.it'
Subject: RE: [Nagios-users] Nagios.lock file issue...

 

Hi,

 

Please see the below output, request you to suggest me what changes I need to do?

 

[root at LTCPNAGPRD01 var]# ls -la

total 25008

drwxrwxr-x 5 nagios nagios     4096 2010-04-17 15:19 .

drwxr-xr-x 8 root   root       4096 2010-03-30 05:04 ..

drwxrwxrwx 2 nagios nagios    16384 2010-04-17 00:00 archives

-rw-r--r-- 1 nagios nagios        6 2010-04-17 14:49 nagios.lock

-rw-rw-r-- 1 nagios nagios 19180879 2010-04-17 15:18 nagios.log

-rw-r--r-- 1 nagios nagios  1438215 2010-04-17 14:49 objects.cache

-rw------- 1 nagios nagios  2457993 2010-04-17 15:15 retention.dat

drwxrwsr-x 2 nagios nagcmd     4096 2010-04-17 14:49 rw

drwxr-xr-x 3 root   root       4096 2009-08-04 16:09 spool

-rw-rw-r-- 1 nagios nagios  2449262 2010-04-17 15:19 status.dat

 

 

Thanks & Regards,

Ravi G

From: Giorgio Zarrelli [mailto:zarrelli at linux.it] 
Sent: Saturday, April 17, 2010 7:40 PM
To: Nagios Users List
Cc: <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] Nagios.lock file issue...

 

Check the ownership and permissions on Nagios lock file

Ciao,

 

Giorgio


Il giorno 17/apr/2010, alle ore 16.02, <ravishankar.gundlapali at wipro.com> ha scritto:

	Hi,

	 I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1.

	 I am having a tuff time getting my nagios box running. Even after doing the configuration changes they are not getting reflected.

	After doing the changes ,when I run the below command it is not showing any errors or warnings.

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

	But after this when I run the command service nagios restart,I get the following output.

	[root at LTCPNAGPRD01 objects]# service nagios restart

	Running configuration check...done.

	Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock

	Starting nagios: done.

	I have checked whether the nagios.lock file is present or not,please see below output.

	[root at LTCPNAGPRD01 ~]# cd /usr/local/nagios/var/

	[root at LTCPNAGPRD01 var]# ls

	archives  nagios.lock  nagios.log  objects.cache  retention.dat  rw  spool  status.dat

	 

	Please someone help me on this..

	Thanks,

	Ravi G

	 

	------------------------------------------------------------------------------
	Download Intel® Parallel Studio Eval
	Try the new software tools for yourself. Speed compiling, find bugs
	proactively, and fine-tune applications for parallel performance.
	See why Intel Parallel Studio got high marks during beta.
	http://p.sf.net/sfu/intel-sw-dev

	_______________________________________________
	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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100418/d8953f95/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
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