Nagios XI install error - The script that failed was: './3-d
-
RedandBlack63
- Posts: 11
- Joined: Mon Mar 11, 2019 11:25 am
Nagios XI install error - The script that failed was: './3-d
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.
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.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI install error - The script that failed was: '.
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:
Are you using a proxy? Can you run "yum update" successfully? Can you show us the repos that you have on this system?
Code: Select all
touch installed.mysqlCode: Select all
echo "MySQL initialized OK"I can't imagine the "touch installed.mysql" command failed... Can you try running this command manually, then rerunning the "./fullinstall" script?MySQL initialized OK
Failed to execute operation: No such file or directory
Are you using a proxy? Can you run "yum update" successfully? Can you show us the repos that you have on this system?
Code: Select all
yum repolist -vBe sure to check out our Knowledgebase for helpful articles and solutions!
-
RedandBlack63
- Posts: 11
- Joined: Mon Mar 11, 2019 11:25 am
Re: Nagios XI install error - The script that failed was: '.
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!
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!
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI install error - The script that failed was: '.
Can you post the output of the following?
Code: Select all
ls -al /etc/services-
RedandBlack63
- Posts: 11
- Joined: Mon Mar 11, 2019 11:25 am
Re: Nagios XI install error - The script that failed was: '.
[root@btsrheltest1 nagiosxi]# ls -al /etc/services
-rw-r--r--. 1 root root 670293 Jun 7 2013 /etc/services
-rw-r--r--. 1 root root 670293 Jun 7 2013 /etc/services
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI install error - The script that failed was: '.
Lets see if you can run the following
If that works without error, lets try running the ./fullinstall again
Code: Select all
cd /tmp/nagiosxi
cat nagiosxi/services >> /etc/services
touch installed.services-
RedandBlack63
- Posts: 11
- Joined: Mon Mar 11, 2019 11:25 am
Re: Nagios XI install error - The script that failed was: '.
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI install error - The script that failed was: '.
let's touch the file in the correct location
And then try ./fullinstall again
Code: Select all
touch /root/nagiosxi/installed.services-
RedandBlack63
- Posts: 11
- Joined: Mon Mar 11, 2019 11:25 am
Re: Nagios XI install error - The script that failed was: '.
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI install error - The script that failed was: '.
One more thing, lets
And then try ./fullinstall again
Code: Select all
touch /root/nagiosxi/installed.dbservers