The script that failed was: './0-repos'
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
The script that failed was: './0-repos'
I'm trying to do a full clean install of Nagios XI on a server and the install is failing at this point. I have followed all the directions, but it doesn't seem to want to continue past this. Looking around, it seems the repos are not set up, but how do I do this so that it can continue the install?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: The script that failed was: './0-repos'
Hello, @andrewatmacys.
What Operating system are you trying to install the Nagios on?
Can you upload the install.log file in the ticket?
Also, please run:
And show us the output.
What Operating system are you trying to install the Nagios on?
Can you upload the install.log file in the ticket?
Also, please run:
Code: Select all
yum repolistAs 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: './0-repos'
Redhat Linux 7.0
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
*Note* Spacewalk repositories are not listed below. You must run this command as root to access Spacewalk repositories.
repolist: 0
Where can I find the install.log?
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
*Note* Spacewalk repositories are not listed below. You must run this command as root to access Spacewalk repositories.
repolist: 0
Where can I find the install.log?
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was: './0-repos'
I found it, I believe.
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: The script that failed was: './0-repos'
So here is the actual error
you need to add the optional channel to install Nagios XI on RHEL
run the following as root
then perform the install again
Code: Select all
Configuring Repos...
package centos-release is not installed
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-7-server-optional-rpmsrun the following as root
Code: Select all
yum-config-manager --enable rhel-7-server-optional-rpms-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was: './0-repos'
Same problem on the outward appearance after running the above command. I am including the new install.log.
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: The script that failed was: './0-repos'
This doesn't look added, did you follow the commands adding your redhat username/password?
If so, can you run the following this time as root
If so, can you run the following this time as root
Code: Select all
sudo yum repolist-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: The script that failed was: './0-repos'
The channel was not added, once added everything went well. Thank you! This can be closed now.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: The script that failed was: './0-repos'
Glad to hear it is resolved.andrewatmacys wrote:The channel was not added, once added everything went well. Thank you! This can be closed now.