As suggested in previous thread we are opening a new one.
We are getting below error while performing upgrade from 2.5
tmproot@usa7061lv981>./upgrade
OLD VERSION: 314
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package php-mbstring available.
Error: Nothing to do
tmproot@usa7061lv981>
Response from nagios team:Your system is unable to download packages from Red Hat, which only Red Hat or your admin can solve.
We checked with our system admins and they say that yum is working fine and no problem from their end.
Can you please let us know the full name and repository location for the missing package.So that we can try installing that packages from our end.
error while performing nagios upgrade
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: error while performing nagios upgrade
Please show the output from the following commands:
Code: Select all
yum install mlocate
cat /etc/redhat-release
rhn_register
Re: error while performing nagios upgrade
Below is the output
tmproot@usa7061lv981>yum install mlocate
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can u se subscription-manager to register.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
timed out
Setting up Install Process
Package mlocate-0.22.2-4.el6.x86_64 already installed and latest version
Nothing to do
tmproot@usa7061lv981>cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
tmproot@usa7061lv981>rhn_register
output attached
tmproot@usa7061lv981>yum install mlocate
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can u se subscription-manager to register.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
timed out
Setting up Install Process
Package mlocate-0.22.2-4.el6.x86_64 already installed and latest version
Nothing to do
tmproot@usa7061lv981>cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
tmproot@usa7061lv981>rhn_register
output attached
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: error while performing nagios upgrade
This is actually not an issue, per say, with our upgrade script, but that yum does not believe you are registered. Specifically you are erroring on line 453 when we attempt to use yum to install php-mbstring. This is definitely needed for XI due to some changes we have made internally. Are you able to install this from internal repos, or is this an offline install without access to such things?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: error while performing nagios upgrade
These servers are not directly connected to inernet as they are in seperate EPN network.
We used proxy setting to connect internet and trying to perform upgrade.
Can you please provide the exact name of package for installing php-mbstring and download location. So that we can download and install it offline.
We used proxy setting to connect internet and trying to perform upgrade.
Can you please provide the exact name of package for installing php-mbstring and download location. So that we can download and install it offline.
Re: error while performing nagios upgrade
I believe you need to add the "Optional channel" to your subscriptions:
http://snippets.roozbehk.com/post/35750 ... se-linux-6
We have a post about the need for adding the "Optional" channel on our wiki page:
http://support.nagios.com/wiki/index.ph ... ptions..22
http://snippets.roozbehk.com/post/35750 ... se-linux-6
We have a post about the need for adding the "Optional" channel on our wiki page:
http://support.nagios.com/wiki/index.ph ... ptions..22
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: error while performing nagios upgrade
you can close this.Our vendor did some updates from OS end and now upgrade works fine
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: error while performing nagios upgrade
Awesome, closing.