Login

Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

[solved] Nagios daemon is not running, cannot ....
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: [solved] Nagios daemon is not running, cannot ....
#35
[solved] Nagios daemon is not running, cannot .... 2 Years, 2 Months ago Karma: 0
Hi, NagiosQL

I just installed NagiosQL few days ago. Everything went fine during installation, no errors at all.

I have imported my nagios config files and alle files are "up to date". However, when I go into Tools > Nagios Control and hit the "Restart Nagios" button (after checking config files) I get the following error message:

Nagios daemon is not running, cannot send restart command!

Nagios is running, and I can't see any error messages in any logs. The external_commands in nagios.cfg is set to 1

Hope you can help

/terje
terje_rt
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/10/27 11:05 By martin.
The topic has been locked.
 
#36
Re:Nagios daemon is not running, cannot send resta 2 Years, 2 Months ago Karma: 0
Just found out..
NagiosQL is looking for /var/run/nagios/nagios.pid file.. However, nagios is using /usr/local/nagios/var/nagios.lock file..

Just make a link from /var/run/nagios.pid which points to /usr/local/nagios/var/nagios.lock,,,

/terje_rt
terje_rt
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#43
Re:Nagios daemon is not running, cannot send resta 2 Years, 2 Months ago Karma: 2
Hi,

that's why you can set the lock or pidfile in the settings. The files is in some distributions a .pid and in others .lock.

Cheers,

Rouven
rouven
NagiosQL Developer
Posts: 255
graphgraph
User Offline Click here to see the profile of this user
47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The topic has been locked.
 
#1087
Re:Nagios daemon is not running, cannot send resta 11 Months, 4 Weeks ago Karma: 0
Where can this be changed? I don't see any place to change where to find the pid file under the nagiosql admin->Administration->Settings
stainforth
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#1088
Re:Nagios daemon is not running, cannot send resta 11 Months, 4 Weeks ago Karma: 0
Never mind...found it under Administration->Domains->edit
stainforth
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#1216
Re:Nagios daemon is not running, cannot send restart 9 Months, 1 Week ago Karma: 0
Hello everyone,

I have the similar problem. I installed the nagiosql from the ZIP file. Followed the instructions and everything seems to work just fine...
Except the "Restart Nagios" button. I have the same error message:
"Nagios daemon is not running, cannot send restart command!"

The nagios is running fine. I tried to follow terje_rt's advise but I have the PID file. I have no .lock file. The path to the PID file is correct however I still get the error message.

Any ideas ?

Thanks.
vovan190181
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 123