![]() |
|
Dedicated Server Discuss technical issues related to hosting your own servers. |
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hi everybody. I recently tried installing the linux server on my VPS account (tried Debian 7.1 and Ubuntu 12.04) and I am getting the same error message:
root@cloud:~/altitude# ./altitude.sh -c Unpacking JRE ... Starting Installer ... ./altitude.sh: 431: ./altitude.sh: /root/altitude/altitude.sh.3324.dir/jre/bin/java: not found Just to confirm, I've downloaded the latest linux server (MD5sum show: b76c07a6a36aaaeb58531d2c4f6e1a07 altitude.sh) When I watched the file system while it was attempting to install, I did see some temporary directories get created. I'll post the output of sh -x altitude.sh -c in the next thread. |
#2
|
|||
|
|||
![]() Code:
root@cloud:~/altitude# sh -x altitude.sh -c + pwd + old_pwd=/root/altitude + basename altitude.sh + progname=altitude.sh + dirname altitude.sh + linkdir=. + cd . + prg=altitude.sh + [ -h altitude.sh ] + dirname altitude.sh + prg_dir=. + basename altitude.sh + progname=altitude.sh + cd . + pwd + prg_dir=/root/altitude + app_home=. + cd . + pwd + app_home=/root/altitude + bundled_jre_home=/root/altitude/jre + [ __i4j_lang_restart = -c ] + cd /root/altitude/. + gunzip -V + [ 0 -ne 0 ] + [ -d ] + sfx_dir_name=altitude.sh.3445.dir + mkdir altitude.sh.3445.dir + [ ! -d altitude.sh.3445.dir ] + cd altitude.sh.3445.dir + pwd + sfx_dir_name=/root/altitude/altitude.sh.3445.dir + trap cd "$old_pwd"; rm -R -f "$sfx_dir_name"; exit 1 HUP INT QUIT TERM + tail -c 53709211 /root/altitude/altitude.sh + [ 0 -ne 0 ] + gunzip sfx_archive.tar.gz + [ 0 -ne 0 ] + tar xf sfx_archive.tar + [ 0 -ne 0 ] + [ ! __i4j_lang_restart = -c ] + [ -f /root/altitude/jre.tar.gz ] + [ -f jre.tar.gz ] + echo Unpacking JRE ... Unpacking JRE ... + gunzip jre.tar.gz + mkdir jre + cd jre + tar xf ../jre.tar + pwd + app_java_home=/root/altitude/altitude.sh.3445.dir/jre + bundled_jre_home=/root/altitude/altitude.sh.3445.dir/jre + cd .. + run_unpack200 /root/altitude/altitude.sh.3445.dir/jre + [ -f /root/altitude/altitude.sh.3445.dir/jre/lib/rt.jar.pack ] + run_unpack200 /root/altitude/altitude.sh.3445.dir/jre/jre + [ -f /root/altitude/altitude.sh.3445.dir/jre/jre/lib/rt.jar.pack ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + [ -z /root/altitude/altitude.sh.3445.dir/jre ] + compiz_workaround + [ != 0 ] + return + i4j_classpath=i4jruntime.jar:user.jar + local_classpath=i4jruntime.jar:user.jar + vmoptions_val= + read_vmoptions /root/altitude/altitude.sh.vmoptions + eval echo /root/altitude/altitude.sh.vmoptions + echo /root/altitude/altitude.sh.vmoptions + vmoptions_file=/root/altitude/altitude.sh.vmoptions + [ ! -r /root/altitude/altitude.sh.vmoptions ] + vmoptions_file=/root/altitude//root/altitude/altitude.sh.vmoptions + [ -r /root/altitude//root/altitude/altitude.sh.vmoptions ] + INSTALL4J_ADD_VM_PARAMS= + [ W = W ] + vmov_1=-Di4j.vmov=true + [ W = W ] + vmov_2=-Di4j.vmov=true + [ W = W ] + vmov_3=-Di4j.vmov=true + [ W = W ] + vmov_4=-Di4j.vmov=true + [ W = W ] + vmov_5=-Di4j.vmov=true + echo Starting Installer ... Starting Installer ... + /root/altitude/altitude.sh.3445.dir/jre/bin/java -Dinstall4j.jvmDir=/root/altitude/altitude.sh.3445.dir/jre -Dexe4j.moduleName=/root/altitude/altitude.sh -Dexe4j.totalDataLength=78423419 -Dinstall4j.cwd=/root/altitude -Djava.ext.dirs=/root/altitude/altitude.sh.3445.dir/jre/lib/ext -Dsun.java2d.noddraw=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -classpath i4jruntime.jar:user.jar com.install4j.runtime.Launcher launch com.install4j.runtime.installer.Installer false false false true false true true 0 0 20 20 Arial 0,0,0 8 500 version 1.1 20 40 Arial 0,0,0 8 500 -1 -c altitude.sh: 431: altitude.sh: /root/altitude/altitude.sh.3445.dir/jre/bin/java: not found + returnCode=127 + cd /root/altitude + [ ! W = W yes ] + rm -R -f /root/altitude/altitude.sh.3445.dir + exit 127 |
#3
|
|||
|
|||
![]()
Altitude ships with a 64-bit JVM from Oracle. If you are running a 32-bit linux version you need to edit the altitude.sh file and tell it where a JVM is located. At the top of the altitude.sh file you will find:
# Uncomment the following line to override the JVM search sequence # INSTALL4J_JAVA_HOME_OVERRIDE= # Uncomment the following line to add additional VM parameters # INSTALL4J_ADD_VM_PARAMS= On ubuntu you can install the open jdk by doing: Code:
sudo apt-get install openjdk-6-jdk /usr/lib/jvm/java-6-openjdk-amd64/jre/ or /usr/lib/jvm/java-6-openjdk-i386/jre/ To see what JVMs you have installed and switch to the default, execute the command: Code:
sudo update-alternatives --config java |
#4
|
|||
|
|||
![]()
Thanks Karl-- For what it's worth, I'm running 64 bit version of Debian as well as 64bit Ubuntu.
I can try the 32bit open JDK and report back, but I'm surprised I that the current error is not indicative of it being a 32/64 bit jvm issue. The error message almost looks like a script issue where it is starting the server with wrong paths or something. |
#5
|
|||
|
|||
![]()
I tried installing openJDK and made the config changes to the altitude.sh-- when I execute the altitude.sh, it gives me this error:
Code:
gzip: sfx_archive.tar.gz: not in gzip format I am sorry, but the installer file seems to be corrupted. If you downloaded that file please try it again. If you transfer that file with ftp please make sure that you are using binary mode. |
#6
|
|||
|
|||
![]()
I have never had any issues installing on 64bit Ubuntu 12.04. Have done it at least 10-15 times on different VPSs
Idk what might be wrong but here is what I do every time I set up a fresh VPS for Altitude server: connect ssh (root) apt-get update apt-get upgrade sftp transfer altitude.sh to /usr/local/ apt-get install ia32-libs (gets the required 32bit libraries, only needed if 64bit OS) chmod +x altitude.sh ./altitude.sh -c (defaults, except no desktop icon) install complete, transfer map files and launcher_config.xml cd /usr/local/altitude nohup ./server_launcher > /dev/null 2>&1 & Altitude server up |
#7
|
|||
|
|||
![]()
Wow, got it to install -- it needed the ia32-libs !!!
Note, I was not able to install the ia32-libs on debian, but it worked fine on ubuntu 12.04. Thanks so much! Hopefully the documentation or installer gets updated to check for this dependency. |
#8
|
|||
|
|||
![]()
Quick note:
Since this post, ia32-libs has been obsoleted, lib32bz2-1.0 is the package you need now ^^ |
#9
|
|||
|
|||
![]()
Thanks for that! On a headless ubuntu 14.04 I also had to install lib32gcc1. Without it the installer would complain about requiring an X11 server.
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with headless linux installation | blarg | Dedicated Server | 9 | 12-04-2013 07:55 AM |
Map making in Linux | 19 cm | Map Making | 0 | 05-19-2013 06:53 PM |
New Installation problem | WhiteVandal | Tech Support | 1 | 01-18-2010 07:35 PM |
How about some Linux commands? | Triped | Suggestions | 2 | 12-30-2009 03:31 PM |
installation problems | goldenkrnboi | Tech Support | 7 | 04-10-2009 09:47 PM |