#Running server error

76 messages ยท Page 1 of 1 (latest)

amber spire
#

i have problem when starting new server

#

i creat a server for project zomboid using debian linux, i have no problem when i installing the steamcmd and pz, but the problem when i try to start the server

amber spire
keen shard
#

What is the problem that you have? Since you have not explained it other than saying that you have a problem

drowsy chasm
#

i know a proxmox screenshot when I see one

#

but yea like beard says, what is the actual issue, you haven't described an issue or shown any errors

#

assuming it's going to be a networking issue, though, since you fixated on a upnp log entry, I'd like to see the network configuration of your proxmox node (Node > System > Network) and also the Hardware tab of the VM showing the network configuration there, along with the command ip a from inside the VM and I'd also like to know where you're trying to connect from (local address or public) and if it's public, please provide the port forwarding page of your primary gateway/router

#

if it's not a network issue then you can ignore all that ๐Ÿ˜„

amber spire
#

I'm sorry, I want to install Project Zomboid on my Proxmox server. I have been looking for tutorials from YouTube to the PZ Wiki, but none of them worked because there were several errors. I even ended up deleting the container that had errors and was supposed to be used for the server later. So, the problem is I don't know how to install it correctly, and there were also errors like the ones below.

LOG : Network , 1725545565828> 686,470,552> Initialising Server Systems...
LOG : Lua , 1725545568148> 686,472,873> Loading: media/lua/shared/Sandbox/Apocalypse.lua
src/clientdll/steamengine.cpp (2742) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled
src/clientdll/steamengine.cpp (2742) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled
./start-server.sh: line 26: 421 Killed LD_PRELOAD="${LD_PRELOAD}:${JSIG}" ./ProjectZomboid64 "$@"
steam@S-PZ:~/pzsteam$

#

sometime like this

drowsy chasm
#

You can just follow the instructions on the pz wiki.

#

They work great and are very simple

#

You said 'container', did you mean VM?

#

Unless you know what you're doing you should use a VM, not an LXC container.

#

Set up a Debian VM with 8 gigs of ram and four vCPU, use 'host' CPU type (unless you know what you're doing), use defaults for storage, turn off firewall, use your network bridge

#

Then follow the pz wiki instructions and you should have no problem

#

I've been running pz servers and other servers on proxmox for years ๐Ÿ‘๐Ÿ‘

amber spire
#

ah okay i'll contact you later if i have problem

#

thanks for info

amber spire
#

the instruction at pzwiki tell me to Navigate to my installation folder, but i cant do that, and i try to navigate manually, but when i check at common there no directory for Project Zomboid Dedicated Server

amber spire
drowsy chasm
#

i can see from your screenshot you're using a container

drowsy chasm
#

did you run this: export PATH=$PATH:/usr/games steamcmd +runscript $HOME/update_zomboid.txt

amber spire
drowsy chasm
#

no, can you show cat $HOME/update_zomboid.txt

amber spire
drowsy chasm
#

this looks like the install directory is /opt/pzserver

#

can you do ls /opt/pzserver

amber spire
drowsy chasm
#

there you go

amber spire
drowsy chasm
#

well, you were looking in the wrong directory is the problem

#

you installed into /opt/pzserver but you were looking in /home/pzuser

#

you can just do /opt/pzserver/start-server.sh now

amber spire
drowsy chasm
#

yea, you can pick up from where you left off in the instructions, just remember your installation folder is /opt/pzserver

#

the instructions are a bit misleading because in the top part they're saying how to install via steamcmd, but in the part you're at now they give the default directory as if you installed via steam, not steamcmd

#

so I see why you were confused

#

could probably use a bit of clarification on the wiki there

amber spire
drowsy chasm
#

no problem, good luck

amber spire
#

btw is this normal ?, because everytime i run server i got stuck at this moment

drowsy chasm
#

what is the container hardware?

amber spire
drowsy chasm
#

RAM specifically

#

and cpu

#

how much did you allocate to the container?

#

under 'Resources' tab

amber spire
#

oh my gosh, i forgot to change the memory

drowsy chasm
#

๐Ÿ˜„

amber spire
drowsy chasm
#

lol that would do it

#

I recommend a very minimum of 4 but you should do at least 6 if you can

amber spire
#

usually i use 4-6 GB for memory and 1 GB for swap

drowsy chasm
#

๐Ÿ‘

#

should not need swap for a dedicated container and java

amber spire
drowsy chasm
#

yes

#

most likely

amber spire
drowsy chasm
#

I think it should be no problem

amber spire
#

i'll try to shutdown the conteiner first and change the resources

drowsy chasm
#

java is pretty good about heap allocation and garbage collection so it is unlikely you'll need swap if you have 6gb ram and -Xmx3g set as max heap (the default setting)

#

if you set max heap closer to the container RAM you may need the swap but that would not be ideal

amber spire
#

so the server running now ?

drowsy chasm
#

looks pretty good

amber spire
#

yeah the server running good, and now i try to make it accessible to public using playit.gg

#

๐Ÿ˜…

drowsy chasm
#

no

#

my firewall runs a reverse proxy/load balancer and i have a domain name

#

so I add like gameserver.<domainname>.us to my DNS entries, then set up port forwarding/reverse proxy as necessary depending on the server