nightmare Posted August 21, 2014 Share Posted August 21, 2014 (edited) tested & works on - "Debian 8 jessie" - "Ubuntu 14.04.1 LTS trusty" NOTE: for PZ-Version 32.2x and above DOWNLAOD How to use? 1. ) download "spiffo-service.sh" 2. ) put the script into your root account folder 3. ) open the script with "nano" or "vim" and add your steam account details 4. ) execute "./spiffo-service.sh" or with "sudo ./spiffo-service.sh" ** script must be run as root! enjoy && have fun ****** Spiffo's Zomboid Server Service Center ****** Author: Nightmare @ http://n8m4re.de Edited September 3, 2015 by nightmare Kirrus, kaizokuroof and Dr_Cox1911 3 Link to comment Share on other sites More sharing options...
nightmare Posted August 22, 2014 Author Share Posted August 22, 2014 # push for little update -> ( memory usage with MB and PID added ) Link to comment Share on other sites More sharing options...
nightmare Posted August 27, 2014 Author Share Posted August 27, 2014 #push update - "Save-Stop" now working- "Save-Stop" now with 5 sec counter and server message- Command Menu added oskarcc 1 Link to comment Share on other sites More sharing options...
oskarcc Posted August 27, 2014 Share Posted August 27, 2014 You are my true hero! Thank you very much for the update! nightmare 1 Link to comment Share on other sites More sharing options...
nightmare Posted August 27, 2014 Author Share Posted August 27, 2014 #push a quick fix - "Write message" was not working Link to comment Share on other sites More sharing options...
nightmare Posted August 29, 2014 Author Share Posted August 29, 2014 #push an update - restart added- counter setting for restart/save-stop added Link to comment Share on other sites More sharing options...
Dr_Cox1911 Posted September 5, 2014 Share Posted September 5, 2014 Really nice script nightmare! Damn well organized and really easy to read. I´m currently working my way through your script, searching for different variables that are accessible through a seperate cron-script. Link to comment Share on other sites More sharing options...
Connall Posted September 5, 2014 Share Posted September 5, 2014 Pinned, unpinned my scripts since I don't work on the scripts anymore. Link to comment Share on other sites More sharing options...
nightmare Posted September 5, 2014 Author Share Posted September 5, 2014 Really nice script nightmare! Damn well organized and really easy to read. I´m currently working my way through your script, searching for different variables that are accessible through a seperate cron-script. thx, if you need a bit of help, you can contact me on steam.. (you know) Pinned, unpinned my scripts since I don't work on the scripts anymore. thx Link to comment Share on other sites More sharing options...
artenais Posted September 6, 2014 Share Posted September 6, 2014 Very very useful...I was thinking of doing something like this but you outperformed me. Thank you very much. Link to comment Share on other sites More sharing options...
nightmare Posted September 6, 2014 Author Share Posted September 6, 2014 # little update - libc6 package installation (debian wheezy only), repository from "unstable (sid)" to "testing (jessie)" changed- script tested and works on debian 8 jessie Link to comment Share on other sites More sharing options...
LandMineHare Posted September 17, 2014 Share Posted September 17, 2014 I'm not sure what I am doing wrong, but the script stalls on my wheezy during downloads. Climbs a few percent then just stops. Have to keep ctrl-c-ing to quit out of the process then start it over from where it left off, and then when it finally reached the game, launching it doesn't actually start the server :\ Even idiot proof stuff is giving me trouble Link to comment Share on other sites More sharing options...
nightmare Posted September 17, 2014 Author Share Posted September 17, 2014 I'm not sure what I am doing wrong, but the script stalls on my wheezy during downloads. Climbs a few percent then just stops. Have to keep ctrl-c-ing to quit out of the process then start it over from where it left off, and then when it finally reached the game, launching it doesn't actually start the server :\ Even idiot proof stuff is giving me trouble Hi, look in your pz-server installation directory, there should be a log file called "screenlog.0" . ( will be created when the server starts )open it and have look for errors. Link to comment Share on other sites More sharing options...
LandMineHare Posted September 18, 2014 Share Posted September 18, 2014 Invalid initial heap size: -Xms4096mThe specified size exceeds the maximum representable size.Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Link to comment Share on other sites More sharing options...
nightmare Posted September 18, 2014 Author Share Posted September 18, 2014 Invalid initial heap size: -Xms4096mThe specified size exceeds the maximum representable size.Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. you have a 32bit java installed and maybe a 32bit system.. 32 bit software can not use more than 3072 MB (3Gig) Ram. open the "projectzomboid-dedi-server.sh" and change: -Xms4096m to -Xms2048m -Xmx4096m to -Xmx2048m you can type following in the console, to check which version you have: java -version (java version) uname -m ( i386 = 32bit , x86_64 = 64bit ) Link to comment Share on other sites More sharing options...
LandMineHare Posted September 18, 2014 Share Posted September 18, 2014 Running 32bit Debian 7. Java -version gave me Java SE Runtime Environment (build 1.7.0_67-b01)Java HotSpot Server VM (build 24.65-b04, mixed mode) After committing the changes I got some sort of more progress, yay Loading RakNet from: /home/pz-server1/projectzomboidException in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/projectzomboid/libRakNet32.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version$ at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java:30) at zombie.network.GameServer.main(GameServer.java:133) Link to comment Share on other sites More sharing options...
nightmare Posted September 18, 2014 Author Share Posted September 18, 2014 Running 32bit Debian 7. Java -version gave me Java SE Runtime Environment (build 1.7.0_67-b01)Java HotSpot Server VM (build 24.65-b04, mixed mode) After committing the changes I got some sort of more progress, yay Loading RakNet from: /home/pz-server1/projectzomboidException in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/projectzomboid/libRakNet32.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version$ at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java:30) at zombie.network.GameServer.main(GameServer.java:133) I've updated the script, it will now install the "libc6-i386" from testing repository 1. Please download again 2. Delete the ".spiffo_debian_check" file in your root folder where the script is 3. Run Script and choose Install Link to comment Share on other sites More sharing options...
LandMineHare Posted September 19, 2014 Share Posted September 19, 2014 I've updated the script, it will now install the "libc6-i386" from testing repository 1. Please download again 2. Delete the ".spiffo_debian_check" file in your root folder where the script is 3. Run Script and choose Install Linux is not my forte. So thank you very much for your help. And I've progressed to a new error Progress is progress, yes? Loading RakNet from: /home/pz-server1/projectzomboidException in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/pro$at java.lang.ClassLoader$NativeLibrary.load(Native Method)at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)at java.lang.Runtime.loadLibrary0(Runtime.java:849)at java.lang.System.loadLibrary(System.java:1088)at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java$ at zombie.network.GameServer.main(GameServer.java:133) Link to comment Share on other sites More sharing options...
nightmare Posted September 19, 2014 Author Share Posted September 19, 2014 now i have it, the "libc6-i386" was not the right one for 32bit Debian, its for 64bit with 32bit support i've updated the script.......again 1. Please download again 2. Delete the ".spiffo_debian_check" file in your root folder where the script is 3. Run Script and choose Install Link to comment Share on other sites More sharing options...
LandMineHare Posted September 19, 2014 Share Posted September 19, 2014 It's, now back to where that second error. I feel now is a fair time to state the obious: Linus is pretty gosh darn new to me. Loading RakNet from: /home/pz-server1/projectzomboidException in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/projectzomboid/libRakNet32.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version$ at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java:30) at zombie.network.GameServer.main(GameServer.java:133) Also, thank you for being patient and all your help. Link to comment Share on other sites More sharing options...
nightmare Posted September 19, 2014 Author Share Posted September 19, 2014 i've tested it two times on a 32bit VM today and it works fine for me .... i think it would be the best when you use a 64bit version and Ubuntu Link to comment Share on other sites More sharing options...
LandMineHare Posted September 19, 2014 Share Posted September 19, 2014 I'm kind of limited in my options :\ I can only install 32bit stuff. I do get a lot of cdrom:// errors on the initial install, but the Steam n everything seems to install fine any who. o-o No idea... Linux is new to me xD Hopefully I can figure it out someday. Link to comment Share on other sites More sharing options...
LandMineHare Posted September 19, 2014 Share Posted September 19, 2014 Apparently, nano was cutting off the log when I was looking at it. There was more text after version $ Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/projectzomboid/libRakNet32.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by /home/pz-server1/projectzomboid/libRakNet32.so) Told you I'm bad with linux x_< Link to comment Share on other sites More sharing options...
nightmare Posted September 19, 2014 Author Share Posted September 19, 2014 Apparently, nano was cutting off the log when I was looking at it. There was more text after version $ Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pz-server1/projectzomboid/libRakNet32.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by /home/pz-server1/projectzomboid/libRakNet32.so) Told you I'm bad with linux x_< 1. go to "/etc/apt" then open "sources.list" and add " deb http://ftp.debian.org/debian testing main "2. type: apt-get update3. type: apt-get -t testing install libc6-i686 libc6 libc6-dev libc6-dbg linux-libc-dev gcc locales4. remove 1.) and type: apt-get update5. start server Link to comment Share on other sites More sharing options...
LandMineHare Posted September 19, 2014 Share Posted September 19, 2014 1. go to "/etc/apt" then open "sources.list" and add " deb http://ftp.debian.org/debian testing main "2. type: apt-get update3. type: apt-get -t testing install libc6-i686 libc6 libc6-dev libc6-dbg linux-libc-dev gcc locales4. remove 1.) and type: apt-get update5. start server E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start. Current value: 25165824. (man 5 apt.conf)Reading package lists... Error! I tried adding "APT::Cache-Limit "100000000";" to /etc/apt/apt.conf.d/70debconf and /etc/apt/apt.conf, and commented out the cdrom:// in sources.list but Im guessing using 32bit is limiting that value no matter what I do? 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