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
./fullinstall php error
Re: ./fullinstall php error
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/
http://www.thegeekstuff.com/2012/06/ena ... epository/
Former Nagios employee
Re: ./fullinstall php error
Thanks, this fixes the fullinstall php error