Project

General

Profile

Actions

Bug #2390

closed

rudder-reports fails if postgresql isn't started

Added by Nicolas PERRON over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If postgresql is already installed and is stopped, rudder-reports will fail.

[...]
Setting up rudder-reports (2.3.7~rc1~git201203260921-squeeze0) ...
Reloading enhanced syslogd: rsyslogd.
psql: 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"?
dpkg: error processing rudder-reports (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of rudder-webapp:
 rudder-webapp depends on rudder-reports; however:
  Package rudder-reports is not configured yet.
dpkg: error processing rudder-webapp (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rudder-server-root:
 rudder-server-root depends on rudder-webapp; however:
  Package rudder-webapp is not configured yet.
dpkg: error processing rudder-server-root (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                                                                                                  Errors were encountered while processing:
 rudder-reports
 rudder-webapp
 rudder-server-root
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]
Actions

Also available in: Atom PDF