Jump to content

Spiffo's Zomboid Server Service Center


nightmare

Recommended Posts

spiffo-service.png

 

 

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 wink.png

 

 

 

****** Spiffo's Zomboid Server Service Center  ******

 

Author: Nightmare @ http://n8m4re.de

 

spiffo.png

Edited by nightmare
Link to comment
Share on other sites

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

  • 2 weeks later...

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

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

 

Invalid initial heap size: -Xms4096m
The 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

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 :D

 

Loading RakNet from: /home/pz-server1/projectzomboid

Exception 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

 

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 :D

 

Loading RakNet from: /home/pz-server1/projectzomboid

Exception 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

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 :D Progress is progress, yes?

 

Loading RakNet from: /home/pz-server1/projectzomboid
Exception 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

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

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/projectzomboid

Exception 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

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

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 update

3. type: apt-get -t testing install libc6-i686 libc6 libc6-dev libc6-dbg linux-libc-dev gcc locales

4. remove 1.)  and type: apt-get update

5. start server

Link to comment
Share on other sites

1. go to "/etc/apt" then open "sources.list" and add " deb http://ftp.debian.org/debian testing main "

2. type: apt-get update

3. type: apt-get -t testing install libc6-i686 libc6 libc6-dev libc6-dbg linux-libc-dev gcc locales

4. remove 1.)  and type: apt-get update

5. 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

  • Kirrus unpinned this topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...