Page 1 of 1

Installation Problem over Centos5

Posted: Tue Jun 12, 2012 9:44 am
by miguelcisneros
I have a problem after installing Nagios in Centos 5 32Bits. After installation it says to check install.log.

I attached my install.log file.

Thanks

Re: Installation Problem over Centos5

Posted: Tue Jun 12, 2012 11:01 am
by scottwilkerson
Can you run the following and report the output

Code: Select all

ls -l /etc/php.d
thanks

Re: Installation Problem over Centos5

Posted: Tue Jun 12, 2012 11:50 am
by miguelcisneros
This is the output


total 68
-rw-r--r-- 1 root root 51 may 7 21:10 dbase.ini
-rw-r--r-- 1 root root 47 may 7 21:10 dom.ini
-rw-r--r-- 1 root root 45 may 7 21:10 gd.ini
-rw-r--r-- 1 root root 53 mar 27 2008 mcrypt.ini
-rw-r--r-- 1 root root 51 mar 27 2008 mssql.ini
-rw-r--r-- 1 root root 53 may 7 21:10 mysqli.ini
-rw-r--r-- 1 root root 51 may 7 21:10 mysql.ini
-rw-r--r-- 1 root root 47 may 7 21:10 pdo.ini
-rw-r--r-- 1 root root 59 may 7 21:10 pdo_mysql.ini
-rw-r--r-- 1 root root 59 may 7 21:10 pdo_pgsql.ini
-rw-r--r-- 1 root root 61 may 7 21:10 pdo_sqlite.ini
-rw-r--r-- 1 root root 51 may 7 21:10 pgsql.ini
-rw-r--r-- 1 root root 49 may 7 21:10 snmp.ini
-rw-r--r-- 1 root root 23 jun 12 13:41 sourceguardian.ini
-rw-r--r-- 1 root root 59 may 7 21:10 xmlreader.ini
-rw-r--r-- 1 root root 59 may 7 21:10 xmlwriter.ini
-rw-r--r-- 1 root root 47 may 7 21:10 xsl.ini


Thanks

Re: Installation Problem over Centos5

Posted: Tue Jun 12, 2012 12:46 pm
by scottwilkerson
Looking at your install.log it appears you had php installed before our fullinstall script was run.

from our Admin Guide
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
With that said, you MAY be able to run the following:

Code: Select all

cd /tmp/nagiosxi
yum remove php -y
rm -f installed.prereqs
./fullinstall

Re: Installation Problem over Centos5

Posted: Wed Jun 13, 2012 3:16 am
by miguelcisneros
I have run commands you said and this is install.log

File is attached.

Thanks

Re: Installation Problem over Centos5

Posted: Wed Jun 13, 2012 9:25 am
by scottwilkerson
Honestly at this point I would recommend starting over with a fresh clean minimal install, without modifying anything before the Nagios XI installer runs.