Project

General

Profile

Tâche #17088

Scénario #16747: Faire fonctionner Bareos pour EOLE 2.6.0

Erreurs Mysql lors de la restauration du catalogue Bareos

Added by Joël Cuissinat about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/14/2016
Due date:
% Done:

100%

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

Description

  • SR-T03-002 Restauration complète sur un serveur Scribe non instancié* pas n°7 :
    Restaurer le catalogue Bacula :
    bareosrestore.py --catalog $DIR_NAME
    
## Réinitialisation des mots de passe Mysql ##
Granting mysql tables
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1133 (42000) at line 2: Can't find any matching row in the user table
ERROR 1133 (42000) at line 3: Can't find any matching row in the user table
ERROR 1133 (42000) at line 4: Can't find any matching row in the user table
Privileges for user bareos granted ON database bareos.
Régénération du catalogue terminée

Le code SQL exécuté est le suivant :

USE mysql
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@localhost IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@'127.0.0.1' IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@'::1' IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';

La commande /usr/share/eole/sbin/bareosregen.sh n'affiche plus ces erreurs une fois le serveur instancié.


Related issues

Related to Documentations - Tâche #17092: Modification de fichiers et de commandes Bareos suite au passage à la 2.6.0 Fermé 09/15/2016

Associated revisions

Revision f6c22e03 (diff)
Added by Emmanuel GARETTE about 7 years ago

Séparation des options --catalog et --configeol

Avant l'instance, seul l'action --configeol est autorisé.
Après l'instance il sera nécessaire de restaurer le catalogue.

ref #17088 @1h

Revision 07d616c3 (diff)
Added by Emmanuel GARETTE about 7 years ago

séparation de extract_bareos_files et extract_configeol_files (ref #17088 @1h)

Revision 35f88938 (diff)
Added by Emmanuel GARETTE about 7 years ago

mise à jour des messages (ref #17088)

History

#1 Updated by Scrum Master about 7 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master about 7 years ago

  • Description updated (diff)
  • Assigned To set to Emmanuel GARETTE

#3 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from En cours to Résolu
  • Remaining (hours) changed from 2.0 to 0.25

#4 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 0.25 to 0.0

Test squash modifié et ré-exécuté.

Also available in: Atom PDF