Project

General

Profile

Tâche #16589

Distribution EOLE - Scénario #16516: Traitement express (25-27)

Arrêt journalier du service Proftpd [FTP] en 2.5.2

Added by Richard Perruchet over 3 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/21/2016
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Le service FTP "Proftpd" est stoppé tous les matins.
Il faut relancer le service tous les matins : "service proftpd start".
Peut-être que le service Bareos (Bacula) ne relance pas le service FTP après la fin de la sauvegarde ?
Problème constaté seulement sur les Scribes en 2.5.2


Related issues

Related to eole-proftpd - Tâche #19581: EOLE 2.5.X : erreur dans le diagnose : Scripts d'init pas à jour - proftpd (root) Fermé 03/09/2017

Associated revisions

Revision 2612ac5a (diff)
Added by Joël Cuissinat over 3 years ago

Correction du script d'init de proftpd en posttemplate

Ref: #16589 @1h

Revision 72b9f3d7 (diff)
Added by Joël Cuissinat over 3 years ago

Revert "Correction du script d'init de proftpd en posttemplate"

This reverts commit 2612ac5a59d455d5c3f0ddef1c9f5af08c9525d2.

Ref: #16589 [2.6.0]

History

#1 Updated by Joël Cuissinat over 3 years ago

C'est plutôt lié à la rotation des logs, en tout cas cela se simule facilement !

root@scribe:~# service proftpd status
ProFTPD is started in standalone mode, currently running.
root@scribe:~# logrotate -f  /etc/logrotate.d/proftpd-basic
root@scribe:~# service proftpd status
ProFTPD is started in standalone mode, currently not running.

Le bug est bien remonté upstream mais au vu des commentaires, il ne sera certainement plus résolu sur la 14.04 :(
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245

En même temps, d'après le fichier logrotate le problème ne devrait être "que" weekly ...

#2 Updated by Joël Cuissinat over 3 years ago

Ou plus simplement :

root@scribe:~# service proftpd restart
 * Stopping ftp server proftpd                [ OK ] 
 * Starting ftp server proftpd                [ OK ] 
root@scribe:~# service proftpd status
ProFTPD is started in standalone mode, currently not running.

#3 Updated by Joël Cuissinat over 3 years ago

  • Project changed from Scribe to eole-proftpd
  • Assigned To set to Joël Cuissinat
  • Estimated time set to 2.00 h
  • Parent task set to #16516

#4 Updated by Joël Cuissinat over 3 years ago

  • Status changed from Nouveau to En cours
  • Remaining (hours) set to 1.0

#5 Updated by Joël Cuissinat over 3 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

Revert du commit pour EOLE >= 2.6.0

#6 Updated by Scrum Master over 3 years ago

  • Status changed from En cours to Résolu

#7 Updated by Bruno Boiget over 3 years ago

  • Remaining (hours) changed from 0.25 to 0.0

après mise à jour :

root@scribe:~# cat /etc/init.d/proftpd 
    if [ -f "$PIDFILE" ]; then
        start-stop-daemon --stop --signal $SIGNAL --quiet --retry 1 --pidfile "$PIDFILE" 
        if [ $? = 0 ]; then
root@scribe:~# service proftpd status
ProFTPD is started in standalone mode, currently running.
root@scribe:~# service proftpd restart
 * Stopping ftp server proftpd                                                                                                                                                                                                        [ OK ] 
 * Starting ftp server proftpd                                                                                                                                                                                                        [ OK ] 
root@scribe:~# service proftpd status
ProFTPD is started in standalone mode, currently running.

#8 Updated by Bruno Boiget over 3 years ago

  • Status changed from Résolu to Fermé

#9 Updated by Joël Cuissinat over 2 years ago

  • Related to Tâche #19581: EOLE 2.5.X : erreur dans le diagnose : Scripts d'init pas à jour - proftpd (root) added

Also available in: Atom PDF