Hi,
I'm installing version 5.4.10 . We currently have this version in PRD and I need to test upgrade process.
The install fails with following message
Running './D-chkconfigalldaemons'...
nagiosxi.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig nagiosxi on
nagios.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig nagios on
npcd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig npcd on
ndo2db.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig ndo2db on
Failed to execute operation: Cannot send after transport endpoint shutdown
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.
I 'm attaching installation log
Please help
Regards
Genna
Installation fails with "chkconfig ndo2db on" error
Installation fails with "chkconfig ndo2db on" error
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Installation fails with "chkconfig ndo2db on" error
Hi Genna,
There are a few SQL errors in that log, let's try to run the database repair script, and if successful, run the upgrade once more.
If not, please send the new install log along with the system profile for us to review. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
There are a few SQL errors in that log, let's try to run the database repair script, and if successful, run the upgrade once more.
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installation fails with "chkconfig ndo2db on" error
Hi Benjamin
Thanks for your response. I think I did not explain myself properly. When I said I wanted to test upgrade I was trying to prevent discussion on why I'm installing such an old version.
The problem I'm having is with the brand new installation. I'm running ./fullinstal in offline mode
On an off chance that repair script would fix my issue I have run it and then tried to run ./fullinstall and ./update again. Neither worked - with message nothing to do. Yet I can see that install is not completed - all config files in /usr/local/nagios/var directory are missing.
Thanks
Thanks for your response. I think I did not explain myself properly. When I said I wanted to test upgrade I was trying to prevent discussion on why I'm installing such an old version.
The problem I'm having is with the brand new installation. I'm running ./fullinstal in offline mode
On an off chance that repair script would fix my issue I have run it and then tried to run ./fullinstall and ./update again. Neither worked - with message nothing to do. Yet I can see that install is not completed - all config files in /usr/local/nagios/var directory are missing.
Thanks
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Installation fails with "chkconfig ndo2db on" error
Hi genna,
Okay, that makes sense. It's unable to configure the services, and failing in that part of the installation ( see D-chkconfigalldaemons ). What operating system are you installing this on to?
--Benjamin
Okay, that makes sense. It's unable to configure the services, and failing in that part of the installation ( see D-chkconfigalldaemons ). What operating system are you installing this on to?
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installation fails with "chkconfig ndo2db on" error
Hi Benjamin
I'm running RHEL:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
I'm running RHEL:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Installation fails with "chkconfig ndo2db on" error
Hi @genna,
Okay, thanks for letting me know. The old install used chconfig to enable services, and this gets re-directed to systemctl. Please run the following commands and post any error ouptut so we can review why they are not getting enabled.
It could be ndo2db failing or the next service which is ntpd, please run the following as well.
--Benjaminin
Okay, thanks for letting me know. The old install used chconfig to enable services, and this gets re-directed to systemctl. Please run the following commands and post any error ouptut so we can review why they are not getting enabled.
Code: Select all
systemctl enable ndo2db
systemctl status ndo2dbCode: Select all
systemctl enable ntpd
systemctl status ntpdAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!