Project

General

Profile

Tâche #28795

Scénario #28683: Fournir la procédure de migration Upgrade-Auto d'un ScribeAD 2.6.2 vers Scribe 2.7.1

Le service bareos-dir n’est pas stoppé lors de l’instance.

Added by Benjamin Bohard about 2 months ago. Updated 14 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Start date:
06/25/2019
Due date:
% Done:

0%

Remaining (hours):
0.0

Description

Au moment de faire l’instance, le service bareos-dir est dans l’état suivant :

● bareos-dir.service - LSB: Bareos Director
   Loaded: loaded (/etc/init.d/bareos-dir; generated)
   Active: active (exited) since Wed 2019-07-31 17:06:00 CEST; 4s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2881 ExecStart=/etc/init.d/bareos-dir start (code=exited, status=0/SUCCESS)

juil. 31 17:05:59 scribe su[2919]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
juil. 31 17:05:59 scribe su[2919]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
juil. 31 17:05:59 scribe su[2919]: nss_ldap: could not search LDAP server - Server is unavailable
juil. 31 17:05:59 scribe su[2919]: pam_unix(su:session): session opened for user bareos by (uid=0)
juil. 31 17:06:00 scribe bareos-dir[2881]: bareos-dir: dird.c:1157-0 Could not open Catalog "MyCatalog", database "bareos".
juil. 31 17:06:00 scribe bareos-dir[2881]: bareos-dir: dird.c:1162-0 Version error for database "bareos". Wanted 2004, got 2003
juil. 31 17:06:00 scribe bareos-dir[2881]: [41B blob data]
juil. 31 17:06:00 scribe bareos-dir[2881]: Please correct the configuration in /etc/bareos/bareos-dir.conf
juil. 31 17:06:00 scribe su[2919]: pam_unix(su:session): session closed for user bareos
juil. 31 17:06:00 scribe systemd[1]: Started LSB: Bareos Director.

Durant l’instance, le service n’est pas stoppé donc le redémarrage qui suit est sans effet.

Associated revisions

Revision 16ae38cf (diff)
Added by Benjamin Bohard about 2 months ago

Stop bareos-dir service at preservice time.

Ref #28795

Revision a2c9958e (diff)
Added by Benjamin Bohard about 2 months ago

Install preservice script

Ref #28795

Revision 0b91ea4d (diff)
Added by Benjamin Bohard about 2 months ago

Prevent script from interrupting reconfigure.

Ref #28795

History

#1 Updated by Benjamin Bohard about 2 months ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard about 2 months ago

Solution simple : s’assurer que bareos-dir est bien stoppé avant de gérer les services par creole.

#3 Updated by Benjamin Bohard about 2 months ago

  • Status changed from En cours to Résolu

#4 Updated by Gilles Grandgérard 14 days ago

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

Also available in: Atom PDF