Installation of new nagios error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Installation of new nagios error

Post by netaura »

Hi,
I'm trying to install nagios to monitor nodes in our new data center, and this is the error I get
Running './D-chkconfigalldaemons'...
Failed to execute operation: No such file or directory
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: './D-chkconfigalldaemons'

Can someone please tell me what is wrong? When I try to run the failed script, it tells me;
Failed to execute operation: No such file or directory.
Thanks!
Last edited by dwhitfield on Wed Dec 14, 2016 1:14 pm, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Installation of new nagios error

Post by dwhitfield »

What version of XI are you installing? Is it an offline install? What is the OS on which you are installing? You can find that out with cat /etc/*-release. Thanks!
Last edited by dwhitfield on Fri Nov 18, 2016 11:39 am, edited 1 time in total.
Reason: question mark FTW
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Re: Installation of new nagios error

Post by netaura »

I am doing the manual documentation install, so I believe I should be installing the latest version of nagios.
cat /etc/*-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.3"
PRETTY_NAME="Red Hat Enterprise Linux"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.3"
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Red Hat Enterprise Linux Server release 7.3 (Maipo)

We are using redhat 7.3.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Installation of new nagios error

Post by dwhitfield »

There is an issue with 7.3, which leaves us with a few options.

1. 5.3.3 will be out shortly with the fix, *potentially* as early as Monday.
2. Install 5.3.1 (this is not tested, and has bugs that have been fixed, so I wouldn't really advise going this direction, but if you just want something up and running, it's an option). You can download from https://assets.nagios.com/downloads/nag ... 3.1.tar.gz
3. You can send me your install.log, and I can take a look. Be aware though that our days end at 2pm US Central on Fridays, so you have ~2.5 hours to get me the install.log if you want me to take a look today. Of course, community members might post throughout the weekend.
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Re: Installation of new nagios error

Post by netaura »

I did a downgrade of our redhat release to 7.2 and also a downgrade to kernel kernel-3.10.0-327.36.3.el7.x86_64, and it was still same issue.
I have Included the install.log for better understanding.
Thanks!
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Installation of new nagios error

Post by dwhitfield »

Can you post of the output of ls -la /tmp/nagiosxi? I don't see the error in first post in install.log.

Also, can you post the output of echo $0
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Re: Installation of new nagios error

Post by netaura »

Code: Select all

drwxr-xr-x   9 root root   4096 Nov 18 18:39 .
drwxrwxrwt. 31 root root  40960 Nov 18 19:10 ..
-rwxr-xr-x   1 root root   7377 Oct 19 17:26 0-repos
-rwxr-xr-x   1 root root    515 Oct 19 17:26 10-phplimits
-rwxr-xr-x   1 root root    492 Oct 19 17:26 11-sourceguardian
-rwxr-xr-x   1 root root    532 Oct 19 17:26 12-mrtg
-rwxr-xr-x   1 root root    225 Oct 19 17:26 13-cacti
-rwxr-xr-x   1 root root    591 Oct 19 17:26 14-timezone
-rwxr-xr-x   1 root root   7293 Oct 19 17:26 1-prereqs
-rwxr-xr-x   1 root root   1540 Oct 19 17:26 2-usersgroups
-rwxr-xr-x   1 root root    763 Oct 19 17:26 3-dbservers
-rwxr-xr-x   1 root root    396 Oct 19 17:26 4-services
-rwxr-xr-x   1 root root    377 Oct 19 17:26 5-sudoers
-rwxr-xr-x   1 root root   1472 Oct 19 17:26 6-firewall
-rwxr-xr-x   1 root root    210 Oct 19 17:26 7-sendmail
-rwxr-xr-x   1 root root    438 Oct 19 17:26 8-selinux
-rwxr-xr-x   1 root root    547 Oct 19 17:26 9-dbbackups
-rwxr-xr-x   1 root root    506 Oct 19 17:26 A-subcomponents
-rwxr-xr-x   1 root root   5101 Oct 19 17:26 B-installxi
-rwxr-xr-x   1 root root    582 Oct 19 17:26 C-cronjobs
-rw-r--r--   1 root root 124091 Oct 19 17:26 CHANGELOG.txt
-rw-r--r--   1 root root    407 Oct 19 17:26 components.txt
-rw-r--r--   1 root root     70 Oct 19 17:26 cpan
-rw-r--r--   1 root root     44 Oct 19 17:26 dashlets.txt
-rwxr-xr-x   1 root root   1097 Oct 19 17:26 D-chkconfigalldaemons
-rwxr-xr-x   1 root root    228 Oct 19 17:26 debianmods
-rwxr-xr-x   1 root root   4377 Oct 19 17:26 E-importnagiosql
-rw-r--r--   1 root root      2 Nov 18 18:39 .fail-22721
-rwxr-xr-x   1 root root    225 Oct 19 17:26 fix-nagiosadmin
-rwxr-xr-x   1 root root    305 Oct 19 17:26 F-startdaemons
-rwxr-xr-x   1 root root   4663 Oct 19 17:26 fullinstall
-rwxr-xr-x   1 root root   2019 Oct 19 17:26 functions.sh
-rwxr-xr-x   1 root root   1832 Oct 19 17:26 get-os-info
-rwxr-xr-x   1 root root    146 Oct 19 17:26 get-version
-rwxr-xr-x   1 root root    933 Oct 19 17:26 init-auditlog
-rwxr-xr-x   1 root root   3496 Oct 19 17:26 init-mysql
-rwxr-xr-x   1 root root   3490 Oct 19 17:26 init.sh
-rwxr-xr-x   1 root root   1087 Oct 19 17:26 init-xidb
-rwxr-xr-x   1 root root    297 Oct 19 17:26 install-2012-prereqs
-rw-r--r--   1 root root      0 Nov 18 18:39 installed.crontabs
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.dbbackups
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.dbservers
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.firewall
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.mrtg
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.mysql
-rw-r--r--   1 root root      0 Nov 18 18:39 installed.nagiosxi
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.phplimits
-rw-r--r--   1 root root      0 Nov 18 18:34 installed.prereqs
-rw-r--r--   1 root root      0 Nov 18 18:34 installed.repos
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.selinux
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.services
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.sourceguardian
-rw-r--r--   1 root root      0 Nov 18 18:38 installed.subcomponents
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.sudoers
-rw-r--r--   1 root root      0 Nov 18 18:35 installed.timezone
-rw-r--r--   1 root root      0 Nov 18 18:34 installed.usersgroups
-rw-r--r--   1 root root      0 Nov 18 18:38 installed.xidb
-rwxr-xr-x   1 root root   2994 Oct 19 17:26 install-html
-rw-r--r--   1 root root 762465 Nov 18 18:39 install.log
-rwxr-xr-x   1 root root    266 Oct 19 17:26 install-nagiosxi-init
-rwxr-xr-x   1 root root    414 Oct 19 17:26 install-pnptemplates
-rwxr-xr-x   1 root root    954 Oct 19 17:26 install-sourceguardian-extension.sh
-rwxr-xr-x   1 root root    869 Oct 19 17:26 install-sudoers
-rwxr-xr-x   1 root root    646 Oct 19 17:26 install-templates
drwxr-xr-x   2 root root   4096 Oct 19 17:26 licenses
drwxr-xr-x   4 root root   4096 Nov 18 18:35 nagiosxi
-rw-r--r--   1 root root   2968 Oct 19 17:26 nagiosxi-deps-5.3.1-1.noarch.rpm
-rw-r--r--   1 root root   2964 Oct 19 17:26 nagiosxi-deps-el7-5.3.1-1.noarch.rpm
-rw-r--r--   1 root root   2848 Oct 19 17:26 nagiosxi-deps-suse11-5.3.1-1.noarch.rpm
drwxr-xr-x   2 root root   4096 Oct 19 17:26 packages
-rwxr-xr-x   1 root root   6196 Oct 19 17:26 rpminstall
-rwxr-xr-x   1 root root   5138 Oct 19 17:26 rpmupgrade
drwxr-xr-x   2 root root    133 Oct 19 17:26 sourceguardian
drwxr-xr-x  19 root root   4096 Oct 19 17:26 subcomponents
-rwxr-xr-x   1 root root   1585 Oct 19 17:26 susemods
drwxr-xr-x   2 root root     76 Oct 19 17:26 tools
-rwxr-xr-x   1 root root     11 Oct 19 17:26 ubuntumods
-rwxr-xr-x   1 root root    674 Oct 19 17:26 uninstall-crontab-nagios
-rwxr-xr-x   1 root root    701 Oct 19 17:26 uninstall-crontab-root
-rwxr-xr-x   1 root root  28970 Oct 19 17:26 upgrade
-rw-r--r--   1 root root   8980 Oct 19 17:26 verify-prereqs.php
drwxr-xr-x   3 root root     69 Oct 19 17:26 vmsetup
-rw-r--r--   1 root root    711 Oct 19 17:26 wizards.txt
-rw-r--r--   1 root root   6598 Nov 18 18:38 xi-sys.cfg
-rwxr-xr-x   1 root root    610 Oct 19 17:26 xivar
-rwxr-xr-x   1 root root    320 Oct 19 17:26 Z-webroot


That's the output of ls-la /tmp/nagiosxi.

Code: Select all

echo $0
-bash
Last edited by dwhitfield on Fri Nov 18, 2016 2:17 pm, edited 1 time in total.
Reason: code blocks FTW
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Installation of new nagios error

Post by dwhitfield »

Can you change the -e in ./D-chkconfigalldaemons to -x and then rerun that script as ./D-chkconfigalldaemons > output.txt 2>&1. Can you post the output of output.txt? Thanks!
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Re: Installation of new nagios error

Post by netaura »

Attached is the output.
Thanks!
You do not have the required permissions to view the files attached to this post.
netaura
Posts: 31
Joined: Tue Feb 16, 2016 5:52 pm

Re: Installation of new nagios error

Post by netaura »

I have successfully installed nagios. The change of -e to -x in the ./D-chkconfigalldaemons seems to have fixed the error.
Thanks!
Locked