Installation - ./A-subcomponents script failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Installation - ./A-subcomponents script failed

Post by basil1 »

OS: CentOS 6.3 (64-bit) - OpenVZ VPS

Hello there. On this fresh install of CentOS as an OpenVZ VPS, I downloaded the Nagios XI source code package and used the fullinstall script to have it installed. Each time I've tried, however, the installation always fails at the same part..

Code: Select all

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-1.5.1/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

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './A-subcomponents'
Any ideas?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation - ./A-subcomponents script failed

Post by scottwilkerson »

Can you attach the install.log

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Re: Installation - ./A-subcomponents script failed

Post by basil1 »

scottwilkerson wrote:Can you attach the install.log

Thanks
Attached.
You do not have the required permissions to view the files attached to this post.
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Re: Installation - ./A-subcomponents script failed

Post by basil1 »

scottwilkerson wrote:Can you attach the install.log

Thanks
Oops, I don't think it got attached in the last post. Here you go.
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Installation - ./A-subcomponents script failed

Post by yancy »

basil1,

can you run the following and let us know the results

Code: Select all

 sysctl -p 
Regards,

-Yancy
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Re: Installation - ./A-subcomponents script failed

Post by basil1 »

yancy wrote:basil1,

can you run the following and let us know the results

Code: Select all

 sysctl -p 
Regards,

-Yancy
Sure, here you go.

Code: Select all

net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
error: permission denied on key 'kernel.sysrq'
error: permission denied on key 'kernel.core_uses_pid'
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Installation - ./A-subcomponents script failed

Post by mguthrie »

Looks like you could have some custom mods in /etc/security for your kernel parameters. Can you zip up that directory and attach it to this post?
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Re: Installation - ./A-subcomponents script failed

Post by basil1 »

mguthrie wrote:Looks like you could have some custom mods in /etc/security for your kernel parameters. Can you zip up that directory and attach it to this post?
Sure, attached.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Installation - ./A-subcomponents script failed

Post by mguthrie »

My apologies, the file I was going to look at was actually /etc/sysctl.conf.

Try commenting out the following lines in /etc/sysctl.conf

Code: Select all

kernel.sysrq = 0
kernel.core_uses_pid = 1
And then running:

Code: Select all

sysctl -e -p
It it returns without any errors, then you should be able to rerun the installer and have it complete.
basil1
Posts: 9
Joined: Tue Oct 02, 2012 7:33 pm

Re: Installation - ./A-subcomponents script failed

Post by basil1 »

mguthrie wrote:My apologies, the file I was going to look at was actually /etc/sysctl.conf.

Try commenting out the following lines in /etc/sysctl.conf

Code: Select all

kernel.sysrq = 0
kernel.core_uses_pid = 1
And then running:

Code: Select all

sysctl -e -p
It it returns without any errors, then you should be able to rerun the installer and have it complete.
New problem this time, with gcc. Install.log is attached.
You do not have the required permissions to view the files attached to this post.
Locked