Re: CentOS 5, pg8.4.2, could not read time zone file - Mailing list pgsql-general

From Tom Lane
Subject Re: CentOS 5, pg8.4.2, could not read time zone file
Date
Msg-id 27207.1178724314@sss.pgh.pa.us
Whole thread Raw
In response to CentOS 5, pg8.4.2, could not read time zone file  ("Wade Hampton" <wadehamptoniv@gmail.com>)
Responses Re: CentOS 5, pg8.4.2, could not read time zone file
List pgsql-general
"Wade Hampton" <wadehamptoniv@gmail.com> writes:
> On my CentOS 5.0 box with the RHEL version of Postgresql 8.4.2, the
> initial initdb step fails with the error

>   "WARNING:  cold not read time zone file "Default" : permission denied.
>   FATAL:  invalid value for parameter "timezone_abbreviations": "Default"

"8.4.2"?  Did this message fall through a time warp?

Anyway, having been burnt before I always wonder about SELinux whenever
any strange permission failures turn up on recent RHEL/Fedora systems.
Look in /var/log/messages to see if there's an "avc denied" log entry
corresponding to this, or temporarily turn off SELinux with
/usr/sbin/setenforce and see if it works then.

If it is SELinux preventing the access, you probably need to run
restorecon to fix the SELinux labels on these files.  If it still
doesn't work after that, file a bug report against the selinux policy
module.

            regards, tom lane

pgsql-general by date:

Previous
From: Hannes Dorbath
Date:
Subject: Re: In theory question
Next
From: Erik Jones
Date:
Subject: Re: In theory question