Page 1 of 2
PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 5:42 am
by gshergill
Hi Nagios Community and Support.
I received an error during installation.
The following is the install.log;
http://pastebin.com/peip1rSR
Thank you.
Kind Regards,
gshergill
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 5:50 am
by gshergill
Please note that it mentioned the issue was with the file;
3-dbservers
I can post the file if required.
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 7:49 am
by scottwilkerson
Can you run
If the permissions aren't 644 then run
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 8:05 am
by gshergill
Hi scottwilkerson,
Thanks for the reply.
I ran the command with the following result;
Code: Select all
ls -l /etc/nsswitch.conf
-rw-r--r--. 1 root root 1688 May 4 2010 /etc/nsswitch.conf
I believe that is already on 644, but I ran chmod just in case and nothing changed so I assume it was already set to 644.
I then ran the install again;
And the same error appeared;
Code: Select all
Running './3-dbservers'...
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
Starting postgresql service: [FAILED]
ERROR: Could not start PostgresQL - exiting.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Any further tests/solutions please?
Thank you for your time
Kind Regards,
gshergill
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:21 am
by scottwilkerson
Was this a clean minimal install or was PostgresQL installed before you began the Nagios XI install?
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:22 am
by yancy
gshergill,
Also, are you able to start the service manually?
Regards,
-Yancy
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:24 am
by gshergill
Hi guys.
This was a completely clean install - I've just installed CentOS on another VM and still the same error.
Starting PostgreSQL manually results in a fail as well;
Code: Select all
service postgresql start
Starting postgresql service: [FAILED]
Kind Regards,
gshergill
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:28 am
by yancy
gshergill,
Which version of CentOS?
Regards,
-Yancy
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:33 am
by gshergill
Hi yancy,
It's the latest version of CentOS;
CentOS release 6.3 (Final)
This is a 32bit system, I read somewhere that CentOS 6.x 32 bit is recommended.
Kind Regards,
gshergill
Re: PostgreSQL install failure - Please help
Posted: Mon Aug 13, 2012 9:53 am
by yancy
gshergill,
Can you restore the security context of nsswitch.conf and test starting the service again.
Regards,
-Yancy