Fresh install
Re: Fresh install
[root@usvanagiosdev8 ~]# yum-config-manager --enable rhel-7-server-optional-rpms
Loaded plugins: amazon-id, rhui-lb, versionlock
[root@usvanagiosdev8 ~]# yum-config-manager --enable rhel-7-server-optional-rpms
Loaded plugins: amazon-id, rhui-lb, versionlock
[root@usvanagiosdev8 ~]#
Loaded plugins: amazon-id, rhui-lb, versionlock
[root@usvanagiosdev8 ~]# yum-config-manager --enable rhel-7-server-optional-rpms
Loaded plugins: amazon-id, rhui-lb, versionlock
[root@usvanagiosdev8 ~]#
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Fresh install
What about the output from:
Did you read your vendor's documentation?
https://access.redhat.com/documentation ... positories
Code: Select all
# subscription-manager repos --list
https://access.redhat.com/documentation ... positories
Previous Nagios employee
Re: Fresh install
[root@usvanagiosdev8 ~]# subscription-manager repos --list
This system has no repositories available through subscriptions.
This system has no repositories available through subscriptions.
Re: Fresh install
Can you login as root to the server and run the following commands to scribe to the Redhat Optional Channel repos?
Please post the output when you run the commands.
If the optional repo is installed on the server successfully, try installing XI again.
If not, run the following and post the output.
Please post the output when you run the commands.
Code: Select all
subscription-manager repos --enable
subscription-manager repos --enable rhel-7-server-optional-rpms
If not, run the following and post the output.
Code: Select all
yum repolist
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh install
here is the output
subscription-manager: error: --enable option requires an argument
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]# subscription-manager repos --enable rhel-7-server-optional-rpms
Error: 'rhel-7-server-optional-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]# subscription-manager repos --list
This system has no repositories available through subscriptions.
subscription-manager: error: --enable option requires an argument
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]# subscription-manager repos --enable rhel-7-server-optional-rpms
Error: 'rhel-7-server-optional-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
[root@usvanagiosdev8 ~]#
[root@usvanagiosdev8 ~]# subscription-manager repos --list
This system has no repositories available through subscriptions.
Last edited by bosecorp on Thu Jun 08, 2017 1:23 pm, edited 1 time in total.
Re: Fresh install
[root@usvanagiosdev8 ~]# yum repolist
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
repo id repo name status
!chef-stable/x86_64 Chef Software Inc chef-stable repository 373
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,771
!nagios-base Nagios 80
!nagiosxi-deps Nagios XI Dependencies 26
!rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 6
!rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 14,447
!rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 228
repolist: 26,931
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
repo id repo name status
!chef-stable/x86_64 Chef Software Inc chef-stable repository 373
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,771
!nagios-base Nagios 80
!nagiosxi-deps Nagios XI Dependencies 26
!rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 6
!rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 14,447
!rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 228
repolist: 26,931
Re: Fresh install
You need to register your server with Redhat before you can install the optional repositories.
The links below should help you out in doing that.
https://access.redhat.com/documentation ... g-cmd.html
https://access.redhat.com/solutions/253273
If you have problems registering your server, you will have to contact Redhat for support.
The links below should help you out in doing that.
https://access.redhat.com/documentation ... g-cmd.html
https://access.redhat.com/solutions/253273
If you have problems registering your server, you will have to contact Redhat for support.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh install
yes, that was the problem the server wasnt register. but we do that on purpose because we use AWS license rather than RHEL, so therefore we dont have RHEL subscription. do you have an alternative or do you really need to have a subscription.
for now what I did is register the server on RHEL, but I dont supposed to be doing that.
now I seem to be getting this error
Creating product directory...
Adding password for user nagiosadmin
xidb already initialized - skipping.
Patching NDOUtils...
<h3>Databse Error</h3>A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre></p>Installing/updating XI wizards...
Backing up existing wizards to /tmp/xiwizards_backup...
Installing 'wizards/autodiscovery.zip'
^[[28~<h3>Databse Error</h3>A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre></p>Installing 'wizards/bpiwizard.zip'
for now what I did is register the server on RHEL, but I dont supposed to be doing that.
now I seem to be getting this error
Creating product directory...
Adding password for user nagiosadmin
xidb already initialized - skipping.
Patching NDOUtils...
<h3>Databse Error</h3>A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre></p>Installing/updating XI wizards...
Backing up existing wizards to /tmp/xiwizards_backup...
Installing 'wizards/autodiscovery.zip'
^[[28~<h3>Databse Error</h3>A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre></p>Installing 'wizards/bpiwizard.zip'
Re: Fresh install
With all of the times that XI was installed on the system, one of them corrupted the system.
Follow these instructions to un-install XI
Then delete the XI install folder in the server by running
Then use the manual instructions to install it.
https://assets.nagios.com/downloads/nag ... Server.pdf
Run the fullinstall script once and if it fails, upload the install.log file from the installation folder.
Follow these instructions to un-install XI
Code: Select all
https://assets.nagios.com/downloads/nagiosxi/docs/Uninstalling_Nagios_XI.pdf
Code: Select all
rm -fr /tmp/nagiosxi
https://assets.nagios.com/downloads/nag ... Server.pdf
Run the fullinstall script once and if it fails, upload the install.log file from the installation folder.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh install
this doesn't seem straight forward
uninstalled nagios, but now I am getting this
ote: If you want to update the RPMs installed on this system, run your package manager's update command
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
usermod: user 'nagios' does not exist
usermod: user 'nagios' does not exist
ERROR: User 'nagios' was not created - exiting.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './2-usersgroups'
uninstalled nagios, but now I am getting this
ote: If you want to update the RPMs installed on this system, run your package manager's update command
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
usermod: user 'nagios' does not exist
usermod: user 'nagios' does not exist
ERROR: User 'nagios' was not created - exiting.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './2-usersgroups'