Your message dated Fri, 2 Sep 2011 14:22:26 +0200
with message-id <[email protected]>
and subject line Re: Bug#618532: postgresql-9.0 won't install, complaining of 
permissions on server.key
has caused the Debian Bug report #618532,
regarding postgresql-9.0 won't install, complaining of permissions on server.key
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
618532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618532
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.



--- End Message ---
--- Begin Message ---
Re: David Starner 2011-09-01 
<CAMZ=zj7wlbdg3esbnayby8bycwm0jeknp_njohxsdw3u+jl...@mail.gmail.com>
> On Wed, Aug 31, 2011 at 3:02 AM, Christoph Berg <[email protected]> wrote:
> > What user/group own this file? Can you still reproduce the problem?
> 
> root/ssl-cert. Honestly, postgresql was something I was playing with;
> I don't really have the interest in trying to reproduce it now. Feel
> free to close it if you want. Sorry.

Will do. Thanks for the reply!

Christoph
-- 
[email protected] | http://www.df7cb.de/


--- End Message ---

Reply via email to