Page 1 of 2
Nagios XI install error - The script that failed was: './3-d
Posted: Mon Mar 25, 2019 5:18 pm
by RedandBlack63
Trying to get an trial version of Nagios XI working so we can evaluate it. Running Redhat 7.6 on VMware. Doing a fresh install on a fresh server. The install ran fine, but the very last message was:
The script that failed was: './3-dbservers'
In my install.log, the last three lines were:
Redirecting to /bin/systemctl restart mariadb.service
MySQL initialized OK
Failed to execute operation: No such file or directory
I go to http://my_server_name/nagiosxi and get a message that I can't reach that site.
How do I troubleshoot this? I attached my install.log.
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 9:01 am
by lmiltchev
This is really weird... The last line in the init-mysql script, which is called from 3-dbservers is:
right after:
The last too lines of the install.log are:
MySQL initialized OK
Failed to execute operation: No such file or directory
I can't imagine the "touch installed.mysql" command failed... Can you try running this command manually, then rerunning the "./fullinstall" script?
Are you using a proxy? Can you run "yum update" successfully? Can you show us the repos that you have on this system?
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 10:16 am
by RedandBlack63
Thank you for your help. I can see the installed.mysql got created at the same time as the other files:
ls -l /root/nagiosxi/installed*
-rw-r--r--. 1 root root 0 Mar 25 14:01 /root/nagiosxi/installed.mysql
-rw-r--r--. 1 root root 0 Mar 25 14:01 /root/nagiosxi/installed.prereqs
-rw-r--r--. 1 root root 0 Mar 25 13:57 /root/nagiosxi/installed.repos
-rw-r--r--. 1 root root 0 Mar 25 14:01 /root/nagiosxi/installed.usersgroups
Tried running fullinstall again. It immediately failed. I've attached the install.log for today only. As well as yum repolist and yum update output. Yes, we use a proxy.
Thank you for your help!
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 10:32 am
by scottwilkerson
Can you post the output of the following?
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 11:39 am
by RedandBlack63
[root@btsrheltest1 nagiosxi]# ls -al /etc/services
-rw-r--r--. 1 root root 670293 Jun 7 2013 /etc/services
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 12:06 pm
by scottwilkerson
Lets see if you can run the following
Code: Select all
cd /tmp/nagiosxi
cat nagiosxi/services >> /etc/services
touch installed.services
If that works without error, lets try running the
./fullinstall again
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 12:30 pm
by RedandBlack63
There is no /tmp/nagiosxi. However, I did do:
cat /root/nagiosxi/nagiosxi/services >> /etc/services
and then touched installed.services at /root/nagiosxi/nagiosxi.
Here's the install.log from running fullinstall just now:
DATE: Tue Mar 26 10:27:59 PDT 2019
DISTRO INFO:
RedHatEnterpriseServer
7.6
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=5.5.11
major=5
minor=5.11
releasedate=2019-02-28
release=5511
Repos already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
Users/groups already configured - skipping.
MySQL already initialized - skipping.
Failed to execute operation: No such file or directory
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 12:33 pm
by scottwilkerson
let's touch the file in the correct location
Code: Select all
touch /root/nagiosxi/installed.services
And then try ./fullinstall again
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 12:53 pm
by RedandBlack63
Okay, did a touch /root/nagiosxi/installed.services
Install failed. I pasted the portion of the install.log below:
DATE: Tue Mar 26 10:51:36 PDT 2019
DISTRO INFO:
RedHatEnterpriseServer
7.6
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=5.5.11
major=5
minor=5.11
releasedate=2019-02-28
release=5511
Repos already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
Users/groups already configured - skipping.
MySQL already initialized - skipping.
Failed to execute operation: No such file or directory
[root@btsrheltest1 nagiosxi]#
Thank you for your help.
Re: Nagios XI install error - The script that failed was: '.
Posted: Tue Mar 26, 2019 12:58 pm
by scottwilkerson
One more thing, lets
Code: Select all
touch /root/nagiosxi/installed.dbservers
And then try ./fullinstall again