Accéder au contenu.
Menu Sympa

fr - pb d'installation sur debian

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Mathieu Peltier <adresse@cachée>
  • To: adresse@cachée
  • Subject: pb d'installation sur debian
  • Date: 10 Apr 2002 17:21:13 +0200


Bonjour,

Nouveau sous debian, je voudrais installer sur une woody (testing) le package
sympa 3.3.3-2.

Je voudrais gerer sympa avec postgresql, mais l'installation echoue a la
creation de la base de donnees:

--------------------------------------
# dpkg-reconfigure sympa
Stopping mailing list manager: sympa.
Trying to configure your PostgreSQL database ...Failed

I was not able to configure your database because I could not
connect to the database server.
Please check that your properly installed and configured
the database server. You also may have entered wrong parameters at
configure time.
Once you resolve these problems, you can reconfigure this package
with the following command:
dpkg-reconfigure -plow sympa
--------------------------------------

Lors de l'install, ma config concernant la db est la suivante:

--------------------------------------
What is the hostname where your database is running?
localhost

What is the name of your Sympa database?
sympa

What is the password of the database user sympa?
(je rentre ici un mot de passe)

Special options are extra configuration parameters that could be required by
database connections in some cases.
<ENTER> (pas d'options)

What is your PostgreSQL database admin password?
(je rentre ici le mot de passe de l'user postgres)

Have you already configured your Sympa database?
No
--------------------------------------

J'ai essaye de lancer a la main le script /usr/share/sympa/db/install-pg-db
qui
est charge de la creation de l'user sympa et la base de donnes sympa:

Sous l'identite postgres ou root, on obtient:
> /usr/share/sympa/db/install-pg-db -a pg -d sympa
Name "main::opt_a" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 12.
Name "main::opt_d" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 13.
Name "main::opt_h" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 15.
Name "main::opt_o" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 17.
Name "main::opt_p" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 16.
Name "main::opt_u" used only once: possible typo at
/usr/share/sympa/db/install-pg-db line 14.
Use of uninitialized value in string eq at /usr/share/sympa/db/install-pg-db
line 23.
Use of uninitialized value in string ne at /usr/share/sympa/db/install-pg-db
line 39.
Unable to connect to Ident server on the host which is trying to connect to
Postgres (IP address 127.0.0.1, Port 113). errno = Connection refused (111)
IDENT authentication failed for user 'postgres'
DBI->connect(dbname=template1;host=localhost) failed: IDENT authentication
failed for user 'postgres' at /usr/share/sympa/db/install-pg-db line 44

Le pb est semble t'il un pb de config dans l'acces a la base (fichier
/etc/postgresql/pg_hba.conf et/ou /etc/postgresql/pg_ident.conf)??

Faut-il modifier ces fichiers? (le package sympa devrait le faire si besoin
pourtant?)

Le contenu actuel des fichiers est la config par defaut:

/etc/postgresql/pg_hba.conf
local all peer sameuser
host all 127.0.0.1 255.0.0.0 ident sameuser
host all 0.0.0.0 0.0.0.0 reject

/etc/postgresql/pg_ident.conf
#MAP IDENT POSTGRES USERNAME

#testmap robert bob
#testmap lucy lucy

Un grand merci d'avance pour votre aide.

--
Mathieu Peltier


  • pb d'installation sur debian, Mathieu Peltier, 10/04/2002

Archives gérées par MHonArc 2.6.19+.

Haut de le page