TheeIntrepidGamer Posted January 8, 2016 Share Posted January 8, 2016 Okay, so I've tried everything from reinstalling java, through apt-get to trying to set a manual path in start-server.sh but I haven't been able to get the server running again. I did do "java -version" to check if it was even registering it was installed and it was, any help would be greatly appreciated! I'm running it off a Ubuntu Server 32-bit box. Default "start-server.sh" as well. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 9, 2016 Share Posted January 9, 2016 The Linux version comes with its own OpenJDK Java Runtime Environment now. You should have both jre/ and jre64/ directories in the server's folder. From the error, it looks like they are missing. Link to comment Share on other sites More sharing options...
Vindelle_Pounze Posted January 9, 2016 Share Posted January 9, 2016 Hmm, same here.The mentioned jre* directories are in place, though.Using the old start-server.sh from backup worked as well as a fresh install instead of updating. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 9, 2016 Share Posted January 9, 2016 Perhaps I made an error in the shell script? My Linux skills aren't the greatest. Can you check if the bundled java exes have the executable bit set? Link to comment Share on other sites More sharing options...
TheeIntrepidGamer Posted January 10, 2016 Author Share Posted January 10, 2016 The permissions suggest that they should be able to be executed. As for a backup of the start-server.sh, you wouldn't happen to be able to help me out, and give me a copy of your backup? Just to see if it works. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 10, 2016 Share Posted January 10, 2016 I found the problem. The 32-bit java requires the -client option to be added (in the .sh scripts and in ProjectZomboid32 which is hard-coded). I'll try to release a fix soon. Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 I've been trying to install server on Debian 64-bit and I found the same error. I can not find the mentioned /jre folders. I installed 64-bit Java from its official website. Do I need 32-bit version? Do I need to install jdk? Please help me. Thanks! Link to comment Share on other sites More sharing options...
EasyPickins Posted January 10, 2016 Share Posted January 10, 2016 I've been trying to install server on Debian 64-bit and I found the same error. I can not find the mentioned /jre folders. I installed 64-bit Java from its official website. Do I need 32-bit version? Do I need to install jdk? Please help me. Thanks! The jre/ and jre64/ folders only exist in the IWBUMS branch. For the regular branch, you need to install Java yourself on Linux. Use the 64-bit version of Java on a 64-bit system. The JRE (not the JDK) should be enough. Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 I had already installed Java 8 x64 following this instructions: https://www.java.com/en/download/linux_manual.jsp Don't works. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 10, 2016 Share Posted January 10, 2016 I had already installed Java 8 x64 following this instructions: https://www.java.com/en/download/linux_manual.jsp Don't works.Doesn't work isn't descriptive enough. Post the terminal output, please. Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 The error is the same: ./start-server.sh: line 7: java: command not found couldn't determine 32/64 bit of java Link to comment Share on other sites More sharing options...
EasyPickins Posted January 10, 2016 Share Posted January 10, 2016 The error is the same: ./start-server.sh: line 7: java: command not found couldn't determine 32/64 bit of java You aren't using IWBUMS right? Because you said you don't have the JRE folders."java: command not found" means java isn't being found in your PATH for some reason. Link to comment Share on other sites More sharing options...
TheeIntrepidGamer Posted January 10, 2016 Author Share Posted January 10, 2016 Glad, to see it wasn't just me. Was worried I had broken something somehow. Thanks for assistance! Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 You aren't using IWBUMS right? Because you said you don't have the JRE folders."java: command not found" means java isn't being found in your PATH for some reason. I do not know what is it. I downloaded the pz dedicated server using steamcmd. So what would be the correct path? I installed in /usr/java/ Link to comment Share on other sites More sharing options...
EasyPickins Posted January 10, 2016 Share Posted January 10, 2016 You aren't using IWBUMS right? Because you said you don't have the JRE folders."java: command not found" means java isn't being found in your PATH for some reason. I do not know what is it. I downloaded the pz dedicated server using steamcmd. So what would be the correct path? I installed in /usr/java/ Normally you would install packages using apt-get or similar on Linux.Since you installed it yourself, you'll need to addPATH=$PATH:/usr/java/binor similar to the start-server.sh file. Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 I understand where you think is the error.I think you suggest I manually edit the file .sh but I'm not sure where in writing.I could erase my installation of Java and try to apt-get install. I do? I understand that you were referring to the unstable version of the game and I confirm that I am not using. Thank you very much for your help. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 10, 2016 Share Posted January 10, 2016 Add the PATH line to the very top of the start-server.sh file.PATH=$PATH:/usr/java/<something>/binThe bin directory should be the one with the 'java' program in it. Link to comment Share on other sites More sharing options...
BR2 Posted January 10, 2016 Share Posted January 10, 2016 The error changed:./start-server.sh64-bit java detected./ProjectZomboid64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/***/zomboidsv/linux64/libsteam_api.so) Edit:I already installed libc6, libc6-amd64, libc6-dev & libc6-dbg. I continue with the new error.I'm stuck, I would appreciate any suggestions. Thanks! Link to comment Share on other sites More sharing options...
EasyPickins Posted January 11, 2016 Share Posted January 11, 2016 Does this help? http://askubuntu.com/questions/421642/libc-so-6-version-glibc-2-14-not-found Link to comment Share on other sites More sharing options...
Kirrus Posted January 12, 2016 Share Posted January 12, 2016 What version of debian are you running? I can check the version of glibc it provides.If you're not sure of the release, you can run "lsb_release -c", or cat /etc/apt/sources.list You're looking for 'wheezy', 'squeeze', or 'jessie'. Link to comment Share on other sites More sharing options...
BR2 Posted January 12, 2016 Share Posted January 12, 2016 I'm using Debian. cat /etc/debian_version7.9 Link to comment Share on other sites More sharing options...
Vindelle_Pounze Posted January 12, 2016 Share Posted January 12, 2016 As for a backup of the start-server.sh, you wouldn't happen to be able to help me out, and give me a copy of your backup? Just to see if it works.Sorry for the late answer, I am on holidays in Turkey right now and don't have regular access to the internet. But I don't think you still need it, do you? Link to comment Share on other sites More sharing options...
Vindelle_Pounze Posted January 12, 2016 Share Posted January 12, 2016 I understand where you think is the error.I think you suggest I manually edit the file .sh but I'm not sure where in writing.I could erase my installation of Java and try to apt-get install. I do? I understand that you were referring to the unstable version of the game and I confirm that I am not using. Thank you very much for your help. While not really necessary, I'd suggest you do for easier maintenance regarding updates and stuff. I'm using Debian. cat /etc/debian_version7.9Debian 7 uses version 2.13 of libc6, you could consider upgrading to Debian 8, try using backports (https://wiki.debian.org/Backports) or try installing that specific package from Debian testing (https://wiki.debian.org/AptPreferences). Some time ago, Kirrus had a script for updating to the required version of libc6. You'll find that in Connall's PZ-Server-Howto (http://theindiestone.com/forums/index.php/topic/5841-buying-running-a-linux-project-zomboid-server/) Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 12, 2016 Share Posted January 12, 2016 Should note: Kirrus recommends you do not use the script, as it could break things. Link to comment Share on other sites More sharing options...
BR2 Posted January 18, 2016 Share Posted January 18, 2016 This is working.Thank you very much to all.It has been an incredibly fast and responsive support.I recommend this game and this company to everyone. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now