Page 1 of 1

./fullinstall php error

Posted: Wed Feb 05, 2014 7:02 am
by Miguel
Hi,
I am trying to install manually Nagios Network Analyzer in a CentOS machine following these steps:
http://assets.nagios.com/downloads/nagi ... ctions.pdf

When I launch the ./fullinstall script, the outputs indicates a problem with php dependencies:
./fullinstall

Nagios Network Analyzer Installation
====================================
DATE: Wed Feb 5 13:00:47 CET 2014

DISTRO INFO:
CentOS
5.6
i686

Running 'prereqs'...
prereqs step already completed - skipping
Running 'sourceguardian'...
sourceguardian step already completed - skipping
Running 'timezone'...
timezone step already completed - skipping
Running 'rrdtool'...
rrdtool step already completed - skipping
Running 'nfdump'...
nfdump step already completed - skipping
Running 'nagiosna'...
PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* addons: sunsite.rediris.es
* base: sunsite.rediris.es
* extras: sunsite.rediris.es
* ius: ftp.rediris.es
* rpmforge: mirror.nl.leaseweb.net
* updates: sunsite.rediris.es
* webtatic-el5: nl.repo.webtatic.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php54-common.i386 0:5.4.24-1.ius.el5 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-22.el5_10.i386 from installed has depsolving problems
--> php53-common conflicts with php54-common
Error: php53-common conflicts with php54-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'nagiosna'
You have new mail in /var/spool/mail/root


My current php version is:
php -v
PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.3 (cli) (built: Dec 10 2013 22:20:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


Thanks in advance

Re: ./fullinstall php error

Posted: Wed Feb 05, 2014 10:37 am
by tmcdonald
Do you have the EPEL yum repo in use? You'll likely need that for any updates:

http://www.thegeekstuff.com/2012/06/ena ... epository/

Re: ./fullinstall php error

Posted: Thu Feb 06, 2014 4:26 am
by Miguel
Thanks, this fixes the fullinstall php error

Re: ./fullinstall php error

Posted: Thu Feb 06, 2014 10:16 am
by tmcdonald
Cool. Gonna close this up now.