Re: Error when trying to create Database Cluster - Mailing list pgsql-admin

From raghu ram
Subject Re: Error when trying to create Database Cluster
Date
Msg-id AANLkTikWcHDA4JNNfF_Dia6bJat-o2Q48fHS6+Mt8K4N@mail.gmail.com
Whole thread Raw
In response to Error when trying to create Database Cluster  ("Arnold, Sandra" <ArnoldS@osti.gov>)
List pgsql-admin


On Tue, Mar 1, 2011 at 2:39 AM, Arnold, Sandra <ArnoldS@osti.gov> wrote:
I am running the following initdb command and get the following error. 
 
initdb -A md5 -D /pgsql/ftrp/data9 -E UTF8 --locale=C -U postgres -W
initdb: error while loading shared libraries: /app/PostgreSQL/9.0/lib/libedit.so: cannot restore segment prot after reloc: Permission denied

This is likely due the SE linux setting being set to "enforcing"

To Temporally disable enforcement on a running system

/usr/sbin/setenforce 0

and then try to create a new cluster with "initdb" utility.

--Raghu Ram



 
I am using the one-click installer from EnterpriseDB to install the software.  The files are owned by root:daemon and have read/execute privileges at the world level.  Right now I cannot find anything when I google this issue.  Any help would be appreciated.
 
Thanks,
 
Sandra Arnold
Senior Database Administrator
Contractor to DOE/OSTI
NCI, Inc.
Oak Ridge, TN
(865) 576-0054 (work)
(865) 567-7553 (cell)
 

pgsql-admin by date:

Previous
From: raghu ram
Date:
Subject: Re: psql causing a error
Next
From: Szymon Guz
Date:
Subject: Re: Postgres native geometry types