Project

General

Profile

Tâche #26110

Scénario #28737: Traitement express MEN (27-35)

mysql_pwd.py traceback lorsque MySQL n'est pas activé

Added by Gérald Schwartzmann almost 2 years ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/22/2019
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

root@seshat:~# mysql_pwd.py eole21 no
## Réinitialisation des mots de passe Mysql ##
Traceback (most recent call last):
  File "/usr/share/eole/sbin/mysql_pwd.py", line 224, in <module>
    mysql_ok()
  File "/usr/lib/python2.7/dist-packages/eolesql/mysqltest.py", line 29, in mysql_ok
    manage_services('stop', 'mysql', container='mysql', display='console')
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 219, in manage_services
    raise DisabledError(msg)
pyeole.service.error.DisabledError: cannot start disabled service mysql

Associated revisions

Revision 6ddd0a6f (diff)
Added by Joël Cuissinat about 1 year ago

Improve mysql_pwd.py script

Ref: #26110

History

#1 Updated by Joël Cuissinat almost 2 years ago

  • Subject changed from mysql_pwd.py traceback lorsque MySQL n'est pas installé to mysql_pwd.py traceback lorsque MySQL n'est pas activé

#2 Updated by Gilles Grandgérard over 1 year ago

  • Tracker changed from Demande to Scénario
  • Start date deleted (12/04/2018)

#3 Updated by Joël Cuissinat about 1 year ago

  • Assigned To set to Joël Cuissinat
  • Parent task set to #28737

#4 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Nouveau to Résolu
  • Start date set to 08/22/2019
  • % Done changed from 0 to 100

#5 Updated by Laurent Flori about 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

#6 Updated by Laurent Flori about 1 year ago

  • Estimated time set to 0.00 h

Test sur 2.7.1:

mysql_pwd.py eole21
## Réinitialisation des mots de passe Mysql ##
Modification impossible, le service mysql est désactivé

Also available in: Atom PDF