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!
Problem with manual install and centos
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Problem with manual install and centos
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
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
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
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
http://support.nagios.com/forum/viewto ... 2&start=10
Re: Problem with manual install and centos
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
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 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
Re: Problem with manual install and centos
Glad you got it working!
Re: Problem with manual install and centos
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
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.
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
Weird thing is that, after setting up my initial email settings, everything else just fixed itself. Guess I have a working system 