Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] migration 5.3.3 ----> 5.4.5

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

Archives de la liste

Chronologique Discussions  
  • From: David Verdin <adresse@cachée>
  • To: Jean-Philippe Barriere <adresse@cachée>
  • Cc: adresse@cachée
  • Subject: Re: [sympa-fr] migration 5.3.3 ----> 5.4.5
  • Date: Mon, 09 Feb 2009 13:14:59 +0100

Bonjour,

Nous allons regarder le problème d'upgrade de plus près.
Concernant la mort du processus Sympa : lorsque sympa.pl meurt, il laisse un fichier <#id>.stderr dans le spool tmp/. <#id> correspond au numéro du processus qui vient de mourir. ce fichier contient les dernières erreurs avant la mort de Sympa. Si vous pouviez nous le fournir, cela faciliterait grandement la résolution du problème.

Cordialement,

Jean-Philippe Barriere a écrit :
adresse@cachée">bonjour,

petit soucis lors de la migration 5.3.3 vers 5.4.5
./configure  -> ok
make --> ok
make install -> ok

sympa.pl --upgrade
wwslib::load_config() Parameter icons_url in /etc/wwsympa.conf no more supported : No more used. Using static_content/icons instead.
Configuration file read, default log level 0
Upgrade::probe_db() Table session_table created in database sympa
Upgrade::probe_db() Field 'visibility_admin' (table 'admin_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field visibility_admin added to table admin_table
Upgrade::probe_db() Added INDEX 'user_index' in table 'admin_table'
Upgrade::probe_db() Field 'data_user' (table 'user_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field data_user added to table user_table
Upgrade::probe_db() Field 'data_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field data_session added to table session_table
Upgrade::probe_db() Field 'date_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field date_session added to table session_table
Upgrade::probe_db() Field 'email_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field email_session added to table session_table
Upgrade::probe_db() Field 'hit_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field hit_session added to table session_table
Upgrade::probe_db() Field 'id_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field id_session added to table session_table
Upgrade::probe_db() Field 'remote_addr_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field remote_addr_session added to table session_table
Upgrade::probe_db() Field 'robot_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field robot_session added to table session_table
Upgrade::probe_db() Field 'start_date_session' (table 'session_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field start_date_session added to table session_table
Upgrade::probe_db() Missing expected primary key : id_session
Upgrade::probe_db() Table session_table, PRIMARY KEY set on id_session
Upgrade::probe_db() Field 'custom_attribute_subscriber' (table 'subscriber_table' ; database 'sympa') was NOT found. Attempting to add it...
Upgrade::probe_db() Field custom_attribute_subscriber added to table subscriber_table
Upgrade::probe_db() Added INDEX 'user_index' in table 'subscriber_table'
Language::SetLang() Language::SetLang(), missing locale parameter
Can't locate object method "seek" via package "File::Temp" at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 1571.


2ieme lancement :
wwslib::load_config() Parameter icons_url in /etc/wwsympa.conf no more supported : No more used. Using static_content/icons instead.
Configuration file read, default log level 0
Sympa 5.4.5 started
Conf::checkfiles() creating spool /home/sympa/spool/automatic/bad
Conf::checkfiles() Updating static CSS file /home/sympa/static_content/css/style.css ; previous file renamed
Conf::checkfiles() Updating static CSS file /home/sympa/static_content/css/print.css ; previous file renamed
Conf::checkfiles() Updating static CSS file /home/sympa/static_content/css/fullPage.css ; previous file renamed
Conf::checkfiles() Updating static CSS file /home/sympa/static_content/css/print-preview.css ; previous file renamed
Language::SetLang() Language::SetLang(), missing locale parameter
Can't locate object method "seek" via package "File::Temp" at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 1571.


3ime lancement
wwslib::load_config() Parameter icons_url in /etc/wwsympa.conf no more supported : No more used. Using static_content/icons instead.
Configuration file read, default log level 0
Sympa 5.4.5 started
Upgrade process...
Upgrading from 5.3.3 to 5.4.5...
Upgrade::upgrade() Upgrade::upgrade(5.3.3, 5.4.5)
Upgrade::upgrade() Rebuilding config.bin files for ALL lists...it may take a while...
Upgrade::upgrade() Rebuilding the admin_table...
Upgrade::upgrade() Looking for lists with user_data_source parameter set to file or database...
Upgrade process finished.



probleme en suivant démarrage des services :
[root@Ulysse sympa]# /etc/init.d/sympa start
Starting Sympa subsystem:
Starting module sympa.pl:                                       [  OK  ]
Starting module archived.pl:                                    [  OK  ]
Starting module bounced.pl:                                     [  OK  ]
Starting module task_manager.pl:                                [  OK  ]

[root@Ulysse sympa]# /etc/init.d/sympa status
Status of Sympa subsystem:
Status file for subsystem found.
sympa.pl is stopped
archived.pl (pid 17136) is running...
bounced.pl (pid 17145) is running...
task_manager.pl (pid 17158) is running...


sympa.pl stoppe sans prévenir, les logs en level 4 n'indiquent rien de flagrant :
Feb  9 10:38:14 ulysse sympa[16532]: Configuration file read, default log level 4
Feb  9 10:38:14 ulysse sympa[16532]: Upgrade::probe_db() List::probe_db()
Feb  9 10:38:14 ulysse sympa[16532]: List::db_connect() List::db_connect
Feb  9 10:38:14 ulysse sympa[16532]: SQLSource::connect() Connected to Database sympa
Feb  9 10:38:14 ulysse sympa[16532]: List::db_connect() Connected to Database sympa
Feb  9 10:38:14 ulysse sympa[16532]: List::db_get_handler() List::db_get_handler
Feb  9 10:38:14 ulysse sympa[16532]: List::_apply_defaults() List::_apply_defaults()
Feb  9 10:38:14 ulysse sympa[16532]: tools::cookie_changed() cookie is stable
Feb  9 10:38:14 ulysse sympa[16532]: Starting server for all purpose
Feb  9 10:38:14 ulysse sympa[16532]: Server started for all, pid 16535
Feb  9 10:38:14 ulysse sympa[16532]: all server started, pid 16535, exiting from initial process
Feb  9 10:38:14 ulysse sympa[16535]: Running server 16535 for sympa purpose 
Feb  9 10:38:14 ulysse sympa[16535]: Sympa 5.4.5 started
Feb  9 10:38:14 ulysse sympa[16535]: tools::make_tt2_include_path() tools::make_tt2_include_path(enit.fr,web_tt2,,)
Feb  9 10:38:14 ulysse sympa[16535]: Language::SetLang() Language::SetLang(fr)
Feb  9 10:38:14 ulysse sympa[16535]: List::init_list_cache() List::init_list_cache()
Feb  9 10:38:14 ulysse sympa[16535]: mail::reaper() Reaper unwaited pids :  Open = 0
Feb  9 10:38:14 ulysse sympa[16535]: Processing /adresse@cachée with priority 1
Feb  9 10:38:14 ulysse sympa[16535]: main::DoFile() DoFile(/adresse@cachée)
Feb  9 10:38:14 ulysse sympa[16535]: Message::new() Message::new(/adresse@cachée,)


je dispose des sauvegardes du /home/sympa et de la BD avant update mais avant de revenir en arriere dans la mise a jour si quelqu'un a une idée...

"Sympa upgrade is a relatively riskless opération"
(doc sympa) ^^
--

Barrière Jean-Philippe
Administrateur Systèmes et Réseaux
Centre de Ressources Informatiques
Ecole Nationale d'Ingénieurs de Tarbes
47, avenue d'azereix - 65000 Tarbes
tel : 05 62 44 29 40
http://www.enit.fr



-- 
David Verdin
Comité réseau des universités



Archives gérées par MHonArc 2.6.19+.

Haut de le page