Subject: Unix socket in /tmp , should be /var/run/postgresql
Package: postgresql-8.0
Version: 8.0.2-1
Distribution: experimental
Severity: important

*** Please type your report below this line ***

The unix socket that postgresql-8.0 sets up is in /tmp and this is not
where the perl DBD::Pg module expects it.

$ sudo lsof  | grep postmast | grep unix
postmaste  1018    postgres    6u     unix 0xd8b5e380
66453 /tmp/.s.PGSQL.5433
postmaste  4196    postgres    4u     unix 0xdf01f380
6820 /tmp/.s.PGSQL.5433
$ ./testunixsocket.pl
DBI connect('dbname=scratch;port=5433','',...) failed: could not connect
to server: \uffffx\uffff\uffff\uffff
        Is the server running locally and accepting
                connections on Unix domain socket
                "/var/run/postgresql/.s.PGSQL.5433"?

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages postgresql-8.0 depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared
libraries an
ii  libcomerr2                  1.37-2       common error description
library
ii  libkrb53                    1.3.6-2      MIT Kerberos runtime
libraries
ii  libpam0g                    0.76-22      Pluggable Authentication
Modules l
ii  libpq4                      8.0.2-1      PostgreSQL C client library
ii  libreadline4                4.3-11       GNU readline and history
libraries
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  postgresql-client-8.0       8.0.3-1      front-end programs for
PostgreSQL 
ii  postgresql-common           7            manager for PostgreSQL
database cl
ii  zlib1g                      1:1.2.2-4    compression library -
runtime

-- no debconf information

-- 
David Stanaway <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to