NagiosXI Install Problems
Posted: Wed Jul 06, 2011 11:35 am
Redhat 5.5
32bit 2.6.18-194.el5PAE
Manual install of XI
Clean install of Redhat, no proxy in use.
Output from restarting the database services:
[root@groundwork-new nagiosxi]# service mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@groundwork-new nagiosxi]# service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
I've been struggling to get NagiosXI installed on a clean Redhat box. I've made it as far as the ./E-importnagiosql by installing many of the dependencies manually. However, the number of failures has made me nervous about the current state of the install. I've had to manually install php-pear, mrtg, postgresql, postgresql-server, mysql, mysql-server, pnp4nagios and nrpe to get past various points in the full install.
Regardless of this though, i've been unsuccessful in completing the install since it's now failing with 'ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?' These were installed successfully as far as I could tell. I've removed the /usr/local/nagios and /usr/local/nagiosxi folders and tried reinstalling everything but run into the same road block(s).
When I look at the script, I see that it's trying to pull in files from /usr/local/nagios/etc/import. This folder is empty though. I moved in the standard .cfg files from the VMWare Virtual Machine (which is the only instance i've been able to get working, but not a long term solution for us) and run E-importnagiosql, but then it fails with "ERROR: Unable to login to NagiosQL on 'localhost' - exiting. If you have a proxy configured, this may be the cause of the problem." If the E-mportnagiosql is run again it will fail again with 'ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?' since /usr/local/nagios/etc/import is now empty.
What could be causing this latest error or the numerous problems i've encountered trying to install NagiosXI? Any thoughts?
Thanks.
32bit 2.6.18-194.el5PAE
Manual install of XI
Clean install of Redhat, no proxy in use.
Output from restarting the database services:
[root@groundwork-new nagiosxi]# service mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@groundwork-new nagiosxi]# service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
I've been struggling to get NagiosXI installed on a clean Redhat box. I've made it as far as the ./E-importnagiosql by installing many of the dependencies manually. However, the number of failures has made me nervous about the current state of the install. I've had to manually install php-pear, mrtg, postgresql, postgresql-server, mysql, mysql-server, pnp4nagios and nrpe to get past various points in the full install.
Regardless of this though, i've been unsuccessful in completing the install since it's now failing with 'ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?' These were installed successfully as far as I could tell. I've removed the /usr/local/nagios and /usr/local/nagiosxi folders and tried reinstalling everything but run into the same road block(s).
When I look at the script, I see that it's trying to pull in files from /usr/local/nagios/etc/import. This folder is empty though. I moved in the standard .cfg files from the VMWare Virtual Machine (which is the only instance i've been able to get working, but not a long term solution for us) and run E-importnagiosql, but then it fails with "ERROR: Unable to login to NagiosQL on 'localhost' - exiting. If you have a proxy configured, this may be the cause of the problem." If the E-mportnagiosql is run again it will fail again with 'ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?' since /usr/local/nagios/etc/import is now empty.
What could be causing this latest error or the numerous problems i've encountered trying to install NagiosXI? Any thoughts?
Thanks.