Project

General

Profile

Actions

Bug #2305

closed

Install failed for rudder-reports rpm on centos6

Added by Olivier LI KIANG CHEONG about 12 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi,
the problem that I encountered while installing rudder-reports rpm on centos6.
This patch fix the starting of postgresql.

Installing : 1299256513:rudder-reports-2.3.6-1.el6.noarch                                                                                            38/65 
Non-fatal POSTIN scriptlet failure in rpm package 1299256513:rudder-reports-2.3.6-1.el6.noarch

/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
[ÉCHOUÉ]
sed: impossible de lire /var/lib/pgsql/data/pg_hba.conf: Aucun fichier ou dossier de ce type
sed: impossible de lire /var/lib/pgsql/data/pg_hba.conf: Aucun fichier ou dossier de ce type
Setting postgresql as a boot service
psql: n'a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /tmp/.s.PGSQL.5432 » ?
psql: n'a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /tmp/.s.PGSQL.5432 » ?
/var/tmp/rpm-tmp.zeJtjG: line 12: [: -ne : opérateur unaire attendu
/var/tmp/rpm-tmp.zeJtjG: line 15: [: -ne : opérateur unaire attendu
psql: n'a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /tmp/.s.PGSQL.5432 » ?
psql: n'a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /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 ?
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 ?


Files

rudder-reports-fix-psql.patch (498 Bytes) rudder-reports-fix-psql.patch Olivier LI KIANG CHEONG, 2012-02-20 15:25
rudder-reports-fix-postgresql-starting.patch (668 Bytes) rudder-reports-fix-postgresql-starting.patch Olivier LI KIANG CHEONG, 2012-02-27 09:42
Actions #1

Updated by Olivier LI KIANG CHEONG about 12 years ago

Hi,
use this patch insteaf of first.

Actions #2

Updated by Olivier LI KIANG CHEONG about 12 years ago

Hi,
use this patch instead of first.
On centos6
  • postgresql not starting on boot, need use "chkconfig postgresql on"
  • Need init postgresql "/etc/init.d/postgresql initdb" because pg_hba.conf file dont exist
Actions #3

Updated by Matthieu CERDA about 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:efadeb2b8967d0052f7def489a1b110808eb0cfe.

Actions #4

Updated by Matthieu CERDA almost 12 years ago

  • Target version set to 2.4.0~alpha7
Actions #5

Updated by Jonathan CLARKE almost 12 years ago

  • Tracker changed from User story to Bug
  • Category set to 11
  • Status changed from Pending technical review to Released
  • Assignee set to Matthieu CERDA
Actions #6

Updated by Nicolas PERRON about 11 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #7

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF