The script that failed was ./3-dbservers
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
The script that failed was ./3-dbservers
Hello,
I'm running an install of an older version of Nagios on a new server, v 5.2.0 to be exact, so that I can transfer another installation to it then upgrade, which is not possible on the current server. However, I am running into an error that's preventing me from installing that is as follows: 'The script that failed was ./3-dbservers'.
I am not sure what the cause is, but I'm attaching a screenshot and can pm the install log as well.
I'm running an install of an older version of Nagios on a new server, v 5.2.0 to be exact, so that I can transfer another installation to it then upgrade, which is not possible on the current server. However, I am running into an error that's preventing me from installing that is as follows: 'The script that failed was ./3-dbservers'.
I am not sure what the cause is, but I'm attaching a screenshot and can pm the install log as well.
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: The script that failed was ./3-dbservers
Hello, @andrewatmacys. Yes, could you PM the install log to me? Thank you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was ./3-dbservers
Sure, PMing it now.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: The script that failed was ./3-dbservers
@andrewatmacys, I saw this error at the beginning of the installation.
Looks like it fails to start mariadb. Can you run these commands and show me the output?
This could be related to problems with RedHat activation or activation of the subscription manager.ERROR: unable to read system id.
Looks like it fails to start mariadb. Can you run these commands and show me the output?
Also, please upload:/bin/systemctl start mariadb.service
/bin/systemctl status mariadb.service
/var/log/mariadb/mariadb.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was ./3-dbservers
Sorry for the late reply, here's the output, and I will PM the log.
You do not have the required permissions to view the files attached to this post.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was ./3-dbservers
As it turns out, the mariadb.log is empty. I'm not sure why that is, I guess because it didn't ever start?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: The script that failed was ./3-dbservers
@andrewatmacys, This error is usually caused by the install of MariaDB or MYSQL in the past and some files being leftover in the directory. Try running the following commands and let me know if MariaDB starts:
mv /var/lib/mysql/* /tmp/
systemctl start mariadb
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was ./3-dbservers
I got a no such file or directory error. There shouldn't be any issues with prior installs since this was a new install, albeit an older version then the latest.
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: The script that failed was ./3-dbservers
@andrewatmacys, I can try to replicate the installation on a test server in the lab. What kind of OS is installed on this server?
Is selinux enabled?
Is selinux enabled?
What is the output of?sestatus
You may try to remove the mariadb and rerun the fullinstall script:rpm -q mariadb-server
yum list installed | grep maria
Can you also show me the list of installed repositories:yum remove mariadb mariadb-server
mv /var/lib/mysql /var/lib/mysql_old_backup
yum repolist
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was ./3-dbservers
sestatus returns disabled. The server is running RHEL 7.6.
I am attaching the outputs of the other commands, deleting and reinstalling did not work.
This was a fresh install of version 5.4.0, so there should be nothing else inhibiting the install from previous versions.
I am attaching the outputs of the other commands, deleting and reinstalling did not work.
This was a fresh install of version 5.4.0, so there should be nothing else inhibiting the install from previous versions.
You do not have the required permissions to view the files attached to this post.