Page 1 of 1

error while performing nagios upgrade

Posted: Mon Jan 20, 2014 1:27 pm
by ravish78
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.

Re: error while performing nagios upgrade

Posted: Mon Jan 20, 2014 2:11 pm
by slansing
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

Posted: Mon Jan 20, 2014 2:56 pm
by ravish78
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

Re: error while performing nagios upgrade

Posted: Tue Jan 21, 2014 10:58 am
by sreinhardt
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?

Re: error while performing nagios upgrade

Posted: Tue Jan 21, 2014 1:27 pm
by ravish78
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.

Re: error while performing nagios upgrade

Posted: Tue Jan 21, 2014 1:43 pm
by lmiltchev
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

Re: error while performing nagios upgrade

Posted: Tue Feb 04, 2014 12:18 am
by ravish78
you can close this.Our vendor did some updates from OS end and now upgrade works fine

Re: error while performing nagios upgrade

Posted: Tue Feb 04, 2014 10:38 am
by slansing
Awesome, closing.