Re: Newbie [CentOS 5.2] service postgresql initdb - Mailing list pgsql-general

From Daneel
Subject Re: Newbie [CentOS 5.2] service postgresql initdb
Date
Msg-id g8111c$sba$1@aioe.org
Whole thread Raw
In response to Newbie [CentOS 5.2] service postgresql initdb  (Daneel <dan@dan.dan>)
List pgsql-general
Scott Marlowe wrote:
> On Tue, Aug 12, 2008 at 9:25 AM, Daneel <dan@dan.dan> wrote:
>> While going through
>> http://wiki.postgresql.org/wiki/Detailed_installation_guides
>> and typing
>> service postgresql start
>> as root I got
>> "/var/lib/pgsql/data is missing. Use "service postgresql initdb" to
>> initialize the cluster first."
>>
>> When I run
>> service postgresql initdb
>> I get
>> "se:     [FAILED]".
>> However, /var/lib/pqsql/data is created and user postgres owns it.
>>
>> But then I run
>> service postgresql start
>> and the very same error occurs..
>
> Is /var/lib/pgsql/data a sym link to some other drive?

No, it didn't.

   It's likely
> you're being bitten by SELinux.  either disable it (google is your
> friend) or reconfigure it to allow postgres to access the other drive
> as a service.
>

I going to learn more about SELinux later after I learn more Linux
basics and get them in common for me.

Thank you anyway

Daneel

pgsql-general by date:

Previous
From: Daneel
Date:
Subject: Re: Newbie [CentOS 5.2] service postgresql initdb
Next
From: Daneel
Date:
Subject: Re: Newbie [CentOS 5.2] service postgresql initdb