Closed lifesfun closed 9 years ago
That script requires adding/disabling a repository for Debian, which I don't know is something we'd want to do, though I'll look at it a bit more
Leaving these for reference http://theindiestone.com/forums/index.php/topic/5841-buying-running-a-linux-project-zomboid-server/ http://reddit.com/r/projectzomboid/comments/28xzzz/server_setup_guide_build_271/
Duplicate issue https://github.com/dgibbs64/linuxgameservers/issues/101 I have closed the old one
When running on a debian build this script actually worked quite well for me. http://theindiestone.com/forums/index.php/topic/10221-spiffos-zomboid-server-service-center/
However, I just got a dedicated machine with CentOS 6.5, which seems to be the problem Distribution. The error is strangely familiar to the one I had on a ns2 server. Just curious if you had any insight to solving this problem?
./projectzomboid-dedi-server.sh Loading RakNet from: /home/steam/steamcmd/home/oldfarts/steam/zomboid/projectzomboid Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/steam/steamcmd/home/oldfarts/steam/zomboid/projectzomboid/libRakNet64.so: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /home/steam/steamcmd/home/oldfarts/steam/zomboid*/projectzomboid/libRakNet64.so) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703) at java.lang.Runtime.loadLibrary0(Runtime.java:844) at java.lang.System.loadLibrary(System.java:1051) at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java:19) at zombie.network.GameServer.main(GameServer.java:79)
/home/steam/steamcmd/home/oldfarts/steam/zomboid*/projectzomboid/libRakNet64.so: /lib64/libc.so.6: version 'GLIBC_2.15' not found
cd /home/steam/steamcmd/home/oldfarts/steam/zomboid*/projectzomboid
wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6
wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6
wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0
hmm yea unfortunately RakNet seems using the libc.so.6 in /lib64/ rather then in the projectzomboid folder. Permissions are all good too.
So I have been looking more into this and I used ldd is telling me that RakNet is not looking within the current folder. I will investigate to see if I can recompile it or find a way to change the path. Never done that before so its always fun to learn :D
I realize this is a bit over my head. I figure what I would need to do is recompile RakNet64.so or point shared library link to use the local library over the default. If anyone know how to do this let me know
Just an update: I decided to just upgrade to centos 7 to resolve the problem for now. I had to do not special configuration actually.
pzserver has now been released
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am running a project zomboid server and was wondering if it would be possible to make a script for this as well. There is already a script available however, it is not as dynamic as your scripts:
http://theindiestone.com/forums/index.php/topic/7504-linux-server-auto-install-project-zomboid-scripts/
There is the info incase you want to take a look.