GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.2k stars 802 forks source link

[pzserver] Creation #195

Closed lifesfun closed 9 years ago

lifesfun commented 9 years ago

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.

Scarsz commented 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/

dgibbs64 commented 9 years ago

Duplicate issue https://github.com/dgibbs64/linuxgameservers/issues/101 I have closed the old one

lifesfun commented 9 years ago

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)

Scarsz commented 9 years ago

/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
lifesfun commented 9 years ago

hmm yea unfortunately RakNet seems using the libc.so.6 in /lib64/ rather then in the projectzomboid folder. Permissions are all good too.

lifesfun commented 9 years ago

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

lifesfun commented 9 years ago

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

lifesfun commented 9 years ago

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.

dgibbs64 commented 9 years ago

pzserver has now been released

lock[bot] commented 6 years ago

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.