Search found 5 matches

by anton.c42
Mon Mar 17, 2014 4:33 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.4 init script
Replies: 10
Views: 7847

Re: Nagios Core 4.0.4 init script

Thanks millisa, I changed the line you suggested as well and now the config test function works.

Thank you all again for your help.
by anton.c42
Mon Mar 17, 2014 4:21 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.4 init script
Replies: 10
Views: 7847

Re: Nagios Core 4.0.4 init script

Thank you so much for your quick replies and all your help. It works perfectly now!

Should I submit a bug report for this?
by anton.c42
Mon Mar 17, 2014 2:38 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.4 init script
Replies: 10
Views: 7847

Re: Nagios Core 4.0.4 init script

Sure, here it is: #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # processname: nagios # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez@lanchile.cl) # # Changelog : # # 1999-07-09 Karl DeBisschop <kdebisschop@infoplease.com> # - setup for autoconf # - add reload f...
by anton.c42
Mon Mar 17, 2014 1:18 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.4 init script
Replies: 10
Views: 7847

Re: Nagios Core 4.0.4 init script

I have used "service nagios start" and "/etc/init.d/nagios start", which are basically the same thing as far as I know. I have also restarted the server, and Nagios is set to start on system startup (using the chkconfig utility). All of these methods give the error "This acc...
by anton.c42
Mon Mar 17, 2014 12:56 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.4 init script
Replies: 10
Views: 7847

Nagios Core 4.0.4 init script

Nagios Core version: 4.0.4 OS: CentOS 6.5 (64-bit) Looking at the changelog for version 4.0.4, I see that the init script was re-written. Previous to this version, I was able to start/stop/restart Nagios without any problem, but now it seems that it is required to have the Nagios user have a login s...