[Pkg-postgresql-public] Bug#705337: postgresql: Error: Could not create log file (fails to start)

David M Smith sidicas2 at gmail.com
Sat Apr 13 10:03:20 UTC 2013


Package: postgresql-9.1
Version: 9.1.9-1
Severity: important

Hello,


I have my /var/log stored on ramdisk/tmpfs so that everytime I reboot, my logs
get wiped Normally that isn't a problem, but for postgresql, it is as
postgresql will not start automatically after reboot..


Aya:/home/david# /etc/init.d/postgresql start
[FAIL] Starting PostgreSQL 9.1 database server: main[....] Error: Could not
create log file /var/log/postgresql/postgresql-9.1-main.log ... failed!
 failed!
Aya:/home/david# mkdir /var/log/postgresql
Aya:/home/david# /etc/init.d/postgresql start
[ ok ] Starting PostgreSQL 9.1 database server: main.
Aya:/home/david#


So everytime I reboot, I need to make a directory for postgres to store it's
log files, not fun!



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgresql-9.1 depends on:
ii  libc6                  2.13-38
ii  libcomerr2             1.42.5-1.1
ii  libgssapi-krb5-2       1.10.1+dfsg-5
ii  libkrb5-3              1.10.1+dfsg-5
ii  libldap-2.4-2          2.4.31-1
ii  libpam0g               1.1.3-7.1
ii  libpq5                 9.1.9-1
ii  libssl1.0.0            1.0.1e-2
ii  libxml2                2.8.0+dfsg1-7+nmu1
ii  locales                2.13-38
ii  postgresql-client-9.1  9.1.9-1
ii  postgresql-common      134wheezy3
ii  ssl-cert               1.0.32
ii  tzdata                 2013b-2

postgresql-9.1 recommends no packages.

Versions of packages postgresql-9.1 suggests:
pn  locales-all             <none>
pn  oidentd | ident-server  <none>



More information about the Pkg-postgresql-public mailing list