Subcomponent 'ndoutils' installation failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cciaccio
Posts: 3
Joined: Thu Jan 14, 2016 10:54 am

Subcomponent 'ndoutils' installation failed

Post by cciaccio »

Getting this error:

No init file to install
make: *** [install-init] Error 1
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

Any idea?

Tried 5.4.5 and 5.4.4

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Subcomponent 'ndoutils' installation failed

Post by avandemore »

What OS and OS version is this on?
Previous Nagios employee
cciaccio
Posts: 3
Joined: Thu Jan 14, 2016 10:54 am

Re: Subcomponent 'ndoutils' installation failed

Post by cciaccio »

CentOS release 6.9 (Final)
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Subcomponent 'ndoutils' installation failed

Post by dwhitfield »

This might be easier/quicker to handle via a ticket (and reference this thread): [email protected]

For clarity, is this an upgrade or a fullinstall? If upgrade, from what version are you upgrading?

If install, what happens if you go into /tmp/nagiosxi/subcomponents/ndoutils and run the following?

Code: Select all

./install
./post-install
Please put any errors in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).

If an upgrade, run the following instead:

Code: Select all

./upgrade
./post-upgrade
Also, in either case, what is the output of sestatus?

Again, in either case, please post your sudoers for review. Lastly, do you have any ACL or other hardening on the machine?
cciaccio
Posts: 3
Joined: Thu Jan 14, 2016 10:54 am

Re: Subcomponent 'ndoutils' installation failed

Post by cciaccio »

It's a fullinstall on new machine.

The issue starts with version 5.4.0. I was able to install 5.3.4 and older.

If I run ./install in /tmp/nagiosxi/subcomponents/ndoutils, it ends with the same error:

Code: Select all

No init file to install
make: *** [install-init] Error 1
./post-install gives this output:

Code: Select all

NDOUTILS-POST
NOTE: If prompted, enter the MySQL root password
./post-install: line 83: cd: .//db: No such file or directory

SElinux disabled and no other hardening on the machine:

Code: Select all

SELinux status:                 disabled
Sudoers:

Code: Select all

User_Alias      NAGIOSXI=nagios
User_Alias              NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/backup_xi.sh *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
I'm sending an email to [email protected].

Thank you.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Subcomponent 'ndoutils' installation failed

Post by dwhitfield »

Ticket received, closing thread.
Locked