Re: Initdb error without much more details PostgreSQL 7.4.19

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurent Barbier <barbierlaurent(at)hotmail(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Initdb error without much more details PostgreSQL 7.4.19
Date: 2008-02-21 16:49:04
Message-ID: 11506.1203612544@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Laurent Barbier <barbierlaurent(at)hotmail(dot)fr> writes:
> I'm facing a trouble with the initdb execution of PostgreSQL 7.4.19 on a Redhat 4 :

Looks like SELinux problems to me. Does it work after doing "setenforce 0"?

> Then i install PostgreSQL binary in the order :
> rpm -ivh postgresql-libs-7.4.19-1PGDG.rhel4.i686.rpm
> rpm -ivh postgresql-7.4.19-1PGDG.rhel4.i686.rpm

You might try Red Hat's RPMs instead --- they contain fixes for some
selinux issues, which AFAICT never got propagated into the PGDG RPMs.
Also, make sure you are up to date with the latest selinux policy
RPM. Or you could just leave selinux turned off, but that might not
be a great idea from a security standpoint.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-02-21 18:30:02 Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea
Previous Message Laurent Barbier 2008-02-21 16:34:41 Initdb error without much more details PostgreSQL 7.4.19