Subject: postgresql-9.0 won't install, complaining of permissions on server.key
Package: postgresql-9.0
Version: 9.0.3-1
Severity: important

I'm installing postgresql-9.0, and the install is
failing. It's saying
Setting up postgresql-9.0 (9.0.3-1) ...
Starting PostgreSQL 9.0 database server: mainThe PostgreSQL server
failed to start. Please check the log output: 2011-03-15 18:21:36 PDT
FATAL: private key file "server.key" has group or world access
2011-03-15 18:21:36 PDT DETAIL: File must be owned by the database
user or root, must have no write permission for "group", and must have
no permissions for "other". ... failed!
 failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-9.0; however:
 Package postgresql-9.0 is not configured yet.
dpkg: error processing postgresql (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                     configured to not write apport reports

    Errors were encountered while processing:
 postgresql-9.0
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

There are no files with the name server.key on the system, except for
one under the CUPS directory.

After purging postgresql-8.3, postgresql, postgresq-9.0, I get

Selecting previously deselected package postgresql-9.0.
(Reading database ... 144664 files and directories currently installed.)
Unpacking postgresql-9.0 (from .../postgresql-9.0_9.0.3-1_amd64.deb) ...
Setting up postgresql-9.0 (9.0.3-1) ...
Creating new cluster (configuration: /etc/postgresql/9.0/main, data:
/var/lib/postgresql/9.0/main)...
Moving configuration file /var/lib/postgresql/9.0/main/postgresql.conf
to /etc/postgresql/9.0/main...
Moving configuration file /var/lib/postgresql/9.0/main/pg_hba.conf to
/etc/postgresql/9.0/main...
Moving configuration file /var/lib/postgresql/9.0/main/pg_ident.conf
to /etc/postgresql/9.0/main...
Configuring postgresql.conf to use port 5432...
update-alternatives: using
/usr/share/postgresql/9.0/man/man1/postmaster.1.gz to provide
/usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
Starting PostgreSQL 9.0 database server: mainThe PostgreSQL server
failed to start. Please check the log output. ... failed!
 failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 postgresql-9.0
E: Sub-process /usr/bin/dpkg returned an error code (1)

and tail /var/log/postgresql/postgresql-9.0-main.log shows

2011-03-15 18:36:35 PDT FATAL:  private key file "server.key" has
group or world access
2011-03-15 18:36:35 PDT DETAIL:  File must be owned by the database
user or root, must have no write permission for "group", and must have
no permissions for "other".


-- System Information:
Debian Release: wheezy/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postgresql-9.0 depends on:
ii  libc6                       2.11.2-13    Embedded GNU C Library: Shared lib
ii  libcomerr2                  1.41.12-2    common error description library
ii  libgssapi-krb5-2            1.8.3+dfsg-5 MIT Kerberos runtime libraries - k
ii  libkrb5-3                   1.8.3+dfsg-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2               2.4.23-7     OpenLDAP libraries
ii  libpam0g                    1.1.2-2      Pluggable Authentication Modules l
ii  libpq5                      9.0.3-1      PostgreSQL C client library
ii  libssl0.9.8                 0.9.8o-5     SSL shared libraries
ii  libxml2                     2.7.8.dfsg-2 GNOME XML library
ii  locales                     2.11.2-13    Embedded GNU C Library: National L
ii  postgresql-client-9.0       9.0.3-1      front-end programs for PostgreSQL
ii  postgresql-common           114          PostgreSQL database-cluster manage
ii  ssl-cert                    1.0.28       simple debconf wrapper for OpenSSL
ii  tzdata                      2011d-1      time zone and daylight-saving time

postgresql-9.0 recommends no packages.

Versions of packages postgresql-9.0 suggests:
pn  oidentd | ident-server        <none>     (no description available)

-- no debconf information



-- 
Kie ekzistas vivo, ekzistas espero.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to