Problem with manual install and centos

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Problem with manual install and centos

Post 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!
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Problem with manual install and centos

Post 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
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problem with manual install and centos

Post 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
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post 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!
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problem with manual install and centos

Post by mguthrie »

Glad you got it working!
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post 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.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post 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.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Problem with manual install and centos

Post by niebais »

Weird thing is that, after setting up my initial email settings, everything else just fixed itself. Guess I have a working system :)
Locked