PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 28th, 2013, 12:39 PM
ronbig ronbig is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 1 ronbig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 21 sec
Reputation Power: 0
The database cluster initialisation failed

Hi
I am installing postgresSql 9.2 on redhat and I encountered the following error:
The database cluster initialisation failed

Looking at the installation log file I noticed the following errors (below)

I tried to connect as postgres user my self and indeed I got the error described below, it seems like the user postgres home directory was /db/PostgreSQL/9.2/ which is the path I provided for the postgres installation
but this path does not contain .bash files. They are still located in the /home/postgres directory.

How can that be? How should I fix it?
Thanks
Ron

"Initialising the database cluster (this may take a few minutes)...
Executing /db/PostgreSQL/9.2/installer/server/initcluster.sh "postgres" "postgres" "****" "/db/PostgreSQL/9.2" "/db/PostgreSQL/9.2/data" 5432 DEFAULT
Script exit code: 1

Script output:
Failed to initialise the database cluster with initdb

Script stderr:
su: warning: cannot change directory to /db/PostgreSQL/9.2: Permission denied
-bash: /db/PostgreSQL/9.2/.bash_profile: Permission denied
-bash: /db/PostgreSQL/9.2/bin/initdb: Permission denied

Error running /db/PostgreSQL/9.2/installer/server/initcluster.sh "postgres" "postgres" "****" "/db/PostgreSQL/9.2" "/db/PostgreSQL/9.2/data" 5432 DEFAULT : su: warning: cannot change directory to /db/PostgreSQL/9.2: Permission denied
-bash: /db/PostgreSQL/9.2/.bash_profile: Permission denied
-bash: /db/PostgreSQL/9.2/bin/initdb: Permission denied
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.
"

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > The database cluster initialisation failed

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap