fs_homepath and PB ..


(bayowar) #1

Hi comm,

I’m the owner of a linux-rootserver on which I installed ET some weeks ago.
As I need at least two different ET-Servers to be hosted on that machine I used the fs_base- and fs_homepath-parameters.
As written in the PB-FAQ I created 2 different homepath-directories. Then I added ‘etpro’, ‘etmain’ and ‘pb’ to those 2 homepath-directories and inserted the specific files in each folder. When I started the 2 servers it looked all fine - but after connecting to the 2nd gameserver the PB-server complained bout an outdated version. The first gameserver had the updated version for some weird reason.
I started pb_sv_update on the 2nd server …

pb_sv_update
^3PunkBuster Server: Master Query Sent to (ET1.EVENBALANCE.COM) 216.40.250.82
^3PunkBuster Server: Download Request for htm/wa001336.htm Sent to (PBET1.IDSOFTWARE.COM) 192.246.40.61

Then there was silence - so I typed ‘pb_sv_restart’ … no answer … right after ‘pb_sv_disable’ the server finally crashed.
The pb-support told me to ask here, because they thought it was an ET-specific problem - no idea how they come to that.
Anyway - I hope there’s some guy around who can help me.


(Lekdevil.NL) #2

Welcome to the land of the Splashers!

Please define “silence”. Do you mean that the server become unresponsive, or doesn’t allow anyone to connect?

Note that when there isn’t anyone connected to the server, you’ll need to issue the “pb_sv_update” command repeatedly (once for each file) untill all server, client and anticheat files have been downloaded. This can take awhile. If you connect to the server with an ET client, a single “pb_sv_update” is sufficient. In that case, the next file will be fetched automatically until everything has been downloaded.

If you’re still having problems, it will help to post an “ls -laR” of your “pb” directory in your fs_homepath. Also post the IP of the server so I can connect to it and see what’s going on.

HTH.


(bayowar) #3

Okay, after ~5 times of pb_sv_update the server finally got every file.
But it keeps crashing on ‘pb_sv_restart’ - it says the following now:

^3PunkBuster Server: 0 Aliases Written to /home/user/et2/pb/pbalias.dat
^3PunkBuster Server: 0 Stat Records Written to /home/user/et2/pb/pbstat.dat
^3PunkBuster Server: Preparing to Restart PB Server… (/home/user/et2/pb/)
-------- UNRECOVERABLE ERROR --------
This may be due to a bug in etpro
Information to be used in a bug report is being generated:
------------- CUT HERE --------------
Version: etpro 3.0.1
Platform: Linux
Signal: Segmentation violation (11)
Stack trace: 1 entries
/home/user/et2/etpro/qagame.mp.i386.so[0x55158bf7]
------------- CUT HERE --------------
Trying to clean up…
Received signal 11, exiting…
/etded: line 5: 4464 Segmentation fault ./etded.x86 $*

… and the files inside the pb-folder:

.:
total 7388
drwxr-xr-x 6 root root 4096 Jun 12 14:25 .
drwxr-xr-x 5 root root 4096 Jun 9 18:34 …
-rw-r–r-- 1 root root 6197 Jun 9 18:55 PB_EULA.txt
drwxr-xr-x 2 root root 4096 Jun 12 14:25 dll
drwxr-xr-x 2 root root 4096 Jun 12 14:25 htm
-rw-r–r-- 1 root root 465428 Jun 9 18:55 pbag.so
-rw-r–r-- 1 root root 37520 Jun 12 14:22 pbags.so
-rw-r–r-- 1 root root 465428 Jun 9 18:34 pbagsold.so
-rw-r–r-- 1 root root 87 Jun 9 18:55 pbcl.db
-rw-r–r-- 1 root root 864804 Jun 9 18:55 pbcl.so
-rw-r–r-- 1 root root 1173188 Jun 12 14:25 pbcls.so
-rw-r–r-- 1 root root 864804 Jun 9 18:34 pbclsold.so
-rw-r–r-- 1 root root 38 Jun 12 14:45 pbsv.dat
-rw-r–r-- 1 root root 3506 Jun 12 14:47 pbsv.db
-rw-r–r-- 1 root root 1967108 May 30 15:28 pbsv.so
-rw-r–r-- 1 root root 1478336 Jun 9 18:55 pbsvold.so
-rw-r–r-- 1 root root 146084 Jun 9 18:55 pbweb.x86
-rw-r–r-- 1 root root 228 Jun 9 19:03 sv_cheat.log
drwxr-xr-x 2 root root 4096 Jun 12 14:45 svlogs
drwxr-xr-x 2 root root 4096 Jun 9 18:34 svss

./dll:
total 1200
drwxr-xr-x 2 root root 4096 Jun 12 14:25 .
drwxr-xr-x 6 root root 4096 Jun 12 14:25 …
-rw-r–r-- 1 root root 37520 Jun 12 14:22 la001336.so
-rw-r–r-- 1 root root 1173188 Jun 12 14:25 lc001083.so

./htm:
total 5416
drwxr-xr-x 2 root root 4096 Jun 12 14:25 .
drwxr-xr-x 6 root root 4096 Jun 12 14:25 …
-rw-r–r-- 1 root root 239398 Jun 9 18:55 la001307.htm
-rw-r–r-- 1 root root 44340 Jun 12 14:22 la001336.htm
-rw-r–r-- 1 root root 524123 Jun 9 18:55 lc001009.htm
-rw-r–r-- 1 root root 523858 Jun 9 18:55 lc001012.htm
-rw-r–r-- 1 root root 694379 Jun 12 14:24 lc001083.htm
-rw-r–r-- 1 root root 777434 Jun 9 18:55 ls001009.htm
-rw-r–r-- 1 root root 280124 Jun 9 18:55 ma001307.htm
-rw-r–r-- 1 root root 64543 Jun 12 14:22 ma001336.htm
-rw-r–r-- 1 root root 232199 Jun 9 18:55 mc001009.htm
-rw-r–r-- 1 root root 231071 Jun 9 18:55 mc001012.htm
-rw-r–r-- 1 root root 256540 Jun 12 14:25 mc001083.htm
-rw-r–r-- 1 root root 329357 Jun 9 18:55 ms001009.htm
-rw-r–r-- 1 root root 146844 Jun 9 18:55 wa001307.htm
-rw-r–r-- 1 root root 73897 Jun 12 10:17 wa001336.htm
-rw-r–r-- 1 root root 215548 Jun 9 18:55 wc001009.htm
-rw-r–r-- 1 root root 215485 Jun 9 18:55 wc001012.htm
-rw-r–r-- 1 root root 258979 Jun 12 14:23 wc001083.htm
-rw-r–r-- 1 root root 329331 Jun 9 18:55 ws001009.htm

./svlogs:
total 52
drwxr-xr-x 2 root root 4096 Jun 12 14:45 .
drwxr-xr-x 6 root root 4096 Jun 12 14:25 …
-rw-r–r-- 1 root root 9346 Jun 9 18:46 00000001.log
-rw-r–r-- 1 root root 2821 Jun 9 18:45 00000002.log
-rw-r–r-- 1 root root 3227 Jun 9 18:54 00000003.log
-rw-r–r-- 1 root root 2996 Jun 9 18:57 00000004.log
-rw-r–r-- 1 root root 3477 Jun 9 19:04 00000005.log
-rw-r–r-- 1 root root 3189 Jun 12 10:17 00000006.log
-rw-r–r-- 1 root root 6170 Jun 12 14:43 00000007.log
-rw-r–r-- 1 root root 3359 Jun 12 14:48 00000008.log

./svss:
total 8
drwxr-xr-x 2 root root 4096 Jun 9 18:34 .
drwxr-xr-x 6 root root 4096 Jun 12 14:25 …

However, when I started the server again the PB-Server was up to date. That means there’s only the restart-problem left. But it seems to be something etpro-related … let’s hope I don’t have to wait for bani’s next release.

Servers’ IPs are 217.20.115.152:27960 and 217.20.115.152:27961 btw.


(joop sloop) #4

Ehm, silly question maybe, but are you running the game servers as root? That’s not such smart idea I think. YOu would be safer if you made a special ET-server user, so if someone manages to hack/crack your server and gain acces all they have is a restricted ET-server account instead of full rooot acces…


(bayowar) #5

Could you tell me how to create a user which has only access to a specific folder and its
subfolders ? When I created a user it always had access to every file on the server.
Google gave me some hints but mostly using KDE and stuff. Nothing useful at all.

Well, after playing a while on those 2 servers I realized two more problems:

PB kicks many players for ‘PB Init Failure’ - no idea why. They all have up to date PB-
versions and a well running PB.

Furthermore www-download doens’t work properly.
The download starts but after a few bytes it stops for some weird reason and opens the
fall-back URL.

Config settings seem to be alright - the download without ET, just using the Internet
explorer works fine.

Is there any setting inside the apache-config which could block those download-
attempts ?