Problem With Installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Problem With Installation

Post by Gavin »

I'm trying to install the latest build of Nagios XI on a Centos 6.2 (x64) VM. I'm running the installer as root and am unable to get past:

Code: Select all

make[2]: Entering directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-1.5.2/src'
gcc -fPIC -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H  -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared   -lnsl 
make[2]: Leaving directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-1.5.2/src'
gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H  -o sockdebug sockdebug.c io.o utils.o   -lm -lnsl 
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-1.5.2/src'
/usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/ndo2db
NDOUTILS-POST
error: permission denied on key 'kernel.sysrq'
error: permission denied on key 'kernel.core_uses_pid'
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
Here's a dump of '/etc/sysctl.conf'.

Code: Select all

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 131072000

# Controls the maximum size of a message, in bytes
kernel.msgmax = 131072000

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
Do you have any idea why this might be failing? As always, any advice is appreciated :D

Thanks,

Gavin
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Problem With Installation

Post by Gavin »

I commented out that section of the script, and it installed fine. It looks like it did make the changes it was supposed to make too.

Odd - please feel free to close this thread.

Thanks,

Gavin
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem With Installation

Post by abrist »

Did ndoutils install ok after your changes to the script? If not, this will be an issue as XI more or less requires a working install of ndo.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Problem With Installation

Post by Gavin »

Yup, I only commented out the section that was making changes to sysctl.conf. Oddly, it did seem to make the changes successfully, but still threw an error.

Ndoutils is running fine.

Thanks,

Gavin
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem With Installation

Post by abrist »

Great. Enjoy the week. Lockin 'er up.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked