This support forum board is for support questions relating to
Nagios XI, our flagship commercial network monitoring solution.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
-
Contact:
Post
by scottwilkerson »
meston.nu wrote:Those commands completed without error.
Good, run
Then lets try to proceed with the upgrade
-
meston.nu
- Posts: 12
- Joined: Fri Jun 02, 2017 3:29 pm
Post
by meston.nu »
nagiosError4.PNG
no dice.
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:
Post
by scottwilkerson »
Please run the following and return the results
-
lmiltchev
- Bugs find me
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev »
Also, run the following command and show the output.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
-
meston.nu
- Posts: 12
- Joined: Fri Jun 02, 2017 3:29 pm
Post
by meston.nu »
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:
Post
by scottwilkerson »
Lets edit /etc/yum.repos.d/epel.repo and uncomment baseurl and comment mirrorlist
like so
Code: Select all
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
then try
if that works, proceed
-
meston.nu
- Posts: 12
- Joined: Fri Jun 02, 2017 3:29 pm
Post
by meston.nu »
I updated the file as instructed and these were the results.
nagiosError6.PNG
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:
Post
by scottwilkerson »
If you are getting that error then you didn't comment all the mirrorlist lines
Code: Select all
grep mirrorlist -R /etc/yum.repos.d|grep fedora
-
meston.nu
- Posts: 12
- Joined: Fri Jun 02, 2017 3:29 pm
Post
by meston.nu »
I commented out the file you told me, but apparently there was another (see below).
nagiosError7.PNG
After commenting those lines, I ran yum update and this was the result.
nagiosError8.PNG
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:
Post
by scottwilkerson »
Are you sure this server isn't behind a proxy?