Search found 26 matches
- Mon Sep 23, 2013 4:56 pm
- Forum: Open Source Nagios Projects
- Topic: Upgrading from 3.5.1 to 4.0.0
- Replies: 42
- Views: 56800
Re: Upgrading from 3.5.1 to 4.0.0
The line you need to most likely change is: # Source function library. . /etc/rc.d/init.d/functions You will have to hunt down the path to the 'functions', or look for a different init script. What happened to your old init script? Is it still in one of your rc folders, or did make install-init ove...
- Mon Sep 23, 2013 4:41 pm
- Forum: Open Source Nagios Projects
- Topic: Upgrading from 3.5.1 to 4.0.0
- Replies: 42
- Views: 56800
Re: Upgrading from 3.5.1 to 4.0.0
The init script probably needs to be edited. Could you post the contents of /etc/init.d/nagios in code wraps? #!/bin/sh # Nagios Startup script for the Nagios monitoring daemon # # chkconfig: - 85 15 # description: Nagios is a service monitoring system # processname: nagios # config: /etc/nagios/na...
- Mon Sep 23, 2013 4:32 pm
- Forum: Open Source Nagios Projects
- Topic: Upgrading from 3.5.1 to 4.0.0
- Replies: 42
- Views: 56800
Re: Upgrading from 3.5.1 to 4.0.0
abrist wrote:What are the permissions:Code: Select all
ls -la /etc/rc.d/init.d/functions
Code: Select all
ls: cannot access /etc/rc.d/init.d/functions: No such file or directory
init.d is in /etc/
- Mon Sep 23, 2013 4:28 pm
- Forum: Open Source Nagios Projects
- Topic: Upgrading from 3.5.1 to 4.0.0
- Replies: 42
- Views: 56800
Re: Upgrading from 3.5.1 to 4.0.0
What ./configure command did you run before running the make all? did you also run ? make install This is my ./configure ./configure --with-nagios-group=nagios --with-command-group=nagios --with-mail=/usr/sbin/mail and yes I ran the make install after the make install- no errors I also ran make ins...
- Mon Sep 23, 2013 4:06 pm
- Forum: Open Source Nagios Projects
- Topic: Upgrading from 3.5.1 to 4.0.0
- Replies: 42
- Views: 56800
Upgrading from 3.5.1 to 4.0.0
I tried to upgrade from Core 3.5.1 to 4.0.0 and I found errors when running the make all command here is the output: root@nagios downloads/nagios# make all cd ./base && make make[1]: Entering directory `/root/downloads/nagios/base' gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios....
- Tue Aug 13, 2013 12:35 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios service will not start after reboot
- Replies: 18
- Views: 8841
Re: Nagios service will not start after reboot
I guess so. which I knew the exact step that fixed it thoughabrist wrote:Great! Is this thread lock-ready?
- Tue Aug 13, 2013 12:23 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios service will not start after reboot
- Replies: 18
- Views: 8841
Re: Nagios service will not start after reboot
Okay, now the service is starting on reboot...
Not sure which of the steps fixed the issue, but this time when I ran ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios and rebooted, the service started up.
Not sure which of the steps fixed the issue, but this time when I ran ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios and rebooted, the service started up.
- Tue Aug 13, 2013 12:12 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios service will not start after reboot
- Replies: 18
- Views: 8841
Re: Nagios service will not start after reboot
Does the following command work? If not, what errors do you get? update-rc.d -f nagios defaults 99 EDIT: You might also need: ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios That first command gives me a whole slew of errors update-rc.d: using dependency based boot sequencing insserv: warning: script...
- Tue Aug 13, 2013 11:17 am
- Forum: Open Source Nagios Projects
- Topic: Nagios service will not start after reboot
- Replies: 18
- Views: 8841
Re: Nagios service will not start after reboot
What is the output of: find /etc/rc?.d/| grep nagios /etc/rc0.d/K01nagios /etc/rc1.d/K01nagios /etc/rc2.d/K01nagios /etc/rc3.d/S99nagios_1 /etc/rc3.d/S99nagios /etc/rc3.d/S99nagios_2 /etc/rc4.d/S99nagios_1 /etc/rc4.d/S99nagios /etc/rc4.d/S99nagios_2 /etc/rc5.d/S99nagios_1 /etc/rc5.d/S99nagios /etc/...
- Tue Aug 13, 2013 11:00 am
- Forum: Open Source Nagios Projects
- Topic: Nagios service will not start after reboot
- Replies: 18
- Views: 8841
Re: Nagios service will not start after reboot
If you are running 9.x or greater you should be able to do the following: update-rc.d dhcp3-server enable Otherwise we will need to go abrist's rout, or install the chkconfig package which will automatically symlink and do this for you. These are the results I got from this command: update-rc.d: us...