Page 1 of 1

Linux Server Issues Punk buster error

Posted: 2014-08-29 00:45
by Echo121
I have the bf2 server properly installed on the linux box it runs however each time it I try to start it the punkbuster symlink does not lauch.

I have tried to manually repath the symlink and nothing anyone able to help?

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 02:05
by bren
Are the proper files getting the proper permissions needed?

Did you not specify the port?

Did you have the port closed?

Not sure about this.. Is it due to GameSpy?

I've had little experience with PB, once case where it banned people with a certain graphics driver, etc. TBH unless you think you need it (I don't), don't use PB.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 02:37
by Echo121
all the files have exec permissions from chmod,
The ports are allowed I really have no idea as well been bashing my head against a wall for four hours.

this is the error

Code: Select all

:~$ service prserver start
ln: failed to create symbolic link ?pb?: File exists
/etc/init.d/prserver: line 27: //bin/bf2: No such file or directory
:~$


the server has a symlink from the bf2 start script to the service prserver so that it will reboot on start up and boot on crash.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 02:53
by bren
Echo121 wrote:all the files have exec permissions from chmod,
The ports are allowed I really have no idea as well been bashing my head against a wall for four hours.

this is the error

Code: Select all

:~$ service prserver start
ln: failed to create symbolic link ?pb?: File exists
/etc/init.d/prserver: line 27: //bin/bf2: No such file or directory
:~$


the server has a symlink from the bf2 start script to the service prserver so that it will reboot on start up and boot on crash.
If you want it to reboot on start it's not just a symbolic link,

Code: Select all

sudo mv /filename /etc/init.d/
sudo chmod +x /etc/init.d/prserver 
sudo update-rc.d prserver defaults

If I remember doing this correctly it would look something like that, google it if you want to double check.

And for the symlink, have you gone into your init.d folder to check and see if it is there? Because you might have made a symlink by mistake resulting in it having to be manually cleared.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 03:28
by Echo121
That part is correctly configured, the issue arises when I try to start the server, The error

Code: Select all

ln: failed to create symbolic link ?pb?: File exists

And Im not sure why this error is appearing, I tired to path it to the bf2 server dir to the pr

Code: Select all

lrwxrwxrwx   1 root root     9 Aug 28 20:18 pb -> pb_amd-64

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 03:54
by bren
Echo121 wrote:That part is correctly configured, the issue arises when I try to start the server, The error

Code: Select all

ln: failed to create symbolic link ?pb?: File exists

And Im not sure why this error is appearing, I tired to path it to the bf2 server dir to the pr

Code: Select all

lrwxrwxrwx   1 root root     9 Aug 28 20:18 pb -> pb_amd-64
This might do nothing, but don't do anything with the root account. I suggest a clean reinstall if possible. Next thing to do is create a normal non-sudo account being the bf2 server, and another with sudo. Then, disable root access.

Then, you install pr on the bf2 server making sure all file permissions are correct try to do what you were doing again. You shouldn't use root unless you really need to.

And if you choose to ignore the above - try to delete your symlink this way because it seems like part of it is saving over.

Linux Delete Symbolic Link ( Softlink )

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 14:44
by Echo121
Okay I reinstalled using the pr user, I switched this time instead of doing it all by sudo <> now it works no error ,

Code: Select all

drwxr-xr-x 3 pr pr    4096 Aug 29 10:44 admin
drwxr-xr-x 4 pr pr    4096 Aug 29 10:44 adminutils
drwxr-xr-x 4 pr pr    4096 Aug 29 10:44 bin
-rwxr-xr-x 1 pr pr    1410 Aug 29 10:44 lowercaseDir.py
drwxr-xr-x 4 pr pr    4096 Aug 29 10:44 mods
lrwxrwxrwx 1 pr pr       9 Aug 29 10:45 pb -> pb_amd-64
drwxr-xr-x 4 pr pr    4096 Aug 29 10:45 pb_amd-64
drwxr-xr-x 4 pr pr    4096 Aug 29 10:44 pb_ia-32
-rw-r--r-- 1 pr pr 2872597 Aug 29 10:44 pylib-2.3.4.zip
drwxr-xr-x 3 pr pr    4096 Aug 29 10:44 python
drwxr-xr-x 2 pr pr    4096 Aug 29 10:44 readmes
-rw-r--r-- 1 pr pr     468 Aug 29 10:44 rotate_demo.cfg
-rwxr-xr-x 1 pr pr     437 Aug 29 10:44 start.sh
So Now I will rename the configs and such but man that was a headache and a half for a minor over sight.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-29 20:18
by Echo121
Okay, so the server started properly I went in and changed the config for the server name and now it fails to start this is starting to get more complicated then it should be and I have no idea why

Config

Code: Select all

sv.serverName "/duo/ProjectReality pr.doucommunity.org"
sv.password ""
sv.internet 1
sv.serverIP "192.99.36.56"
sv.serverPort 16567
sv.welcomeMessage "Welcome to /duo/ProjectReality!"
sv.punkBuster 0
sv.allowFreeCam 0
sv.allowExternalViews 1
sv.allowNoseCam 1
sv.hitIndicator 1
sv.maxPlayers 64
sv.numPlayersNeededToStart 2
sv.notEnoughPlayersRestartDelay 15
sv.startDelay 15
sv.endDelay 15
sv.spawnTime 15
sv.manDownTime 15
sv.endOfRoundDelay 15
sv.ticketRatio 100
sv.roundsPerMap 3
sv.timeLimit 0
sv.scoreLimit 0
sv.soldierFriendlyFire 100
sv.vehicleFriendlyFire 100
sv.soldierSplashFriendlyFire 100
sv.vehicleSplashFriendlyFire 100
sv.tkPunishEnabled 1
sv.tkNumPunishToKick 3
sv.tkPunishByDefault 0
sv.votingEnabled 1
sv.voteTime 90
sv.minPlayersForVoting 2
sv.teamVoteOnly 1
sv.gameSpyPort 29900
sv.allowNATNegotiation 0
sv.interfaceIP ""
sv.autoRecord 0
sv.demoIndexURL http://
sv.demoDownloadURL http://
sv.autoDemoHook "adminutils/demo/rotate_demo.py"
sv.demoQuality 1
sv.adminScript "default"
sv.timeBeforeRestartMap 30
sv.autoBalanceTeam 0
sv.teamRatioPercent 100
sv.coopBotRatio 50
sv.coopBotCount 16
sv.coopBotDifficulty 50
sv.voipEnabled 1
sv.voipQuality 3
sv.voipServerRemote 0
sv.voipServerRemoteIP ""
sv.voipServerPort 55125
sv.voipBFClientPort 55123
sv.voipBFServerPort 55124
sv.voipSharedPassword ""

Re: Linux Server Issues Punk buster error

Posted: 2014-08-30 05:01
by Echo121
Reference for Update,

The libs required for b2server will not work in the latest dirstro for ubuntu.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-30 05:24
by bren
Use ubuntu 12.04, that's the most stable version for BF2 in my experiences

Posted: 2014-08-30 07:50
by BloodyDeed
Not sure what you're referring to Echo but my PR:BF2 works perfectly fine on Ubuntu 14.04 LTS.
Murmur doesn't work though.

Re: Linux Server Issues Punk buster error

Posted: 2014-08-30 18:35
by Echo121
^^ I made the switch and then there were no issues Thanks for the Tip