Page 2 of 2
Re: Nagios installation question
Posted: Fri Apr 17, 2015 11:30 am
by jdalrymple
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.
Re: Nagios installation question
Posted: Fri Apr 17, 2015 11:50 am
by jdalrymple
Installing from ~ worked fine...
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!
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.
Re: Nagios installation question
Posted: Fri Apr 17, 2015 12:17 pm
by jvanmeter
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.
Re: Nagios installation question
Posted: Fri Apr 17, 2015 12:34 pm
by jvanmeter
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
Re: Nagios installation question
Posted: Fri Apr 17, 2015 12:43 pm
by lmiltchev
Can you show us the whole "/etc/sysctl.conf" file?
Is there someway I can post sysctl.conf file to you with out posting it in a public forum
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.
Re: Nagios installation question
Posted: Fri Apr 17, 2015 12:50 pm
by jdalrymple
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
Posted: Fri Apr 17, 2015 1:03 pm
by jvanmeter
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
Re: Nagios installation question
Posted: Fri Apr 17, 2015 1:07 pm
by jdalrymple
Did ndoutils (and the remainder of the install) succeed?