Page 1 of 1

Installing NagiosXI on CentOS 5.5

Posted: Wed Mar 09, 2011 3:18 am
by lanec
I'm at step ./B-installxi

The output for this step is

Code: Select all

create_postgres_db.sh: Permission denied
ERROR: PostgresQL user 'nagiosxi' was not created - exiting.
ERROR: Nagios XI database was not setup properly - exiting.
I can't find anything about this from googling around. Can anyone tell me what might be causing this?

Re: Installing NagiosXI on CentOS 5.5

Posted: Wed Mar 09, 2011 10:12 am
by tonyyarusso
That would indicate that a previous step did not complete successfully / had some sort of error, particularly 1-prereqs or 3-dbservers.

Re: Installing NagiosXI on CentOS 5.5

Posted: Wed Mar 09, 2011 10:35 am
by rdedon
Are you doing this as root?

Re: Installing NagiosXI on CentOS 5.5

Posted: Wed Mar 09, 2011 12:12 pm
by lanec
I was installing as root and did experience a couple of issues with the hostname being set incorrectly but I resolved those through editing the hosts file and httpd.conf file. Should I start over at step 1 and go through it all again?

Re: Installing NagiosXI on CentOS 5.5

Posted: Wed Mar 09, 2011 12:47 pm
by tonyyarusso
Sure, and while you're doing it, tee each of the steps to a log file and then attach that file if you still have issues.