Author Topic: Soldat server tutorial for linux  (Read 64030 times)

0 Members and 1 Guest are viewing this topic.

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #40 on: February 02, 2011, 10:11:34 am »
Yessirrr, so I installed a new os, ubuntu 32bit.

and its giving me an ERROR msg now, thank god. lul

but its about the zlib.

I made the lib32 directory.
but Idk what else I need to put in it ;\


« Last Edit: February 02, 2011, 10:14:21 am by TheV »

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Soldat server tutorial for linux
« Reply #41 on: February 02, 2011, 10:25:50 am »
1) cp /usr/lib/libz.so.* /usr/lib/libz.so   (where * put what appears)

2) cp /usr/lib32/libz.so.* /usr/lib32/libz.so   (where * put what appears)

try ./soldatserver

Why not try to run your application as a user?

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #42 on: February 02, 2011, 10:32:48 am »
no such file requested.

It won't let me login to the user I created ;\

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Soldat server tutorial for linux
« Reply #43 on: February 02, 2011, 11:04:18 am »
moment why u have created /usr/lib32? :S isn't necessary

try his (with root account).

apt-get update
apt-get remove zlib
apt-get install zlib

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #44 on: February 02, 2011, 11:40:47 am »
lib32 only on 64 bit OS's
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #45 on: February 03, 2011, 08:13:26 am »
[spoiler]root@Game:/usr/lib# rm libz.so
rm: cannot remove `libz.so': No such file or directory
root@Game:/usr/lib# ln -s libz.so.1 libz.so
root@Game:/usr/lib#  cd /
root@Game:/# cd home
root@Game:/home# login vtx
Password:
Last login: Thu Feb  3 15:56:23 MSK 2011 on pts/0
Linux Game 2.6.18-194.26.1.el5.028stab079.1 #1 SMP Sat Nov 27 00:56:10 MSK 2010 i686 GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
vtx@Game:~$ cd /
vtx@Game:/$ cd home
vtx@Game:/home$ cd vtx
vtx@Game:~$ cd soldatserver
vtx@Game:~/soldatserver$ ls
BattlEye     lobby_servers.txt  scenery-gfx   soldatserver.exe
Changes.txt  logs               scripts       soldatserver265.zip
README.txt   maps               server.ini    textures
anims        mapslist.txt       serverscript  weapons.ini
banned.txt   objects            soldat.ini    weapons_realistic.ini
bots         remote.txt         soldatserver
vtx@Game:~/soldatserver$ ./soldatserver
./soldatserver: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
vtx@Game:~/soldatserver$ ^C
vtx@Game:~/soldatserver$
[/spoiler]

Help ;\

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Soldat server tutorial for linux
« Reply #46 on: February 03, 2011, 08:24:20 am »
[spoiler]root@Game:/usr/lib# rm libz.so
rm: cannot remove `libz.so': No such file or directory
root@Game:/usr/lib# ln -s libz.so.1 libz.so
root@Game:/usr/lib#  cd /
root@Game:/# cd home
root@Game:/home# login vtx
Password:
Last login: Thu Feb  3 15:56:23 MSK 2011 on pts/0
Linux Game 2.6.18-194.26.1.el5.028stab079.1 #1 SMP Sat Nov 27 00:56:10 MSK 2010 i686 GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
vtx@Game:~$ cd /
vtx@Game:/$ cd home
vtx@Game:/home$ cd vtx
vtx@Game:~$ cd soldatserver
vtx@Game:~/soldatserver$ ls
BattlEye     lobby_servers.txt  scenery-gfx   soldatserver.exe
Changes.txt  logs               scripts       soldatserver265.zip
README.txt   maps               server.ini    textures
anims        mapslist.txt       serverscript  weapons.ini
banned.txt   objects            soldat.ini    weapons_realistic.ini
bots         remote.txt         soldatserver
vtx@Game:~/soldatserver$ ./soldatserver
./soldatserver: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
vtx@Game:~/soldatserver$ ^C
vtx@Game:~/soldatserver$
[/spoiler]

Help ;\

you need to install zlib
apt-get install zlib1g-dev
should solve that

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #47 on: February 03, 2011, 08:26:32 am »
OMG, You are a godsend.

<3

so much...

fucking ur my jesus.

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Soldat server tutorial for linux
« Reply #48 on: March 08, 2011, 01:54:55 pm »
Hello!
Trying to run latest (1.5.1e) soldatserver on Ubuntu 10.04 64bit.
After following this tutorial I am stuck when trying to start it.
Code: [Select]
soldat@minekraft:/home/Soldat# ./soldatserver
soldat@minekraft:/home/Soldat#
Nothing is starting, no messages.

Also.
Code: [Select]
root@minekraft:/home/Soldat# ls -al /usr/
total 88
drwxr-xr-x  10 root root  4096 Jul  8  2010 .
drwxr-xr-x  20 root root  4096 Mar  4 20:16 ..
drwxr-xr-x   2 root root 28672 Jan 22 18:50 bin
drwxr-xr-x   2 root root  4096 Jul  8  2010 games
drwxr-xr-x  39 root root  4096 Jan 22 18:49 include
drwxr-xr-x  69 root root 20480 Jan 22 18:49 lib
lrwxrwxrwx   1 root root     3 Dec 16 21:31 lib64 -> lib
drwxr-xr-x  11 root root  4096 Mar  8 20:48 local
drwxr-xr-x   2 root root 12288 Feb 11 01:53 sbin
drwxr-xr-x 110 root root  4096 Jan 22 18:49 share
drwxrwsr-x   2 root src   4096 Jul  8  2010 src


Code: [Select]
root@minekraft:/home/Soldat# cd /usr/lib/
root@minekraft:/usr/lib# ls -al libz*
-rw-r--r-- 1 root root 118210 Nov  9  2009 libz.a
lrwxrwxrwx 1 root root     20 Dec 22 11:34 libz.so -> /lib/libz.so.1.2.3.3
root@minekraft:/usr/lib#

[saw]  on 1.5.1

Offline BicMac

  • Major(1)
  • Posts: 5
Re: Soldat server tutorial for linux
« Reply #49 on: June 25, 2011, 12:17:57 pm »
TY for this helpfully tutorial
~ Life is a Rollercoaster

Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Re: Soldat server tutorial for linux
« Reply #50 on: December 05, 2011, 05:41:19 am »
It is wise to change the download link of the current dedicated server release to it's latest.

Offline soldat-game

  • Camper
  • ***
  • Posts: 407
Re: Soldat server tutorial for linux
« Reply #51 on: July 19, 2016, 04:31:14 pm »
Fix commands!
Go server catalog next use command "sudo -u <USER NAME> nohup ./soldatserver> /dev/null &"
How kill u see pid number save it or write command "top" and see ur server pid, or go to server catalog and use "kill `cat ./logs/soldatserver.pid`"
If u use scripts using sc3 you must give the appropriate permissions for the folder scripts "chmod -R 0777 scripts"
U also must give "chmod -R 0777 remote.txt" if not and if u ussing admin command maybe disable the server.
This same for bannedhw.txy and banned.txt

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Soldat server tutorial for linux
« Reply #52 on: July 20, 2016, 08:13:41 pm »
Fix commands!
Go server catalog next use command "sudo -u <USER NAME> nohup ./soldatserver> /dev/null &"
How kill u see pid number save it or write command "top" and see ur server pid, or go to server catalog and use "kill `cat ./logs/soldatserver.pid`"
If u use scripts using sc3 you must give the appropriate permissions for the folder scripts "chmod -R 0777 scripts"
U also must give "chmod -R 0777 remote.txt" if not and if u ussing admin command maybe disable the server.
This same for bannedhw.txy and banned.txt

You really shouldn't advocate using world-readable permissions (777). Learn to use chown to make the files owned by the user you run the server as and use 755 (and 644 for non-exec files) instead.
There are other worlds than these