View Full Version : Ausführen von bin/sopinstall.sh nicht möglich [solved]
Hallo,
ich habe ESB 3.2 von der Website heruntergeladen, und möchte nun
wie in der Anleitung beschrieben im Verzeichnis
RuntimeFramework/Binaries/unix/SOPinstall
das Script
bin/sopinstall -i
ausführen.
Leider meldet sh folgenden Fehler:
-sh: ./bin/sopinstall.sh: /bin/sh^M: bad interpreter: No such file or directory
Vim meldet, die Datei sei im DOS Format, ich tippe die Zeilenendungen sind falsch? Liegt der Fehler evt. woanders?
Ich versuche das Script unter Debian 4.0 auszuführen.
Danke
Johannes
CarstenBiermann
27.03.2009, 17:34
Hallo Johannes,
leider haben wir in diesem Download Skripte im DOS Format.
cd <INST_DIR>/Binaries/unix/SOPinstall
find . -name \*.sh -exec dos2unix {} \;
wird helfen.
Im Download der DVD tritt dieser Fehler nicht auf.
Carsten
And here for our english speaking members:
Symptom:
During the installation of SOPERA ESB 3.2 (RuntimeFramework_3_2_0_B001.tar.gz) you get the following error message: bad interpreter.
Cause:
The .sh file installation scripts contain [CRLF]
Solution:
Run the following command after the installation files on the Linux server.
cd <INST_DIR>/Binaries/linux/SOPinstall
find . -name \*.sh -exec dos2unix {} \;
This does not apply to the DVD ISO image
We will provide a new download asap.
Now everything works fine.
The installation went smothly on debian, except that I had to install bc.
I have not tested the installation though.
Just for completeness' sake I want to mention the dos2unix tool which takes care of converting textfiles from dos to unix format. You can find a short description how to install it on Debian here:
http://www.ducea.com/2006/06/06/install-dos2unix-on-debian/
You are right, you need to install bc (and unzip) on a stock Debian install before you can run the SOPERA installer. After that, you should be fine. If you run into any issues, please let me know.
Best regards
Jerry Preissler (SOPERA)
A new installation (RuntimeFramework_3_2_0_B002.tar.gz) is available in the download area: http://www.sopera.de/downloads/sopera-asf-32/
The dos2unix problem is fixed now. Only a small issue remains, sopinstall.sh is not executable any more in the latest version.
CarstenBiermann
02.04.2009, 10:14
Yes, but this is already documented in the Installation & Operations Guide:
3. Make the installation scripts executable by using the following command:
chmod ugo+x bin/*
Ups, sorry, I should have read the installation guide again.
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.