Jump to content

Buying & Running a Linux Project Zomboid Server


Connall

Recommended Posts

 

Here you go.

app_update 108600 -beta onlinetest validate
 Initial App state (0x4) installed
 App state (0x20104) validating, progress: 0.00 (1706 / 1380326654)
 App state (0x20104) validating, progress: 4.71 (64981061 / 1380326654)
 App state (0x20104) validating, progress: 12.71 (175427284 / 1380326654)
 App state (0x20104) validating, progress: 20.09 (277375543 / 1380326654)
 App state (0x20104) validating, progress: 23.45 (323630132 / 1380326654)
 App state (0x20104) validating, progress: 25.96 (358335162 / 1380326654)
 App state (0x20104) validating, progress: 33.61 (463967334 / 1380326654)
 App state (0x20104) validating, progress: 37.81 (521961022 / 1380326654)
 App state (0x20104) validating, progress: 42.58 (587694234 / 1380326654)
 App state (0x20104) validating, progress: 48.58 (670630226 / 1380326654)
 App state (0x20104) validating, progress: 55.97 (772500386 / 1380326654)
 App state (0x20104) validating, progress: 64.41 (889062522 / 1380326654)
 App state (0x20104) validating, progress: 71.48 (986670641 / 1380326654)
 App state (0x20104) validating, progress: 77.50 (1069795386 / 1380326654)
 App state (0x20104) validating, progress: 91.63 (1264756286 / 1380326654)
 App state (0x20104) validating, progress: 97.67 (1348170161 / 1380326654)
 App state (0x20104) validating, progress: 99.93 (1379424910 / 1380326654)
Success! App '108600' already up to date.
 

 

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

 

Sorry, I got to ask trying to figure this out.

Link to comment
Share on other sites

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

Sorry, I got to ask trying to figure this out.

 

That folder does not exist, I forced another install directory, but I assure you, I know my way around SteamCMD and I am checking the correct directory.

Edit: I am using putty to check the directory, since that will show me excactly what files exist and what doesn't. As was stated in OP winscp doesn't always refresh properly.

Link to comment
Share on other sites

 

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

Sorry, I got to ask trying to figure this out.

 

That folder does not exist, I forced another install directory, but I assure you, I know my way around SteamCMD and I am checking the correct directory.

Edit: I am using putty to check the directory, since that will show me excactly what files exist and what doesn't. As was stated in OP winscp doesn't always refresh properly.

 

Yeah but a reconnect fixes that and it's a good visual way to navigate and find files.

Link to comment
Share on other sites

Upon following the destructions, I am encountering the following error.

 

root@Moros:/home/steam/Steam/steamapps/common/ProjectZomboid# ./projectzomboid.sh
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/steam/Steam/steamapps/common/ProjectZomboid/projectzomboid/liblwjgl.so: /home/steam/Steam/steamapps/common/ProjectZomboid/projectzomboid/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at org.lwjgl.Sys$1.run(Sys.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.(Sys.java:112)
at org.lwjgl.opengl.Display.(Display.java:135)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:121)
root@Moros:/home/steam/Steam/steamapps/common/ProjectZomboid#

 

I'm running Debian 7.3 on a Xen hosted VPS. Tried it under a nonpriveledged user first, then as root and with multiple versions of the JRE.

 

I'm guessing the lwjgl binary it's trying to link is incompatible with my VPS' architecture?

 

Edit: Yup, that was the problem Connal. Darn you're quick.

Link to comment
Share on other sites

Upon following the destructions, I am encountering the following error.

 

root@Moros:/home/steam/Steam/steamapps/common/ProjectZomboid# ./projectzomboid.sh

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/steam/Steam/steamapps/common/ProjectZomboid/projectzomboid/liblwjgl.so: /home/steam/Steam/steamapps/common/ProjectZomboid/projectzomboid/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)

at java.lang.Runtime.load0(Runtime.java:787)

at java.lang.System.load(System.java:1022)

at org.lwjgl.Sys$1.run(Sys.java:70)

at java.security.AccessController.doPrivileged(Native Method)

at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)

at org.lwjgl.Sys.loadLibrary(Sys.java:95)

at org.lwjgl.Sys.(Sys.java:112)

at org.lwjgl.opengl.Display.(Display.java:135)

at zombie.gameStates.MainScreenState.main(MainScreenState.java:121)

root@Moros:/home/steam/Steam/steamapps/common/ProjectZomboid#

 

I'm running Debian 7.3 on a Xen hosted VPS. Tried it under a nonpriveledged user first, then as root and with multiple versions of the JRE.

 

I'm guessing the lwjgl binary it's trying to link is incompatible with my VPS' architecture?

 

It's because it looks like you're running projectzomboid.sh you should be running projectzomboid-dedi-server.sh

Link to comment
Share on other sites

 

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

Sorry, I got to ask trying to figure this out.

 

That folder does not exist, I forced another install directory, but I assure you, I know my way around SteamCMD and I am checking the correct directory.

Edit: I am using putty to check the directory, since that will show me excactly what files exist and what doesn't. As was stated in OP winscp doesn't always refresh properly.

 

 

If it's validating, you've gotta have that file! Run:

find / -name "projectzomboid-dedi-server.sh"

 

that will take some time to complete, but if that file is anywhere on your system, it'll find it. It'll also print a load of warnings, ignore them.

Link to comment
Share on other sites

 

 

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

Sorry, I got to ask trying to figure this out.

 

That folder does not exist, I forced another install directory, but I assure you, I know my way around SteamCMD and I am checking the correct directory.

Edit: I am using putty to check the directory, since that will show me excactly what files exist and what doesn't. As was stated in OP winscp doesn't always refresh properly.

 

 

If it's validating, you've gotta have that file! Run:

find / -name "projectzomboid-dedi-server.sh"

 

that will take some time to complete, but if that file is anywhere on your system, it'll find it. It'll also print a load of warnings, ignore them.

 

Oh wow, so even though i forced another install directory, it's still installed under steamapps/common. Oh well, thanks for saving me another full day of running the update script :P

Link to comment
Share on other sites

 

 

 

What you using to check if the file is there? Are you checking /SteamApps/common/ProjectZomboid ?

Sorry, I got to ask trying to figure this out.

 

That folder does not exist, I forced another install directory, but I assure you, I know my way around SteamCMD and I am checking the correct directory.

Edit: I am using putty to check the directory, since that will show me excactly what files exist and what doesn't. As was stated in OP winscp doesn't always refresh properly.

 

 

If it's validating, you've gotta have that file! Run:

find / -name "projectzomboid-dedi-server.sh"

 

that will take some time to complete, but if that file is anywhere on your system, it'll find it. It'll also print a load of warnings, ignore them.

 

Oh wow, so even though i forced another install directory, it's still installed under steamapps/common. Oh well, thanks for saving me another full day of running the update script :P

 

 

Welcome to the quirks of SteamCMD. :D

 

:P

Link to comment
Share on other sites

Hey guys, so I've been playing on my friend's server that he hosts from home, but since I rent a server from OVH for Minecraft, I offered to host our zomboid adventures as well.

 

When walking through your tutorial, I constantly get stuck at:

 

We have to run steamCMD

cd /home/steam/steamcmd 

The input/output I get is:

 

steam@ks4000091:~$ cd /home/steam/steamcmd

-su: cd: /home/steam/steamcmd: No such file or directory

 
So I tried what I use to run for my server:

steam@ks4000091:~$ sh steamcmd.sh

steamcmd.sh: line 3: cd: steamcmd.sh: Not a directory
steamcmd.sh: line 29: /linux32/steamcmd: No such file or directory

 

I know it exists because I can see it in Filezilla.  This is as far as I've gotten.  :???: Not sure where to really go from here, any help is greatly appreciated. :)  Thanks guys!

Link to comment
Share on other sites

Hey guys, so I've been playing on my friend's server that he hosts from home, but since I rent a server from OVH for Minecraft, I offered to host our zomboid adventures as well.

 

When walking through your tutorial, I constantly get stuck at:

 

We have to run steamCMD

cd /home/steam/steamcmd 

The input/output I get is:

 

steam@ks4000091:~$ cd /home/steam/steamcmd

-su: cd: /home/steam/steamcmd: No such file or directory

 
So I tried what I use to run for my server:

steam@ks4000091:~$ sh steamcmd.sh

steamcmd.sh: line 3: cd: steamcmd.sh: Not a directory
steamcmd.sh: line 29: /linux32/steamcmd: No such file or directory

 

I know it exists because I can see it in Filezilla.  This is as far as I've gotten.  :???: Not sure where to really go from here, any help is greatly appreciated. :)  Thanks guys!

 

cd /home/steam
./steamcmd.sh

 

That should work. :)

Link to comment
Share on other sites

That should work.  :)

 

 

Wow, such a quick reply, I figured I'd see the message in the morning! I really had hoped the simple command would have worked.. I hopped out of bed to give it a shot and didn't really get anywhere with it, unfortunately.

 

root@ks4000091:~# su - steam

steam@ks4000091:~$ ./steamcmd.sh
-su: ./steamcmd.sh: Permission denied
steam@ks4000091:~$ ls
linux32  steamcmd_linux.tar.gz  steamcmd.sh  steam.sh
steam@ks4000091:~$ ./steamcmd.sh +login
-su: ./steamcmd.sh: Permission denied
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 supersecretsteampass
-su: ./steamcmd.sh: Permission denied
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 supersecretsteampass +force_install_dir /home/steam/zomboid +app_update 108600 -beta onlinetest validate +exit
-su: ./steamcmd.sh: Permission denied

 
I also tried navigating to the directory and trying ./steamcmd.sh and it gave me the same general thing.
 

root@ks4000091:/home/steam# ./steamcmd.sh

-bash: ./steamcmd.sh: Permission denied

 

Also tried ./steam.sh just for the heck of it with the same perm denied message.

Link to comment
Share on other sites

 

 

Is your steam-user the owner of these files shortsonfire79?

 

 

On Steam, my name is Shortsonfire79, yes.  When I was attempted to follow this tutorial, I did

adduser steam

Should I have done?

adduser shortsonfire79

and then change all the "steam"s to "shortsonfire79"?

 

 

No, what he is asking. Did you download and extract SteamCMD using the steam user and not the root user. 

Link to comment
Share on other sites

No, what he is asking. Did you download and extract SteamCMD using the steam user and not the root user.

 
Oh I might have!  Just tried deleting and redownloading the files again. 
 

root@ks4000091:~# su - steam
steam@ks4000091:~$ wget http://media.steampowered.com/installer/steamcmd_linux.t      ar.gz
--2014-02-22 08:55:46--  http://media.steampowered.com/installer/steamcmd_linux.      tar.gz
Resolving media.steampowered.com (media.steampowered.com)... 208.111.168.6, 208.      111.168.7
Connecting to media.steampowered.com (media.steampowered.com)|208.111.168.6|:80.      .. connected.
HTTP request sent, awaiting response... 200 OK
Length: 3170982 (3.0M) [application/octet-stream]
steamcmd_linux.tar.gz.1: Permission denied
 
Cannot write to ‘steamcmd_linux.tar.gz.1’ (Permission denied).

 
I was able to downlad the .tar.gz from the link and throw it in the /home/steam folder through ftp, but I was still unable to tar -xvzf. (perm denied) I had attempted this as the steam user, bit didn't work and I assume thats not what you guys want me to do.
Link to comment
Share on other sites

Well, sorry guys but for some reason editing my post seems impossible... the site is constantly asking me to re login... then by time I get to this thread I have to login again.  So frustrating!

 

 

as the root user, run the following command:

chown -R steam:steam /home/steam

 


This got me to download the stuff, but I still can't ./steamcmd.sh...
 
root@ks4000091:~# chown -R steam:steam /home/steam
root@ks4000091:~# su - steam
steam@ks4000091:~$ wget http://media.steampowered.com/installer/steamcmd_linux.t                                                          ar.gz
--2014-02-22 09:08:57--  http://media.steampowered.com/installer/steamcmd_linux.                                                          tar.gz
Resolving media.steampowered.com (media.steampowered.com)... 208.111.168.7, 208.                                                          111.168.6
Connecting to media.steampowered.com (media.steampowered.com)|208.111.168.7|:80.                                                          .. connected.
HTTP request sent, awaiting response... 200 OK
Length: 3170982 (3.0M) [application/octet-stream]
Saving to: ‘steamcmd_linux.tar.gz.1’
 
100%[======================================>] 3,170,982   8.20MB/s   in 0.4s
 
2014-02-22 09:08:58 (8.20 MB/s) - ‘steamcmd_linux.tar.gz.1’ saved [3170982/31709                                                          82]
 
steam@ks4000091:~$ tar -xvzf steamcmd_linux.tar.gz
linux32/
linux32/libstdc++.so.6
linux32/steamcmd
steamcmd.sh
steam.sh
steam@ks4000091:~$ ./steamcmd.sh
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 desmond79 +force_install_                                                          dir /home/steam/zomboid +app_update 108600 -beta onlinetest validate +exit
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory

Link to comment
Share on other sites

 

Well, sorry guys but for some reason editing my post seems impossible... the site is constantly asking me to re login... then by time I get to this thread I have to login again.  So frustrating!

 

 

as the root user, run the following command:

chown -R steam:steam /home/steam

 

This got me to download the stuff, but I still can't ./steamcmd.sh...

 
root@ks4000091:~# chown -R steam:steam /home/steam
root@ks4000091:~# su - steam
steam@ks4000091:~$ wget http://media.steampowered.com/installer/steamcmd_linux.t                                                          ar.gz
--2014-02-22 09:08:57--  http://media.steampowered.com/installer/steamcmd_linux.                                                          tar.gz
Resolving media.steampowered.com (media.steampowered.com)... 208.111.168.7, 208.                                                          111.168.6
Connecting to media.steampowered.com (media.steampowered.com)|208.111.168.7|:80.                                                          .. connected.
HTTP request sent, awaiting response... 200 OK
Length: 3170982 (3.0M) [application/octet-stream]
Saving to: ‘steamcmd_linux.tar.gz.1’
 
100%[======================================>] 3,170,982   8.20MB/s   in 0.4s
 
2014-02-22 09:08:58 (8.20 MB/s) - ‘steamcmd_linux.tar.gz.1’ saved [3170982/31709                                                          82]
 
steam@ks4000091:~$ tar -xvzf steamcmd_linux.tar.gz
linux32/
linux32/libstdc++.so.6
linux32/steamcmd
steamcmd.sh
steam.sh
steam@ks4000091:~$ ./steamcmd.sh
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 desmond79 +force_install_                                                          dir /home/steam/zomboid +app_update 108600 -beta onlinetest validate +exit
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory

 

 

So did the extraction work?

 

I don't see you change directory.

cd /home/steam/steamcmd
./steamcmd.sh etc...
Link to comment
Share on other sites

 

So did the extraction work?

 

I don't see you change directory.

cd /home/steam/steamcmd./steamcmd.sh etc...

 

 

Yes, extraction worked!  Still can't get ./steamcmd.sh to work...

 

root@ks4000091:~# su - steam

steam@ks4000091:~$ cd /home/steam/steamcmd
-su: cd: /home/steam/steamcmd: No such file or directory
steam@ks4000091:~$ cd /home/steam
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 newpass +force_i                                                      nstall_dir /home/steam/zomboid/ +app_update 108600 -beta onlinetest validate +ex                                                      it
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory

 

Steamcmd is in Linux32!!!

 

Would you be able to go into the chatroom?  This forum setting is very difficult for me.  Thank you so much for all your assistance so far!

 

Link to comment
Share on other sites

 

 

So did the extraction work?

 

I don't see you change directory.

cd /home/steam/steamcmd./steamcmd.sh etc...

 

 

Yes, extraction worked!  Still can't get ./steamcmd.sh to work...

 

root@ks4000091:~# su - steam

steam@ks4000091:~$ cd /home/steam/steamcmd
-su: cd: /home/steam/steamcmd: No such file or directory
steam@ks4000091:~$ cd /home/steam
steam@ks4000091:~$ ./steamcmd.sh +login shortsonfire79 newpass +force_i                                                      nstall_dir /home/steam/zomboid/ +app_update 108600 -beta onlinetest validate +ex                                                      it
./steamcmd.sh: line 29: /home/steam/linux32/steamcmd: No such file or directory

 

Steamcmd is in Linux32!!!

 

Would you be able to go into the chatroom?  This forum setting is very difficult for me.  Thank you so much for all your assistance so far!

 

 

Fixed the issue, the Ubuntu OS was a 64 bit OS. SteamCMD requires 32 bit libraries to be installed using:

 

apt-get install lib32gcc1

 

It fixed the issue. I was also making the assumption steamcmd made the steamcmd directory, don't know why. So I fixed that in the tutorial as well.

Link to comment
Share on other sites

LOL

 

Everything seems to have gone ok right up till this part:

 

 
        at zombie.Lua.LuaManager.init(LuaManager.java:237)
        at zombie.network.GameServer.doMinimumInit(GameServer.java:353)
        at zombie.network.GameServer.main(GameServer.java:85)
Caused by: java.lang.RuntimeException: Failed to load RakNet library
        at zombie.core.raknet.RakNetPeerInterface.<clinit>(RakNetPeerInterface.java:23)
 
 
Any ideas Connall?
Link to comment
Share on other sites

 

LOL

 

Everything seems to have gone ok right up till this part:

 

 
        at zombie.Lua.LuaManager.init(LuaManager.java:237)
        at zombie.network.GameServer.doMinimumInit(GameServer.java:353)
        at zombie.network.GameServer.main(GameServer.java:85)
Caused by: java.lang.RuntimeException: Failed to load RakNet library
        at zombie.core.raknet.RakNetPeerInterface.<clinit>(RakNetPeerInterface.java:23)
 
 
Any ideas Connall?

 

 

What OS you running?

 

Try running:

 

wget http://kirrus.co.uk/stuff/pz/wheezy-glibc-sid.shbash wheezy-glibc-sid.sh 

 

Since when there's a RakNet error, it's usually to do with that.

Link to comment
Share on other sites

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