reoppen 336157 thank Jean Charles Delepine <[EMAIL PROTECTED]> écrivait (wrote) :
> You still want pass_required to be set to 1 in prepare_db. Once this problem fixed, you still get : Setting up sympa (5.2.3-0.4) ... Use of uninitialized value in string ne at /usr/share/sympa/db/install-mysql-db line 62. This one is here (install-mysql-db.pl : if ($options ne "") { $dsn .= ";$options"; } I get rid of it with if ($options && ($options ne "")) sympa database and user are finally crated and, then : DBI connect('dbname=sympa;host=localhost','sympa',...) failed: Access denied for user 'sympa'@'localhost' (using password: YES) at /usr/lib/sympa/bin/List.pm line 1326 DBI connect('dbname=mysql;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/lib/sympa/bin/List.pm line 11080 Cannot connect as root to database In prepare_db you have : db_get sympa/db_adminpasswd conffile=`tempfile -m 0600` perl -ne 'print unless /^\s+db_(passwd|user)/' /etc/sympa/sympa.conf > $conffile cat <<EOT >> $conffile db_passwd $RET And then : if /usr/lib/sympa/bin/sympa.pl -f $conffile --prepare_db; then Here you are trying to use root password on sympa user. sympa then try to connect itself as root, wiyhout password in order to create user and database. Language::SetLang(), missing locale parameter Database sympa defined in sympa.conf has not the right structure or is unreachable. If you don't use any database, comment db_xxx parameters in sympa.conf apache: installation seems OK ... Anyway, the base and users are created, the real conf file is good and FastCGI module not found. Not configuring for FastCGI. Restarting apache 1.3 web server.... Starting mailing list manager: sympaDBD::mysql::db do failed: Can't DROP 'PRIMARY'; check that column/key exists at /usr/lib/sympa/bin/List.pm line 10983. Sympa start to populate the base (you should mask those messages if you don't want to much bug report : here thing are going well. DBD::mysql::db do failed: Can't DROP 'robot_netidmap'; check that column/key exists at /usr/lib/sympa/bin/List.pm line 11002. The base is uptodate, creating /etc/sympa/data_structure.version : Dec 20 07:18:19 test sympa[27206]: Unable to write /etc/sympa/data_structure.ver sion ; sympa.pl needs write access on /etc/sympa directory : Permission denied Badaboum, we can't. Too bad. Stefen, data_structure.version needs to be written, and not only at upgrade time. These problems are fixed in my tree. -- > R : Tu vois ! || Jean Charles Delépine - Université de Picardie > > Q : Tu crois ? > > > R : Ça casse l'ordre chronologique de l'échange. > > > > Q : En quoi répondre au dessus est-il gênant ?