[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation postgresql



Le Mon, 12 Nov 2012 14:54:46 +0100,
Grégoire COUTANT <gregoire.coutant@gmail.com> a écrit :

> Bonjour,
> 
> Le 12/11/2012 12:22, Bzzz a écrit :
> >> Vous avez des idées ?
> >
> > /etc/postgresql/9.?/main/postgresql.conf
> > log_min_messages = debug5
> > log_min_error_statement = debug5
> > log_statement = 'all'
> 
> Excellente piste, mais j'ai vraiment un souci ;-) :
> 
> # ls -la /etc/ |grep postgre
> drwxr-xr-x  3 root root    4096 Nov 12 11:38 postgresql-common
> 
> Pas de dossier postgresql...
> 
> Bon je reprend tout à zéro :
> 
> # aptitude purge postgresql postgresql-client postgresql-common
> 	[blabla purge ok]
> 
> # aptitude clean
> 
> # aptitude search postgre |grep ^i
> 	[pas de sortie]
> 
> # aptitude install postgresql postgresql-client postgresql-common
> 	[blabla install ok]
> 
> # ls /etc/ |grep postgre
> postgresql-common
> 
> :-(
> 
> Je ne trouve pas où ça dysfonctionne. Les logs de postgresql sont
> vides, les logs d'aptitude ne détectent rien d'anormal :
> 
> Aptitude 0.6.3: log report
> Mon, Nov 12 2012 14:48:44 +0100
> 
> IMPORTANT: this log only lists intended actions; actions which fail
> due to dpkg problems may not be completed.
> 
> Will install 8 packages, and remove 0 packages.
> 26.1 MB of disk space will be used
> ===============================================================================
> [INSTALL, DEPENDENCIES] libpq5
> [INSTALL, DEPENDENCIES] postgresql-8.4
> [INSTALL, DEPENDENCIES] postgresql-client-8.4
> [INSTALL, DEPENDENCIES] postgresql-client-common
> [INSTALL, DEPENDENCIES] ssl-cert
> [INSTALL] postgresql
> [INSTALL] postgresql-client
> [INSTALL] postgresql-common
> ===============================================================================
> Log complete.
> 
> 
> Je dois louper un truc...
> 
> Greg
> 
bonjour,

	que donne le fichier de conf de postgresql "pg_hba.conf" ...
	en effet il faut le modifier afin de pouvoir accéder aux tables

	rtfm & help :

	http://docs.postgresql.fr/8.2/client-authentication.html
	http://archives.postgresql.org/pgsql-fr-generale/2011-02/msg00017.php

	slt
	bernard


Reply to: