Fedora postgresql not starting
Fedora postgresql not starting
От:
Ulrich Wisser <ulrich.wisser@relevanttraffic.se>
Дата:
Hi, I installed the latest postgresql packages on my Fedora Core 3 box. PG will not start, even initdb on a new directory fails. Any ideas what could be wrong? Any ideas how to debug? Thanks Ulrich
Re: Fedora postgresql not starting
От:
Devrim GUNDUZ <devrim@gunduz.org>
Дата:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Thu, 24 Feb 2005, Ulrich Wisser wrote: > I installed the latest postgresql packages on my Fedora Core 3 box. Is it Red Hat RPMs or RPMs? 8.0.1 or 7.4.7? > PG will not start, even initdb on a new directory fails. Any ideas what could > be wrong? Any ideas how to debug? Maybe there is an old database version, previously installed on your box. If it's 8.0.X, check /var/lib/pgsql/data/pg_log directory for the logs. If you are using 7.4.x, then edit postgresql init script and define PGLOG variable (It's /dev/null by default) to /var/lib/pgsql and restart postgresql, so that it will make some output to log file and you can debug it. Regards, - -- Devrim GUNDUZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCHc6vtl86P3SPfQ4RAsWHAJwNWREbvOfPkecqEUGCvxJ3fdQ19QCfSHhN 2kj13JN0oIwvy13pUFadtKw= =1cFA -----END PGP SIGNATURE-----
Re: Fedora postgresql not starting
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Ulrich Wisser writes: > I installed the latest postgresql packages on my Fedora Core 3 box. > PG will not start, even initdb on a new directory fails. Any ideas what > could be wrong? Any ideas how to debug? Define "latest" --- an exact RPM version number would be useful. We've made several rounds of fixes to get it to play nice with SELinux. My guess is that you are hitting a SELinux enforcement problem, but without more details about exactly what you're trying, it's impossible to be specific. regards, tom lane