Installing NagiosXI on CentOS 5.5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lanec
Posts: 2
Joined: Wed Mar 09, 2011 3:13 am

Installing NagiosXI on CentOS 5.5

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

Re: Installing NagiosXI on CentOS 5.5

Post by tonyyarusso »

That would indicate that a previous step did not complete successfully / had some sort of error, particularly 1-prereqs or 3-dbservers.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Installing NagiosXI on CentOS 5.5

Post by rdedon »

Are you doing this as root?
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lanec
Posts: 2
Joined: Wed Mar 09, 2011 3:13 am

Re: Installing NagiosXI on CentOS 5.5

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

Re: Installing NagiosXI on CentOS 5.5

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked