Page 1 of 2

Problem with manual install and centos

Posted: Wed Dec 22, 2010 12:10 pm
by niebais
Ok,
I've been working on getting my centos system (CentOS release 5.5 (Final)) for the past couple of days and here are the problems I'm running into:

1) The install scripts do not create the default psql database and role.
2) The install scripts seem to have problems creating the mysql users nagiosql and ndoutils.
3) Finally, when I get that set up manually, I'm getting a blank php page which I'm still troubleshooting.

I could use some guidance here on the best way to start troubleshooting this thing. Thanks!

Re: Problem with manual install and centos

Posted: Wed Dec 22, 2010 12:33 pm
by tonyyarusso
Did you happen to set a root password for MySQL or PostgreSQL before starting the installation?
Are you using a proxy or other unusual network configuration?
PHP errors should show up in the Apache log, /var/log/httpd/error_log

Re: Problem with manual install and centos

Posted: Wed Dec 22, 2010 12:50 pm
by niebais
tonyyarusso wrote:Did you happen to set a root password for MySQL or PostgreSQL before starting the installation?
Are you using a proxy or other unusual network configuration?
PHP errors should show up in the Apache log, /var/log/httpd/error_log

No I didn't set anything up in mysql or postgres prior to the installation. As for a proxy or anything other than the standard installation, no. That's the same as well.

I was looking at the error logs and that's why I'm writing, I see no errors in the error_logs either. I tried enabling php debugging and I get the same thing, just a blank page.

Re: Problem with manual install and centos

Posted: Mon Dec 27, 2010 4:03 pm
by mguthrie
Do you have gnome installed on this version of CentOS? If so take a look at the following thread. You may need to fix the path for the "service" command.
http://support.nagios.com/forum/viewto ... 2&start=10

Re: Problem with manual install and centos

Posted: Mon Jan 03, 2011 4:46 pm
by niebais
The recent version of NagiosXI and the installs work great with CentOS now. I didn't have any problems installing it. Thanks again!

Re: Problem with manual install and centos

Posted: Mon Jan 03, 2011 4:48 pm
by niebais
mguthrie wrote:Do you have gnome installed on this version of CentOS? If so take a look at the following thread. You may need to fix the path for the "service" command.
http://support.nagios.com/forum/viewto ... 2&start=10
Oh I didn't have gnome installed. I was doing all this through the command line as root. The /sbin/service command was in the path.

Re: Problem with manual install and centos

Posted: Mon Jan 03, 2011 5:12 pm
by mguthrie
Glad you got it working!

Re: Problem with manual install and centos

Posted: Tue Jan 04, 2011 11:54 am
by niebais
On second thought...I'm having some issues with the setup. After installing everything I tried to set up an alert. Using just the wizard, I tried adding a new http check alert. When I clicked on "save" it went to the apply configuration screen and never finished. Something still isn't quite right with the setup scripts and a vanilla install of Centos.

Re: Problem with manual install and centos

Posted: Tue Jan 04, 2011 12:12 pm
by niebais
The problems I'm having with the new installation are these:
1) The apply configuration never finishes. It also never says anything in the nagios.log.
2) Tasks like "schedule immediate check" never seem to start.

Re: Problem with manual install and centos

Posted: Tue Jan 04, 2011 12:39 pm
by niebais
Weird thing is that, after setting up my initial email settings, everything else just fixed itself. Guess I have a working system :)