phpcompta-support
[Top][All Lists]
Advanced

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

[Fwd: Re: [Phpcompta-support] _LINE_ test has failed !!]


From: Jean Marc Briand
Subject: [Fwd: Re: [Phpcompta-support] _LINE_ test has failed !!]
Date: Tue, 12 Apr 2005 12:57:20 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Pardon pour le forward de mon propre message, mais mon adresse "rudu" ne sait que recevoir les mails de la liste sans parvenir à envoyer... on dirait ??

-------- Message original --------
Sujet:  Re: [Phpcompta-support] _LINE_ test has failed !!
Date:   Mon, 11 Apr 2005 18:04:43 +0200
De:     rudu <address@hidden>
Pour:   address@hidden
Références: <address@hidden> <address@hidden>



Dany De Bontridder a écrit :

On Fri, 08 Apr 2005 17:07:33 +0200
Jean Marc Briand wrote:
(...)
*Warning*: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: `Ä9@ Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? in */var/www/applis/phpcompta/include/postgres.php* on line *138*


   __LINE__ test has failed !!!

Je sais plus trop quoi chercher...
En fait, pour que php (d'apache) soit capable d'accèder aux db il faut que
celles-ci utilisent un socket TCP/IP

Donc le problème est là tout simplement.

voir http://www.alchimerys.be/FR/phpcompta/doc/INSTALL-fr-1.html#ss1.2

Merci, ça m'a permis d'avancer un peu.
Le problème est que l'outil d'installation des paquets sous Debian Testing m'a collé Apache, php4 et postgresql sans trop m'indiquer ni comment ni où les configurer ... Suite à votre indication, j'ai trouvé dans le fichier /var/www/data/psql/postgres.conf une option tcpip_socket qui était commentée. Au redémarrage du serveur, bonne nouvelle, le message d'erreur TCP/IP a disparu.
Mauvaise nouvelle, j'en ai un autre:
----------------------------------------------------------------------
*Warning*: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "phpcompta" in */var/www/applis/phpcompta/include/postgres.php* on line *138*


  __LINE__ test has failed !!!

-----------------------------------------------------------------------

Dans un terminal, connecté en tant que phpcompta:
address@hidden:~$psql account_repository
Et j'arrive sans prob au prompt de commande postgresql
Mais connecté en tant que postgres:
address@hidden:/home/jean/$psql -d account_repository -U phpcompta
psql: FATAL: ident authentication failed for user "phpcompta"

Si vous avez une piste, je suis preneur  ;c)

Jean Marc Briand
UBAPAR






reply via email to

[Prev in Thread] Current Thread [Next in Thread]