Project

General

Profile

Actions

Bug #2835

closed

Rudder 2.4.0~beta3 fails to install Rudder server at rudder-reports stage with error message about "connections on Unix domain socket"

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

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

Description

During installation, rudder-reports fails with these messages:

[...]
Setting postgresql as a boot service
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
/var/tmp/rpm-tmp.aVk9Hl: line 19: [: -ne : opérateur unaire attendu
/var/tmp/rpm-tmp.aVk9Hl: line 22: [: -ne : opérateur unaire attendu
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: n'a pas pu se connecter au serveur : Connexion refusée
    Le serveur est-il actif sur l'hôte « localhost » et accepte-t-il les connexions
    TCP/IP sur le port 5432 ?
warning: %post(rudder-reports-1344966605:2.4.0.beta3-1.EL.6.noarch) scriptlet failed, exit status 2
[...]

It results in a rudder database which is missing and the Webapp can't be started:

[...]
Caused by: 
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "rudder")
[...]

[...]
R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@00@@reports@@None@@2012-08-22 12:15:56-04:00##root@#The OpenLDAP configuration file is OK (checked rootdn password)
psql: FATAL:  password authentication failed for user "rudder" 
 -> Executing '/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '1195d7218ad6'"' ...(timeout=-678,owner=26,group=-1)
 !! Finished command related to promiser "/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '1195d7218ad6'"" -- an error occurred (returned 1)
Q: "...r/bin/psql -q -": ERROR:  role "rudder" does not exist
[...]
Actions

Also available in: Atom PDF