Page 1 of 2

Installation - ./A-subcomponents script failed

Posted: Tue Oct 02, 2012 7:50 pm
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?

Re: Installation - ./A-subcomponents script failed

Posted: Wed Oct 03, 2012 7:47 am
by scottwilkerson
Can you attach the install.log

Thanks

Re: Installation - ./A-subcomponents script failed

Posted: Thu Oct 04, 2012 5:47 pm
by basil1
scottwilkerson wrote:Can you attach the install.log

Thanks
Attached.

Re: Installation - ./A-subcomponents script failed

Posted: Thu Oct 04, 2012 5:48 pm
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.

Re: Installation - ./A-subcomponents script failed

Posted: Fri Oct 05, 2012 10:10 am
by yancy
basil1,

can you run the following and let us know the results

Code: Select all

 sysctl -p 
Regards,

-Yancy

Re: Installation - ./A-subcomponents script failed

Posted: Fri Oct 05, 2012 6:32 pm
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

Re: Installation - ./A-subcomponents script failed

Posted: Mon Oct 08, 2012 9:56 am
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?

Re: Installation - ./A-subcomponents script failed

Posted: Tue Oct 09, 2012 7:30 pm
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.

Re: Installation - ./A-subcomponents script failed

Posted: Wed Oct 10, 2012 9:26 am
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.

Re: Installation - ./A-subcomponents script failed

Posted: Sat Oct 13, 2012 1:47 pm
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.