Hi,
Trying to install nagios xi but we get a error:
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
http://repo.nagios.com/nagios/7/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Trying other mirror.
One of the configured repositories failed (Nagios),
Have attached install log.
Problem during a clean install
Problem during a clean install
You do not have the required permissions to view the files attached to this post.
Re: Problem during a clean install
Hi
Please run the following on the command line (CLI):
Then run the Nagios installer again.
Please let me know the results.
Thanks
Please run the following on the command line (CLI):
Code: Select all
sudo yum check-update
sudo yum update -yPlease let me know the results.
Thanks
Re: Problem during a clean install
Getting this:
yum check-update
Loaded plugins: product-id, search-disabled-repos, subscription-manager
http://repo.nagios.com/nagios/7/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Trying other mirror.
One of the configured repositories failed (Nagios),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=nagios-base ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable nagios-base
or
subscription-manager repos --disable=nagios-base
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=nagios-base.skip_if_unavailable=true
failure: repodata/repomd.xml from nagios-base: [Errno 256] No more mirrors to try.
http://repo.nagios.com/nagios/7/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
yum check-update
Loaded plugins: product-id, search-disabled-repos, subscription-manager
http://repo.nagios.com/nagios/7/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Trying other mirror.
One of the configured repositories failed (Nagios),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=nagios-base ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable nagios-base
or
subscription-manager repos --disable=nagios-base
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=nagios-base.skip_if_unavailable=true
failure: repodata/repomd.xml from nagios-base: [Errno 256] No more mirrors to try.
http://repo.nagios.com/nagios/7/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Re: Problem during a clean install
Hi
It seems like during the install something is unable to follow the redirect
from: http://repo.nagios.com/nagios/7/repodata/repomd.xml
to: https://repo.nagios.com/nagios/7/repodata/repomd.xml
On the machine you are installing Nagios, please run the following from
the command line:
and send me the resulting /tmp/repolist.txt file.
I am curious to see what you are getting for this part of the output
of that command:
Thanks!
It seems like during the install something is unable to follow the redirect
from: http://repo.nagios.com/nagios/7/repodata/repomd.xml
to: https://repo.nagios.com/nagios/7/repodata/repomd.xml
On the machine you are installing Nagios, please run the following from
the command line:
Code: Select all
yum -v repolist enabled | tee /tmp/repolist.txtI am curious to see what you are getting for this part of the output
of that command:
Code: Select all
Repo-id : nagios-base
Repo-name : Nagios
Repo-revision: 1631211155
Repo-updated : Thu Sep 9 14:12:44 2021
Repo-pkgs : 99
Repo-size : 600 M
Repo-baseurl : https://repo.nagios.com/nagios/7/
Repo-expire : 21,600 second(s) (last: Wed Oct 20 11:07:37 2021)
Filter : read-only:present
Repo-excluded: 1
Repo-filename: /etc/yum.repos.d/nagios-7.repoRe: Problem during a clean install
Ended up with same issue, somehow our proxy is messing it up, so I have made a offline installation and that one is all good.
Except persmission wise, I am trying to find what permissions I need to add to sudoers file for the nagios user, looked in reset_config_perms.sh but want to make sure so could you point me in the right direction.
Except persmission wise, I am trying to find what permissions I need to add to sudoers file for the nagios user, looked in reset_config_perms.sh but want to make sure so could you point me in the right direction.
Re: Problem during a clean install
Hi
Sounds good.
I am attaching a sudoers file from one of my test servers, please let
me know if you need anything else.
Thanks
Sounds good.
I am attaching a sudoers file from one of my test servers, please let
me know if you need anything else.
Thanks
You do not have the required permissions to view the files attached to this post.