Error while installing new nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Error while installing new nagios

Post by slansing »

Are you able to manually install those packages via yum?:

Code: Select all

yum install php-mcrypt
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Error while installing new nagios

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing new nagios

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Error while installing new nagios

Post 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.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Error while installing new nagios

Post by slansing »

Can you show your currently repos? Including the enabled and disabled ones?
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Error while installing new nagios

Post by ravish78 »

How to check that?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing new nagios

Post by lmiltchev »

Code: Select all

yum -v repolist
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Error while installing new nagios

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing new nagios

Post by lmiltchev »

For once, I don't see the rpmforge repo, which is required.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Error while installing new nagios

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked