|
|
|
|
Bonjour,
j' ai essayé d' installé tinyerp sous ubuntu mais ça n'a pas marché il affiche un message d' erreur cannot connect to the server et sur le terminal il affiche could not connect to database postgres: 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"?
qu'est ce que je peux faire pour resoudre ce probleme
merci d' avance
Configuration: Linux Firefox 2.0.0.14
Je te conseille d'installer postgre 8.3, qui est beaucoup plus rapide que le 8.2, ainsi que pgAdmin III.
|
Desolée du retard ,je suis sous ubuntu 804 client et serveur , je recois l'erreur:psql: could not connect to server: Connection refused
|
D'apres ce que je lis ici, ça voudrais simplement dire que le serveur n'est pas démarré :
> In any case, if the DB wasn't running you'd get connection refused > errors or similar. > > $ sudo /etc/init.d/postgresql-8.3 stop > [sudo] password for craig: > * Stopping PostgreSQL 8.3 database server > [ OK ] > $ psql > 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"? > $ psql -h 127.0.0.1 > psql: could not connect to server: Connection refused > Is the server running on host "127.0.0.1" and accepting > TCP/IP connections on port 5432? > > -- > Craig Ringer > (http://archives.postgresql.org/pgsql-general/2008-08/msg00691.php) En effet en regardant la doc Ubuntu, dès la première ligne je lis : "Il semblerait qu'un bug, blablabla" "pour y remédier entrer ceci dans une console : sudo pg_createcluster 8.3 main --start" (http://doc.ubuntu-fr.org/postgresql) |
D'abord,merci pour tes réponses .
|
Avant de taper "psql" commence par t'identifier avec
|
C l psql ki ma donné la première erreur Is the server running locally and accepting connections on Unix domain socket"/var/run/postgresql/.s.PGSQL.5432"
|