From: | Szűcs Gábor <surrano(at)mailbox(dot)hu> |
---|---|
To: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | unix_socket_directory vs pg_ctl? |
Date: | 2003-11-25 02:18:59 |
Message-ID: | 000501c3b2fa$7c769460$1004a8c0@priscilla |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Dear Gurus,
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Gabor Szucs
Your email address : surrano(at)mailbox(dot)hu
System Configuration
---------------------
Architecture (example: Intel Pentium) : Intel Pentium 2
Operating System (example: Linux 2.0.26 ELF) : Debian "Woody" 2.4.21 Elf
PostgreSQL version (example: PostgreSQL-7.4): PostgreSQL-7.4
Compiler used (example: gcc 2.95.2) : gcc 2.95.4 20011002 (Debian
prerelease)
Please enter a FULL description of your problem:
------------------------------------------------
Abstract: setting unix_socket_directory in postgresql.conf seems to confuse
pg_ctl so that it starts postmaster but can't see it running so reports as
"failed"
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
Details:
1. Debian "Woody" Linux, appropriate postgresql (7.2.1) and php4 packages
installed.
2. I did my best to put 7.2.1 out of the way without uninstalling it, since
the php4-pgsql package depends on it.
3. Downloaded and unzipped postgresql-7.4 (also tried 7.4RC2 last weekend).
Configured to default port 5440 ("40" as in "(7.)4.0"). Compiled,
regress-tested, installed, initdb.
4. Configured postgresql.conf to use
unix_socket_directory = '/var/run/postgresql'
since Debian's php package requires socket files to be there.
5. Starting with
bin/pg_ctl -w -D data -l data/logfile
causes postmaster to start, but pg_ctl keeps sleeping and re-checking,
then gives up. However, postmaster runs, with socket files in the given
directory.
--------------------- cut here ---------------------
It seems my mail didn't hit the list, so I re-send it with the standard bug
template.
I know workarounds (the ugliest being "recompile php", or the simpler
"symlink the socket files from /tmp"). What I'm concerned is if I'm doing
something wrong, or is it an existent bug in Postgresql.
If needed, I can give detailed information (please specify) about my system,
or even try compiling and installing different versions with different
settings. I just don't have any ideas what to try and what not to so guide
me how to help you.
--------------------- cut here ---------------------
G.
From | Date | Subject | |
---|---|---|---|
Next Message | Seum-Lim Gan | 2003-11-25 03:29:37 | Re: Fwd: Solaris build of 7.4 problem with |
Previous Message | Klint Gore | 2003-11-25 01:50:42 | Re: variable not found in subplan target listS? + test case |