Search Postgresql Archives

Re: initdb: failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Kathy Boyle" <KBoyle@xxxxxxxxxx> writes:
> We are running Postgresql 7.4.7 on Redhat EL 4. Running /usr/bin/initdb
> command as user postgres fails before creating the views such as pg_user
> and pg_rules.

This is a known problem caused by SELinux security enforcement.  The
quick and dirty solution is to do setenforce 0, at least for long enough
to run initdb.  But I'd recommend updating to the most recent available
postgresql and selinux-policy-targeted RPMs, which should resolve the
issue properly.  (You may need to run restorecon on the /usr/bin and
/var/lib/pgsql trees after updating; I'm not sure that simply updating
the policy RPM will adjust the file security labels correctly.)

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux