Project

General

Profile

Tâche #23760

Scénario #23658: Tests et qualification (17-19)

Message quotidien de scenari

Added by Joël Cuissinat almost 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Start date:
04/26/2018
Due date:
% Done:

100%

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

Description

Sujet : [sysadmin] Cron <root@scenari> /root/sauv-scenari.sh > /var/log/scenariBatch/backup.log
BUILD FAILED
/usr/share/scenariBatch/apps/backup/build.xml:24: The following error occurred while executing this line:
/usr/share/scenariBatch/lib/bdd.ant:21: Can't get http://scenari.eole.lan:8080/scenariserver4.0/s/chain/u/adminOdb?cdaction=BackupDb to /var/log/scenariserver4.0/scBatch/backup_err.log

Total time: 0 seconds
tar: Suppression de « / » au début des noms des membres

BUILD FAILED
/usr/share/scenariBatch/apps/backup/build.xml:33: The following error occurred while executing this line:
/usr/share/scenariBatch/lib/bdd.ant:29: Can't get http://scenari.eole.lan:8080/scenariserver4.0/s/chain/u/adminOdb?cdaction=EndBackup to /var/log/scenariserver4.0/scBatch/backup_err.log

Total time: 0 seconds

  • vérifier les messages d'erreur
  • vérifier que l'envoi de message s'effectue uniquement en cas d'erreur

History

#1 Updated by Scrum Master almost 3 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master almost 3 years ago

  • Description updated (diff)
  • Assigned To set to Gérald Schwartzmann

#3 Updated by Gérald Schwartzmann almost 3 years ago

Correction du chemin de scenari4.0 en scenari4.1

/usr/share/scenariBatch/apps/backup/backup.property

program.webapp.url=http://URL:8080/scenariserver4.1
program.user=xxx
program.password=xxx
program.logs.dir=/var/log/scenariserver4.1/scBatch
SCENARIbatch - 4.0.600
Buildfile: /usr/share/scenariBatch/apps/backup/build.xml

main:
     [echo] POST backup

backup.post:
      [get] Getting: http://scenari.eole.lan:8080/scenariserver4.1/s/chain/u/adminOdb?cdaction=EndBackup
      [get] To: /var/log/scenariserver4.1/scBatch/backup_err.log

BUILD SUCCESSFUL
Total time: 0 seconds
fin de la sauvegarde
root@scenari:/usr/share/scenariBatch# 

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

  • Remaining (hours) changed from 3.0 to 1.0

Il ne reste plus qu'à masquer le warning tar ;)

    De root <root@scenari.eole.lan>
 Sujet [sysadmin] Cron <root@scenari> /root/sauv-scenari.sh > /var/log/scenariBatch/backup.log

tar: Suppression de « / » au début des noms des membres

#5 Updated by Gérald Schwartzmann almost 3 years ago

  • Status changed from En cours to Résolu

#6 Updated by Scrum Master almost 3 years ago

  • Status changed from Résolu to En cours

#7 Updated by Gérald Schwartzmann almost 3 years ago

/etc/crontab
/root/sauv-scenari.sh > /var/log/scenariBatch/backup.log
vim /root/sauv-scenari.sh

http://www.gnu.org/software/tar/manual/html_node/absolute.html

#8 Updated by Gérald Schwartzmann almost 3 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.5

#9 Updated by Joël Cuissinat almost 3 years ago

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

OK plus de message ;)

Also available in: Atom PDF