On Tue, Mar 1, 2011 at 2:39 AM, Arnold, Sandra <[email protected]> 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)*
> *[email protected]*
>
>

Reply via email to