Page 2 of 3

Re: Error while installing new nagios

Posted: Fri Feb 28, 2014 3:04 pm
by slansing
Are you able to manually install those packages via yum?:

Code: Select all

yum install php-mcrypt

Re: Error while installing new nagios

Posted: Fri Feb 28, 2014 4:39 pm
by ravish78
We are getting this meesage while trying to install that package

yum install php-mcrypt
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-mcrypt available.
Error: Nothing to do
tmproot@usa0300lv1187>uname -a
Linux usa0300lv1187 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
You have new mail in /var/mail/root

Can you please provide a RHEL6 installer.

We beleive PHP-MCrypt is part of Fedora (OSS RHEL) and is not included in the Redhat network.
Can you please let us know all Fedora packages that need to be downloaded on our new RHEL6 installs

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 9:56 am
by scottwilkerson
These packages are part of epel which you error log here is showing it could not retrieve the metadata from

Code: Select all

http://13.129.107.100/repository/RHEL6/repodata/repomd.xml: [Errno 12] Timeout on http://13.129.107.100/repository/RHEL6/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 10:16 am
by ravish78
Scott,
Probably you saw the the first attachment which i sent.That error is due to our server contacting our local repository.So we disabled that and tried contacting RHEL server for downloads.We are still having some missing packages.

Attached new log once again for your review.

Any help would be appreciated.

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 10:49 am
by slansing
Can you show your currently repos? Including the enabled and disabled ones?

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 1:47 pm
by ravish78
How to check that?

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 1:55 pm
by lmiltchev

Code: Select all

yum -v repolist

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 2:02 pm
by ravish78
tmproot@usa0300lv1187>
tmproot@usa0300lv1187>yum -v repolist
Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Config time: 0.096
This system is receiving updates from RHN Classic or RHN Satellite.
Looking for repo options for [main]
Looking for repo options for [rhel-x86_64-server-6]
Repo 'rhel-x86_64-server-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-server-6' setting option 'gpgcheck' = '1'
Repo 'rhel-x86_64-server-6' setting option 'timeout' = '120'
Looking for repo options for [rhel-x86_64-server-optional-6]
Repo 'rhel-x86_64-server-optional-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-server-optional-6' setting option 'gpgcheck' = '1'
Repo 'rhel-x86_64-server-optional-6' setting option 'timeout' = '120'
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.047
Repo-id : epel
Repo-name : Extra Packages for Enterprise Linux 6 - x86_64
Repo-revision: 1393782954
Repo-tags : binary-x86_64
Repo-updated : Sun Mar 2 12:59:53 2014
Repo-pkgs : 10,534
Repo-size : 9.6 G
Repo-metalink: https://mirrors.fedoraproject.org/metal ... rch=x86_64
Updated : Sun Mar 2 12:59:53 2014
Repo-baseurl : http://mirror.us.leaseweb.net/epel/6/x86_64/ (37 more)
Repo-expire : 21,600 second(s) (last: Mon Mar 3 13:50:45 2014)

Repo-id : rhel-x86_64-server-6
Repo-name : Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
Repo-updated : Thu Feb 27 13:24:54 2014
Repo-pkgs : 12,292
Repo-size : 19 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GE ... 4-server-6
Repo-expire : 21,600 second(s) (last: Mon Mar 3 13:35:14 2014)

Repo-id : rhel-x86_64-server-optional-6
Repo-name : RHEL Server Optional (v. 6 64-bit x86_64)
Repo-updated : Mon Mar 3 13:18:58 2014
Repo-pkgs : 7,003
Repo-size : 10 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GE ... optional-6
Repo-expire : 21,600 second(s) (last: Mon Mar 3 13:35:15 2014)

repolist: 29,829

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 2:33 pm
by lmiltchev
For once, I don't see the rpmforge repo, which is required.

Re: Error while installing new nagios

Posted: Mon Mar 03, 2014 2:59 pm
by ravish78
Thanks for checking this.
We have cordinated with our local administrator and installed all dependencies.

Now we have doenloaded new version of nagios and tried to install that and it went one step ahead and stuck with ndoutils installation.Attached latest log file.