PostgreSQL install failure - Please help
PostgreSQL install failure - Please help
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
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
Please note that it mentioned the issue was with the file;
3-dbservers
I can post the file if required.
3-dbservers
I can post the file if required.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: PostgreSQL install failure - Please help
Can you run
If the permissions aren't 644 then run
Code: Select all
ls -l /etc/nsswitch.confCode: Select all
chmod 644 /etc/nsswitch.confRe: PostgreSQL install failure - Please help
Hi scottwilkerson,
Thanks for the reply.
I ran the command with the following result;
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;
Any further tests/solutions please?
Thank you for your time
Kind Regards,
gshergill
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 then ran the install again;
Code: Select all
cd /tmp/nagiosxi
./fullinstallCode: 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.Thank you for your time
Kind Regards,
gshergill
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: PostgreSQL install failure - Please help
Was this a clean minimal install or was PostgresQL installed before you began the Nagios XI install?
Re: PostgreSQL install failure - Please help
gshergill,
Also, are you able to start the service manually?
Regards,
-Yancy
Also, are you able to start the service manually?
Code: Select all
service postgresql start-Yancy
Re: PostgreSQL install failure - Please help
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;
Kind Regards,
gshergill
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]gshergill
Re: PostgreSQL install failure - Please help
Hi yancy,
It's the latest version of CentOS;
Kind Regards,
gshergill
It's the latest version of CentOS;
This is a 32bit system, I read somewhere that CentOS 6.x 32 bit is recommended.CentOS release 6.3 (Final)
Kind Regards,
gshergill
Re: PostgreSQL install failure - Please help
gshergill,
Can you restore the security context of nsswitch.conf and test starting the service again.
Regards,
-Yancy
Can you restore the security context of nsswitch.conf and test starting the service again.
Code: Select all
restorecon /etc/nsswitch.confRegards,
-Yancy