erreur sur l'exécution start_oo.sh

cancel
Showing results for 
Search instead for 
Did you mean: 
nat82
Member II

erreur sur l'exécution start_oo.sh

Bonjour,

J'ai un serveur linux debian que j'ai virtualisé pour tester ; mysql ; JDK 6
j'ai suivi la procédure d'installation avec alfresco-labs-tomcat-3c.tar.
j'ai installé openoffice et imagemagick. Là je bloque sur la phase de configuration des scripts de démarrage. Notamment sur le script start_oo.sh
 #!/bin/sh
  2 # —————————————————————
  3 #start script for the OpenOffice trasform service
  4 # —————————————————————
  5
  6 echo "Sarting OpenOffice service…"
  7
  8 Xvfb :1 -screen 0 800x600x16 -fbdir /usr/src > /dev/null 2>&1 &export DISPLAY=:1 /usr/bin/office "-accept=    socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
quand je l'exécute ; voici les erreurs :
./start_oo.sh: line 8: export: `/usr/bin/office': not a valid identifier
./start_oo.sh: line 8: export: `-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager': not a valid identifier
./start_oo.sh: line 8: export: `-nologo': not a valid identifier
./start_oo.sh: line 8: export: `-headless': not a valid identifier
./start_oo.sh: line 8: export: `-nofirststartwizard': not a valid identifier
Merci pour votre aide.
bonne journée
Nathalie
1 Reply
nat82
Member II

Re: erreur sur l'exécution start_oo.sh

j'ai trouvé mon erreur. C'était une erreur de syntaxe dans le fichier start_oo.sh.
c'est des erreurs toutes bêtes qui font perdre du temps.
Désolé pour ce post.
Bonne fin d'après-midi.