Page 1 of 1
Subcomponent 'ndoutils' installation failed
Posted: Thu Jun 01, 2017 4:46 pm
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
Re: Subcomponent 'ndoutils' installation failed
Posted: Thu Jun 01, 2017 4:56 pm
by avandemore
What OS and OS version is this on?
Re: Subcomponent 'ndoutils' installation failed
Posted: Fri Jun 02, 2017 10:02 am
by cciaccio
CentOS release 6.9 (Final)
Re: Subcomponent 'ndoutils' installation failed
Posted: Fri Jun 02, 2017 10:39 am
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?
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:
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?
Re: Subcomponent 'ndoutils' installation failed
Posted: Fri Jun 02, 2017 11:32 am
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:
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.
Re: Subcomponent 'ndoutils' installation failed
Posted: Fri Jun 02, 2017 11:46 am
by dwhitfield
Ticket received, closing thread.