Nagios install error
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and DirectAdmin
  1. Daniel Jansen
  2. Sunday, 03 November 2013
  3.  Subscribe via email
Hi,

I have a server with cloudlinux and directadmin. Now i want to install nagios client on the machine. 



While the install start i get the following error's:

--> Finished Dependency Resolution
Error: Package: nagios-plugins-pgsql-1.4.16-5.el6.x86_64 (epel)
           Requires: libpq.so.5()(64bit)
Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
           Requires: php
Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
           Requires: httpd
Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
           Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: nagios-plugins-sensors-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/bin/sensors
Error: Package: nagios-plugins-disk_smb-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/bin/smbclient
Error: Package: nagios-plugins-rpc-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/sbin/rpcinfo
Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
           Requires: libmysqlclient.so.16()(64bit)
Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/sbin/ntpdate
Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/bin/snmpgetnext
Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/sbin/ntpq
Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
           Requires: /usr/bin/snmpget
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


I installed nagios by:

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum -y install nagios nagios-plugins-all nrpe

Hope you van help me out!
Rate this post:
  1. 03.07.2017 04:07:54
  2. # 1
uiaciel Accepted Answer
Posts: 0
Joined: 08.12.2019
0
Votes
Undo
Install nagios with command

yum --enablerepo=epel -y install nrpe nagios-plugins
  1. 19.09.2019 05:09:06
  2. # 2
Pavel Accepted Answer
Posts: 0
Joined: 08.12.2019
0
Votes
Undo
yum --enablerepo=epel -y install nrpe nagios-plugins
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
* epel: mirror.logol.ru
* rpmforge: mirror.awanti.com
Resolving Dependencies
--> Running transaction check
---> Package nrpe.x86_64 0:3.2.1-8.el7 will be installed
--> Processing Dependency: nagios-common for package: nrpe-3.2.1-8.el7.x86_64
--> Finished Dependency Resolution
Error: Package: nrpe-3.2.1-8.el7.x86_64 (epel)
Requires: nagios-common
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
  1. 19.09.2019 08:09:03
  2. # 3
Kate Grechishkina Accepted Answer
Posts: 20
Joined: 13.04.2019
0
Votes
Undo
Hello,
nagios-common should get installed as a dependency, due to some reason this is not happening for you.
You can try specifying the package separately:
# yum --enablerepo=epel -y install nrpe nagios-plugins nagios-common
If it is still not found try to clean yum cache with
# yum clean all --enablerepo=*
and try once again.
  1. 19.09.2019 10:09:19
  2. # 4
Pavel Accepted Answer
Posts: 0
Joined: 08.12.2019
0
Votes
Undo
I have this problem on servers with CloudLinux release 7.7 (Valery Bykovsky)
I have tried yum clean all and rpm rebuilddb



SERVER #1

# cat /etc/redhat-release
CloudLinux release 7.6 (Vladimir Lyakhov)

# yum --enablerepo=epel info nagios-common
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* cloudlinux-updates: repo.cloudlinux.com
* cloudlinux-x86_64-server-7: cl.se.oderland.com
* epel: mirror.hoster.kz
* rpmforge: mirror.awanti.com
Available Packages
Name : nagios-common
Arch : x86_64
Version : 4.4.3
Release : 3.el6
Size : 26 k
Repo : epel/x86_64
Summary : Provides common directories, uid and gid among nagios-related packages
URL : https://www.nagios.org/projects/nagios-core/
License : GPLv2
Description : Provides common directories, uid and gid among nagios-related packages.

SERVER #2

# cat /etc/redhat-release
CloudLinux release 7.7 (Valery Bykovsky)
# yum --enablerepo=epel info nagios-common
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
* epel: mirror.logol.ru
* rpmforge: mirror.awanti.com
Error: No matching Packages to list
  1. 19.09.2019 13:09:59
  2. # 5
Kate Grechishkina Accepted Answer
Posts: 20
Joined: 13.04.2019
0
Votes
Undo
Unfortunately, I cannot replicate it on my test DA server with CloudLinux 7.7, the package is available:

[[email protected] ~]# cat /etc/redhat-release
CloudLinux release 7.7 (Valery Bykovsky)
[[email protected] ~]# yum --enablerepo=epel info nagios-common
Loaded plugins: auto-update-debuginfo, fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-7: de-proxy.cl-mirror.net
* epel: ftp.icm.edu.pl
Available Packages
Name : nagios-common
Arch : x86_64
Version : 4.4.3
Release : 1.el7
Size : 26 k
Repo : epel/x86_64
Summary : Provides common directories, uid and gid among nagios-related packages
URL : https://www.nagios.org/projects/nagios-core/
License : GPLv2
Description : Provides common directories, uid and gid among nagios-related packages.


Do you have any custom config in /etc/yum.conf on the server with this issue? Possibly some packages are excluded there.
  1. 20.09.2019 03:09:06
  2. # 6
Pavel Accepted Answer
Posts: 0
Joined: 08.12.2019
0
Votes
Undo
Thanks. Problem was connected with exclude.
  1. 23.09.2019 09:09:43
  2. # 7
Sergey Khristich Accepted Answer
Posts: 136
Joined: 20.05.2019
0
Votes
Undo
Hello Pavel! Thank you for reaching out. Please let us know if you have any questions.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.