Jump to content

Search the Community

Showing results for tags 'ubuntu'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 6 results

  1. Hello, I am trying to set up a dedicated server that is running on a fresh install of Ubuntu 22.04 Server. I have followed the Dedicated Server docs up to the point of being able to get a server running successfully. However, I have been running into issues in getting the server to start under systemctl. NOTE: I configured the sever settings on my main PC through the game client, and then pushed the config files over to the machine and dropped them in my user server directory: /home/pzuser/Zomboid/Server Initialized/ran the server as "pzuser" (the same user that logs into to steam as anonymous user, downloads and verifies app, and does not have "sudo" privileges). su - pzuser /opt/pzserver/start-server.sh -servername ZRespawn2 After running this command, the server started and I was prompted to enter an admin password & confirm. After start I was able to confirm my friends were able to join. I can execute "save" and "exit" in the console and see the log output: CONSOLE1 (pzuser): /opt/pzserver/start-server.sh --servername ZRespawn2 .. ########## Server Steam ID xxxxxxxxxxxxxxxxx ########## LOG : Multiplayer , 1662673224384> 18,915,354> [MPStatistics] mem usage notification threshold=16,320,875,520 LOG : General , 1662673225433> 18,916,403> 1662673225433> znet: OnPolicyResponse LOG : General , 1662673225433> 18,916,403> 1662673225433> znet: Zomboid Server is VAC Secure save LOG : General , 1662673238903> 18,929,873> command entered via server console (System.in): "save" LOG : General , 1662673239013> 18,929,983> World saved LOG : General , 1662673239057> 18,930,027> SaveAll took 31.509791 ms LOG : General , 1662673239059> 18,930,029> reanimate: saved 0 zombies LOG : General , 1662673239067> 18,930,037> Saving GlobalModData LOG : General , 1662673239067> 18,930,037> Saving finish LOG : General , 1662673239067> 18,930,037> Saving took 41.734015 ms quit LOG : General , 1662673244096> 18,935,066> command entered via server console (System.in): "quit" DEBUG: Multiplayer , 1662673244133> 18,935,103> QuitCommand.Command > cmd="quit" user="admin" role="32" unknown connection" LOG : Multiplayer , 1662673244133> 18,935,103> java.base/java.lang.Thread.getStackTrace(Unknown Source) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.debug.DebugLogStream.printStackTrace(DebugLogStream.java:159) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.debug.DebugLogStream.printStackTrace(DebugLogStream.java:146) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.network.ServerMap.QueueQuit(ServerMap.java:91) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.commands.serverCommands.QuitCommand.Command(QuitCommand.java:29) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.commands.CommandBase.Execute(CommandBase.java:131) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.network.GameServer.handleServerCommand(GameServer.java:1167) LOG : Multiplayer , 1662673244134> 18,935,104> zombie.network.GameServer.main(GameServer.java:901) LOG : General , 1662673244134> 18,935,104> Quit LOG : General , 1662673244254> 18,935,224> SaveAll took 27.668544 ms LOG : General , 1662673244255> 18,935,225> reanimate: saved 0 zombies LOG : General , 1662673244261> 18,935,231> Saving GlobalModData LOG : General , 1662673244261> 18,935,231> Saving finish LOG : General , 1662673244262> 18,935,232> Saving took 35.018751 ms LOG : General , 1662673250828> 18,941,798> waiting for UdpEngine thread termination LOG : General , 1662673250839> 18,941,809> 1662673250839> znet: Java_zombie_core_raknet_RakNetPeerInterface_Shutdown LOG : General , 1662673250839> 18,941,809> 1662673250839> znet: Shutting down Steam Game Server LOG : General , 1662673252212> 18,943,182> 1662673252212> znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown I am now trying to set up "screen" (for use with systemctl), which I found here. First, I was just trying to test out the screen commands. When running the shell with the following commands, I do not see any output when sending the "save" command to the screen console. When using "quit" A short stack track is printed out but no messages regarding an actual save: CONSOLE1 (pzuser): screen -DmS pzserver /opt/pzserver/start-server.sh CONSOLE2 (pzusr): screen -S pzserver -X save screen -S pzserver -X quit CONSOLE3 (pzuser): tail -f /home/pzuser/Zomboid/server-console.txt .. ########## Server Steam ID xxxxxxxxxxxxxxxxx ##########. [08-09-22 21:53:59.814] LOG : Multiplayer , 1662674039814> 19,730,784> [MPStatistics] mem usage notification threshold=16,320,875,520. [08-09-22 21:54:00.800] LOG : General , 1662674040800> 19,731,770> 1662674040800> znet: OnPolicyResponse. [08-09-22 21:54:00.801] LOG : General , 1662674040801> 19,731,771> 1662674040801> znet: Zomboid Server is VAC Secure. [08-09-22 21:56:38.673] ERROR: General , 1662674198673> 19,889,643> java.io.IOException: Input/output error. [08-09-22 21:56:38.673] ERROR: General , 1662674198673> 19,889,643> at java.base/java.io.FileInputStream.readBytes(Native Method). [08-09-22 21:56:38.673] ERROR: General , 1662674198673> 19,889,643> at java.base/java.io.FileInputStream.read(Unknown Source). [08-09-22 21:56:38.673] ERROR: General , 1662674198673> 19,889,643> at java.base/java.io.BufferedInputStream.read1(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198673> 19,889,643> at java.base/java.io.BufferedInputStream.read(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/sun.nio.cs.StreamDecoder.readBytes(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/sun.nio.cs.StreamDecoder.implRead(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/sun.nio.cs.StreamDecoder.read(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/java.io.InputStreamReader.read(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/java.io.BufferedReader.fill(Unknown Source). [08-09-22 21:56:38.674] ERROR: General , 1662674198674> 19,889,644> at java.base/java.io.BufferedReader.readLine(Unknown Source). I also tried setting PATH and LD_LIBRARY path similar to the forum post I linked above, but in doing so it doesn't even start/output logs: CONSOLE1 (pzuser): export PATH=/opt/pzserver/jre64/bin:$PATH export LD_LIBRARY_PATH=/opt/pzserver/linux64:/opt/pzserver/natives:/opt/pzserver:/opt/pzserver/jre64/lib/amd64:$LD_LIBRARY_PATH screen -DmS pzserver /opt/pzserver/ProjectZomboid64 -adminpassword ${mypass} CONSOLE2 (pzuser): tail -f /home/pzuser/Server/console-output.txt {NOTHING} Sorry for the long post I wanted to try and get any necessary info in the post. Any help/ideas on how to resolve this or what I could be doing wrong?
  2. I'm not sure whats wrong, but I have been trying to fix this problem for 6 hours now, reinstalling and installing packages etc etc. I'm kinda tired so I will just ask on the forum now. I also don't understand the errors it throws, its random bullshit and honestly I think the whole server package is a mess anyways but I guess you guys know more, here is the log from last startup. Things I know: No other PZ is running on the same port, so that cant be it I reinstalled PZ from the normal release AND also IWBUMS and both have the same error. The error at the end about the map is confusing, I dont even know if thats the cause I doubt it is, I think some library is missing, but It worked before I updated. The user I am running the server with has all the permissions needed to access the folder and also /zomboid Update/Install script looks like this: ./steamcmd.sh +login #### #### +force_install_dir /home/gameserver/PZ/ +app_update 380870 validate +exit I did also try to use the normal game app ID, but same problems there, even worse cause shit's missing. Any help is greatly appreciated! pzlogs.txt TEMPORARY SOLUTION:
  3. Hi guys. As you can see, i'm new here. Trying to setting up a new PZ Server ver.30 on Ubuntu, but getting only 29.4. i've tryed those 3 options ./steamcmd.sh +login steamusername steampassword "+app_update 108600 -beta iwillbackupmysave" -betapassword iaccepttheconsequences validate +exit./steamcmd.sh +login steamusername steampassword "+app_update 108600 -beta" validate +exit./steamcmd.sh +login steamusername steampassword "+app_update 108600" validate +exitEach time i became this steam@s17968806:~/Steam/steamapps/common/ProjectZomboid$ ./projectzomboid-dedi-server.shLoading RakNet from: /home/steam/Steam/steamapps/common/ProjectZomboid/projectzomboidSVN REVISION 964versionNumber=Early Access v. 29.4 demo=falseserver name is "servertest"Am I doing something wrong? I'm sure there must be a way to start the Beta-brunch build >.<
  4. 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 ****** Spiffo's Zomboid Server Service Center ****** Author: Nightmare @ http://n8m4re.de
  5. Hello fellow survivors. This is how I got PZ to start through Steam on Ubuntu 12.04 64Bit. First, install the 32Bit Java: sudo apt-get install openjdk-7-jre:i386Then set it as your default java: sudo update-alternatives --config javaIn the upcoming menu, select /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java I then copied all the files containing "lwjgl" from the game Towns to ~/.local/share/Steam/SteamApps/common/ProjectZomboid/projectzomboid: cd ~/.local/share/Steam/SteamAppscp common/towns/lib/native/*liblwjgl*so common/ProjectZomboid/projectzomboid/I have attached the relevant .so files in bz2 compressed format. Rename as needed, uncompress and put into PZs directory. This way, PZ is now launching for me via Steam. liblwjgl.so.bz2.txt liblwjgl64.so.bz2.txt
  6. So for me pz doesn't work with 64bit linux mint through the steam download. I get a immediate crash when loading. Same with compatibility mode. I ran the projectzomboid.sh in ~/.local/share/Steam/SteamApps/common/ProjectZomboid to grab any terminal output. Here's what I got: $ bash projectzomboid.sh net.puppygames.steam.SteamException: Can't load native libraries at net.puppygames.steam.SteamAPI.create(SteamAPI.java:76) at net.puppygames.steam.Steam.create(Steam.java:40) at net.puppygames.steam.Steam.init(Steam.java:64) at zombie.core.Core.init(Core.java:1378) at zombie.GameWindow.init(GameWindow.java:1341) at zombie.GameWindow.maina(GameWindow.java:887) at zombie.gameStates.MainScreenState.main(MainScreenState.java:98)AL lib: (EE) alc_cleanup: 1 device not closedthis doesn't *look* similar to the xinitthreads problems I'll try installing 32bit java as recommended in the morning and see if that fixes it..
×
×
  • Create New...