If you grep/search for the string "forward" you'll see where there were issues seeting sysctl variables.
I'm trying to install from the home directory to see if that recreates your problem... I'm not sure why it would - but the fullinstall script is usually pretty reliable.
Nagios installation question
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios installation question
Installing from ~ worked fine...
Here is the interesting bit from my install.log where we saw problems in your sysctl adjustments.
You can PM myself or any of the other Nagios support folks (our names are green) your sysctl.conf and we'll share it internally only.
Here is the interesting bit from my install.log where we saw problems in your sysctl adjustments.
Code: Select all
NDOUTILS-POST
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51.
** Creating tables for version 2.0.1
Using mysql.sql for installation...
** Updating table nagios_dbversion
Done!
Re: Nagios installation question
in my sysctl.conf file, this are the only lines that are different
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
I made those changes in my sysctl.conf file and ndoutils still fails to install.
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
I made those changes in my sysctl.conf file and ndoutils still fails to install.
Re: Nagios installation question
I also see the following in the install.log file until the title "NODUTILS-POST
error: "invalid argument" setting key "net.ipv4.ip_forward" and so on...but that line was set to the same as yours from your last post
error: "invalid argument" setting key "net.ipv4.ip_forward" and so on...but that line was set to the same as yours from your last post
Re: Nagios installation question
Can you show us the whole "/etc/sysctl.conf" file?
There is no sensitive info in this file, but if you are really concerned, and don't want to post it on a public forum, you can send it via PM to any of us on the Nagios Tech team.Is there someway I can post sysctl.conf file to you with out posting it in a public forum
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios installation question
Something is definitely haywire in your file /etc/sysctl.conf, please PM. You could just post it, it's very unlikely to have private info.
Re: Nagios installation question
OK here is what I found......
my sysctl.conf file is built during the kickstart process. In my sysctl.conf file I noticed that (as a example)
net.ipv4.ip_forward = 0 #set by security
the comment was making Nagiosxi installer fail with a invalid argument. When I remove the #comment from all the lines in sysctl.conf file the installer go passed that part.
Sorry I didn't notice that earlier
my sysctl.conf file is built during the kickstart process. In my sysctl.conf file I noticed that (as a example)
net.ipv4.ip_forward = 0 #set by security
the comment was making Nagiosxi installer fail with a invalid argument. When I remove the #comment from all the lines in sysctl.conf file the installer go passed that part.
Sorry I didn't notice that earlier
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios installation question
Did ndoutils (and the remainder of the install) succeed?