Projet

Général

Profil

Tâche #15795

Scénario #16264: Étudier le dysfonctionnement de Bareos + MySQL sur EOLE 2.6

Erreurs à l'installation des bases MySQL bareos sur 2.6

Ajouté par Joël Cuissinat il y a environ 8 ans. Mis à jour il y a presque 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
06/04/2016
Echéance:
% réalisé:

100%

Temps estimé:
4.00 h
Temps passé:
Restant à faire (heures):
0.0

Description

## Réinitialisation des mots de passe Mysql ##
Warning: failed to get "dbname" from config, using default value "bareos", see /tmp/bareos-config.3982.log
Warning: failed to get "dbuser" from config, using default value "bareos", see /tmp/bareos-config.3982.log
Warning: failed to get "dbdriver" from config, see /tmp/bareos-config.3982.log
Creating mysql database
mysql: [Warning] Using a password on the command line interface can be insecure.
Creating of bareos database succeeded.
Warning: failed to get "dbname" from config, using default value "bareos", see /tmp/bareos-config.4018.log
Warning: failed to get "dbuser" from config, using default value "bareos", see /tmp/bareos-config.4018.log
Warning: failed to get "dbdriver" from config, see /tmp/bareos-config.4018.log
Making mysql tables
Warning: failed to get "dbpassword" from config, see /tmp/bareos-config.4018.log
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1067 (42000) at line 88: Invalid default value for 'CleaningDate'
ERROR 1067 (42000) at line 107: Invalid default value for 'SchedTime'
ERROR 1067 (42000) at line 140: Invalid default value for 'SchedTime'
ERROR 1067 (42000) at line 180: Invalid default value for 'Date'
ERROR 1067 (42000) at line 192: Invalid default value for 'CreateTime'
ERROR 1067 (42000) at line 215: Invalid default value for 'FirstWritten'
ERROR 1067 (42000) at line 310: Invalid default value for 'Time'
ERROR 1171 (42000) at line 379: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
Creation of Bareos MySQL tables succeeded.
## Réinitialisation des mots de passe Mysql ##
Warning: failed to get "dbname" from config, using default value "bareos", see /tmp/bareos-config.4075.log
Warning: failed to get "dbuser" from config, using default value "bareos", see /tmp/bareos-config.4075.log
Warning: failed to get "dbpassword" from config, see /tmp/bareos-config.4075.log
Warning: failed to get "dbdriver" from config, see /tmp/bareos-config.4075.log
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
Suppression des anciens rapports d'état
Stop Systemd service mysql 

Demandes liées

Lié à eole-bareos - Scénario #16747: Faire fonctionner Bareos pour EOLE 2.6.0 Terminé (Sprint) 06/09/2016 23/09/2016
Dupliqué par eole-bareos - Tâche #16521: Résoudre SegFault 'libbareoscats-mysql.so' sur EOLE 2.6.0 Fermé 16/06/2016 08/07/2016

Historique

#1 Mis à jour par Laurent Flori il y a presque 8 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Laurent Flori il y a presque 8 ans

  • Description mis à jour (diff)
  • Assigné à mis à Laurent Flori

#3 Mis à jour par Joël Cuissinat il y a presque 8 ans

  • Statut changé de En cours à Nouveau
  • Assigné à Laurent Flori supprimé
  • Tâche parente changé de #15762 à #16264

#4 Mis à jour par Klaas TJEBBES il y a presque 8 ans

  • Assigné à mis à Klaas TJEBBES

#5 Mis à jour par Klaas TJEBBES il y a presque 8 ans

root@horus26k:~# cat /tmp/bareos-config.6103.log
21-juin 14:35 dbcheck JobId 0: Error: Unable to load shared library: /usr/lib/bareos/backends/libbareoscats-mysql.so ERR=<NULL>
21-juin 14:35 dbcheck ABORTING due to ERROR
Unable to load any shared library for libbareoscats-mysql.so
Error: executing /usr/sbin/bareos-dbcheck -B -c /etc/bareos/bareos-dir.conf

Le bug est connu chez bareos et corrigé dans certaines versions mais pas celle d'ubuntu (bareos 14.2.6)

https://groups.google.com/forum/#!topic/bareos-users/7_bTpp1DKCk

Il existe des paquets pour Debian 8 :

http://download.bareos.org/bareos/release/15.2/Debian_8.0/

mais ils dépendent d'un paquet qu'Ubuntu n'a pas :

Les paquets suivants contiennent des dépendances non satisfaites :
 bareos-database-mysql : Dépend: libmysqlclient18 (>= 5.5.24+dfsg-1) mais il n'est pas installable

# apt install libmysqlclient18
E: Le paquet « libmysqlclient18 » n'a pas de version susceptible d'être installée

# apt search  libmysqlclient
libmysqlclient20/xenial-security,xenial-updates,now 5.7.12-0ubuntu1 amd64  [installé, automatique]
  Bibliothèque cliente de la base de données MySQL

Signalement launchpad.
https://bugs.launchpad.net/ubuntu/+source/bareos/+bug/1595105

#6 Mis à jour par Klaas TJEBBES il y a presque 8 ans

  • Statut changé de Nouveau à En cours

#7 Mis à jour par Scrum Master il y a presque 8 ans

  • Statut changé de En cours à Fermé
  • Restant à faire (heures) changé de 4.0 à 0.0

Rapport de bug ouvert chez Ubuntu.
Scénario de suivi créé (#16747).

#8 Mis à jour par Daniel Dehennin il y a presque 8 ans

  • % réalisé changé de 0 à 100

Formats disponibles : Atom PDF