Package: postgresql-8.4
Version: 8.4.0-2
Severity: normal

In the upgrade process I received the error:

Preparing to replace postgresql-client-8.4 8.4.0-1 (using 
.../postgresql-client-8.4_8.4.0-2_i386.deb) ...
Unpacking replacement postgresql-client-8.4 ...
Preparing to replace postgresql-8.4 8.4.0-1 (using 
.../postgresql-8.4_8.4.0-2_i386.deb) ...
Stopping PostgreSQL 8.4 database server: main.
Unpacking replacement postgresql-8.4 ...
Preparing to replace postgresql 8.4.0-1 (using .../postgresql_8.4.0-2_all.deb) 
...
Unpacking replacement postgresql ...
Preparing to replace postgresql-doc-8.4 8.4.0-1 (using 
.../postgresql-doc-8.4_8.4.0-2_all.deb) ...
Unpacking replacement postgresql-doc-8.4 ...
Preparing to replace postgresql-doc 8.4.0-1 (using 
.../postgresql-doc_8.4.0-2_all.deb) ...
Unpacking replacement postgresql-doc ...
...
Setting up postgresql-client-8.4 (8.4.0-2) ...
Setting up postgresql-8.4 (8.4.0-2) ...
Starting PostgreSQL 8.4 database server: mainThe PostgreSQL server failed to 
start. Please check the log output: failed!
 failed!
invoke-rc.d: initscript postgresql-8.4, action "start" failed.
dpkg: error processing postgresql-8.4 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-8.4; however:
  Package postgresql-8.4 is not configured yet.
dpkg: error processing postgresql (--configure):
 dependency problems - leaving unconfigured
Setting up postgresql-doc-8.4 (8.4.0-2) ...
Setting up postgresql-doc (8.4.0-2) ...
Setting up ttf-vlgothic (20090710-1) ...
Processing triggers for menu ...
Errors were encountered while processing:
 postgresql-8.4
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up postgresql-8.4 (8.4.0-2) ...
Starting PostgreSQL 8.4 database server: main.
Setting up postgresql (8.4.0-2) ...
Press return to continue.

I then tried:

/etc/init.d/postgresql-8.4 restart
Restarting PostgreSQL 8.4 database server: mainThe PostgreSQL server failed to 
start. Please check the log output: failed!
 failed!

but some time later:

/etc/init.d/postgresql-8.4 restart
Restarting PostgreSQL 8.4 database server: main.
victoria:/var/log/postgresql#

However, pgadminIII could not connect:

Error connecting to the server: could not connect to server: No such file or 
directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

yet:

ls -al /var/run/postgresql/.s.PGSQL.5432
ls: cannot access /var/run/postgresql/.s.PGSQL.5432: No such file or directory
victoria:/var/log/postgresql# ls -al /var/run/postgresql/
total 16
drwxrwsr-x  2 postgres postgres 4096 2009-07-12 17:29 .
drwxr-xr-x 34 root     root     4096 2009-07-12 17:01 ..
-rw-------  1 postgres postgres    6 2009-07-12 17:29 8.4-main.pid
srwxrwxrwx  1 postgres postgres    0 2009-07-12 17:29 .s.PGSQL.5433
-rw-------  1 postgres postgres   35 2009-07-12 17:29 .s.PGSQL.5433.lock

# cat /var/run/postgresql/.s*lock
19200
/var/lib/postgresql/8.4/main
victoria:/var/log/postgresql# ps -ef|grep 19200
postgres 19200     1  1 17:29 ?        00:00:06 
/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/main -c 
config_file=/etc/postgresql/8.4/main/postgresql.conf
postgres 19257 19200  0 17:29 ?        00:00:00 postgres: writer process        
                                                                                
postgres 19258 19200  0 17:29 ?        00:00:00 postgres: wal writer process    
                                                                                
postgres 19259 19200  0 17:29 ?        00:00:00 postgres: autovacuum launcher 
process                                                                         
  
postgres 19260 19200  0 17:29 ?        00:00:00 postgres: stats collector 
process                                                                         
      


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-rc2 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postgresql-8.4 depends on:
ii  libc6                    2.9-19          GNU C Library: Shared libraries
ii  libcomerr2               1.41.7-2        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libldap-2.4-2            2.4.15-1.1      OpenLDAP libraries
ii  libpam0g                 1.0.1-9         Pluggable Authentication Modules l
ii  libpq5                   8.4.0-2         PostgreSQL C client library
ii  libssl0.9.8              0.9.8k-3        SSL shared libraries
ii  libxml2                  2.7.3.dfsg-1    GNOME XML library
ii  locales                  2.9-19          GNU C Library: National Language (
ii  postgresql-client-8.4    8.4.0-2         front-end programs for PostgreSQL 
ii  postgresql-common        100             PostgreSQL database-cluster manage
ii  ssl-cert                 1.0.23          simple debconf wrapper for OpenSSL
ii  tzdata                   2009j-1         time zone and daylight-saving time

postgresql-8.4 recommends no packages.

Versions of packages postgresql-8.4 suggests:
ii  ident2 [ident-server]         1.05-1.2   An advanced ident daemon

-- debconf-show failed



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

Reply via email to