From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | Jamie Strachan <frostfreek(at)yahoo(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #5430: initdb fails due to permissions of /usr/share/pgsql |
Date: | 2010-04-20 19:38:05 |
Message-ID: | 1271792285.2343.6.camel@hp-laptop2.gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi,
On Mon, 2010-04-19 at 14:22 +0000, Jamie Strachan wrote:
>
> for my CentOS 4 install.
>
> service postgresql initdb fails with no error message.
>
> So, I su'd to postgres, and ran
>
> initdb --pgdata=/var/lib/pgsql/data --auth=ident
> which is what service postgresql initdb does.
> This command failed, with the error message:
>
> could not open directory "/usr/share/pgsql/timezonesets"
Cannot reproduce it on my 8.4+CentOS 4 box:
-bash-3.00$ initdb --pgdata=/var/lib/pgsql/data --auth=ident
...
Success. You can now start the database server using:
...
timezonesets directory has already *enough* permissions for postgres
user to read it:
drwxr-xr-x 2 root root 4096 2010-03-19 09:45 timezonesets
Are you sure that you did not chmod somewhere between installing package
and initdb'ing?
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
From | Date | Subject | |
---|---|---|---|
Next Message | Jamie Strachan | 2010-04-20 20:39:12 | Re: BUG #5430: initdb fails due to permissions of /usr/share/pgsql |
Previous Message | Robert Haas | 2010-04-20 16:33:26 | Re: Re: [BUGS] BUG #4887: inclusion operator (@>) on tsqeries behaves not conforming to documentation |