I just tried to downgrade PHP, which was not possible, so I need a solution for the actual version.
By the way, we have just received our license for NAGIOS XI and I have registered this Friday last week.
So if you need we may run this as a official Support Case.
Thx Andy
NAGIOS XI installation
Re: NAGIOS XI installation
Can you post the output from:
Code: Select all
yum list installed | grep phpRe: NAGIOS XI installation
What happens if you try running these commands to manually install the missing packages?
Code: Select all
# yum install php-mssql
# yum install php-mcryptRe: NAGIOS XI installation
see below the output of:
[root@chsismon1 Desktop]# yum list installed | grep php
php.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-cli.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-common.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-gd.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-mysql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pdo.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pear.noarch 1:1.9.4-4.el6 @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pgsql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-snmp.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-optional-6
php-xml.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
[root@chsismon1 Desktop]# yum list installed | grep php
php.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-cli.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-common.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-gd.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-mysql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pdo.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pear.noarch 1:1.9.4-4.el6 @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pgsql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-snmp.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-optional-6
php-xml.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
Re: NAGIOS XI installation
blow output of yum install ...:
[root@chsismon1 Desktop]# yum install php-mssql
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
rpmforge | 1.1 kB 00:00
Setting up Install Process
No package php-mssql available.
Error: Nothing to do
[root@chsismon1 Desktop]# yum install php-mcrypt
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
[root@chsismon1 Desktop]# yum install php-mssql
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
rpmforge | 1.1 kB 00:00
Setting up Install Process
No package php-mssql available.
Error: Nothing to do
[root@chsismon1 Desktop]# yum install php-mcrypt
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NAGIOS XI installation
Looking back at your first install log I saw line 34
Lets run the following
If you get an error again, send the fresh install.log file.
This is likely the problem as both of these items are in the epel repo.Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Lets run the following
Code: Select all
cd /tmp
rm -rf xi-*.gz nagiosxi
wget http://assets.nagios.com/downloads/nagiosxi/xi-2011-latest.tar.gz
tar xzf xi-2011-latest.tar.gz
cd /tmp/nagiosxi
./fullinstall
Re: NAGIOS XI installation
THX to scottwilkerson,
I could solve my trouble and got everything installed correctly.
The entry in the EPEL.repo file witch was installed by default was wrong.
So I went trought the internet to loook for the correct URL, corrected the entry, and .... it worked.
Below i post the content of /etc/yum.repo.d/epel.repo
Again thx to all for your help
[root@chsismon1 yum.repos.d]# more epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraprojekt.org/pub/epel/6/$basearch
baseurl=http://dl.fedoraproject.org/pub/epel/6/x86_64/
#mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failover=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
I could solve my trouble and got everything installed correctly.
The entry in the EPEL.repo file witch was installed by default was wrong.
So I went trought the internet to loook for the correct URL, corrected the entry, and .... it worked.
Below i post the content of /etc/yum.repo.d/epel.repo
Again thx to all for your help
[root@chsismon1 yum.repos.d]# more epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraprojekt.org/pub/epel/6/$basearch
baseurl=http://dl.fedoraproject.org/pub/epel/6/x86_64/
#mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failover=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NAGIOS XI installation
Glad to be of help.