Re: Error when trying to create Database Cluster

From: raghu ram <raghuchennuru(at)gmail(dot)com>
To: "Arnold, Sandra" <ArnoldS(at)osti(dot)gov>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Error when trying to create Database Cluster
Date: 2011-03-05 11:36:36
Message-ID: AANLkTikWcHDA4JNNfF_Dia6bJat-o2Q48fHS6+Mt8K4N@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Mar 1, 2011 at 2:39 AM, Arnold, Sandra <ArnoldS(at)osti(dot)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)*
> *arnolds(at)osti(dot)gov*
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Szymon Guz 2011-03-05 13:26:45 Re: Postgres native geometry types
Previous Message raghu ram 2011-03-05 10:57:28 Re: psql causing a error