Bug #2305
Install failed for rudder-reports rpm on centos6
| Status: | Released | Start date: | 2012-02-20 | |
|---|---|---|---|---|
| Priority: | N/A | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | Rudder - 2.4.0~alpha7 | |||
| Pull Request: |
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 ?
Associated revisions
Fixes #2305: The rudder-reports has been updated to be RHEL6 compliant
History
#1
Updated by Olivier LI KIANG CHEONG about 1 year ago
Hi,
use this patch insteaf of first.
#2
Updated by Olivier LI KIANG CHEONG about 1 year ago
- File rudder-reports-fix-postgresql-starting.patch
added
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
#3
Updated by Matthieu CERDA about 1 year ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset efadeb2b8967d0052f7def489a1b110808eb0cfe.
#4
Updated by Matthieu CERDA about 1 year ago
- Target version set to 2.4.0~alpha7
#5
Updated by Jonathan CLARKE about 1 year ago
- Tracker changed from User story (meta) to Bug
- Category set to 11
- Status changed from Pending technical review to Released
- Assignee set to Matthieu CERDA
#6
Updated by Nicolas PERRON 3 months ago
- Project changed from Rudder to packages
- Category deleted (
11)