Page 1 of 1
The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 12:28 pm
by andrewatmacys
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?
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 12:55 pm
by npolovenko
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.
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 1:04 pm
by andrewatmacys
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?
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 1:11 pm
by andrewatmacys
I found it, I believe.
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 1:12 pm
by scottwilkerson
So here is the actual error
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-rpms
you need to add the optional channel to install Nagios XI on RHEL
run the following as root
Code: Select all
yum-config-manager --enable rhel-7-server-optional-rpms
then perform the install again
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 2:06 pm
by andrewatmacys
Same problem on the outward appearance after running the above command. I am including the new install.log.
Re: The script that failed was: './0-repos'
Posted: Wed Jun 06, 2018 2:10 pm
by scottwilkerson
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
Re: The script that failed was: './0-repos'
Posted: Mon Jun 11, 2018 1:46 pm
by andrewatmacys
The channel was not added, once added everything went well. Thank you! This can be closed now.
Re: The script that failed was: './0-repos'
Posted: Mon Jun 11, 2018 2:25 pm
by scottwilkerson
andrewatmacys wrote:The channel was not added, once added everything went well. Thank you! This can be closed now.
Glad to hear it is resolved.