#1 Re: Technical Help » BF1942 Linux server » 2013-10-10 09:49:30

bud wrote:

And thats your problem, now your going around the problem with use binding to localhost (127.0.0.1) witch is used in linux for LAN games, but if you dont use a real startscript you will miss out on alot of functions like -restart if the server crashes.

Actually the problem was really with connection to rcon.
I didn't use 127.0.0.1 as It didn't work. I used the local IP like 192.168.1.123 and it managed to work. This means that rcon connection between bfsm and server is through local network, not through publik IP. Still server is available from global internet smile

I guess it come from polices of the host provider. I'll contact the administrator and try to clear this moment. Our server is not rented vps, it is our computer hosted by our local internet provider, so there could be some network and security polices. For example I open access from global network to our server only with help of local administrator (and manually config iptables).

Hope will clarify this. Any way thank you very much for your time and attention!
And once again thanks for all the patches and resources for the server. You're the best! smile

P.S. here is how my server is started (using ps -ef)

SCREEN -A -m -d -S bf1942dc ./bfsmd -port 14667 +statusMonitor 1
/home/bf/bf1942/bf1942_lnxded +statusMonitor 1

#2 Re: Technical Help » BF1942 Linux server » 2013-10-09 18:02:27

bud wrote:

How does your startscript look like?

as written above - big button start in BFRM smile

Rollback problem. I solved it. Some ancient Buddhist dances and it's working. Just put local address in BFRM ans still use 0.0.0.0 + several restarts smile

#3 Re: Technical Help » BF1942 Linux server » 2013-10-09 17:26:01

s[sk] wrote:

i think you need to enable remote console, fill in user, password and restart the server (not 100%, never did too much tests with it but bfsmd needs rcon to issue commands and rcon needs user/password and i don't think bfsmd autogenerates them if they're empty)

I've just checked. I have Remote Console enabled and username/password filled in.
Still it can't change map.
May be it's because of 0.0.0.0 Ip for the server? There is some strange things happening.
bfsmd doesn't start if I type in the correct IP (public, local, localhost) - it starts only when I have 0.0.0.0 in servermanager.con
When I connect to the server by BFRM I have to fill in correct IP and mark "use 0.0.0.0" option. It overwrites my servermanager.con but still continues to work fine.

start.sh is the same. Starts only with 0.0.0.0 otherwise it fails with "Failed to bind socket" error.

in iptables allowed 14567,14667,14690,4711,23000 (for all both tcp and udp)
May be I forgot some port?

#4 Re: Technical Help » BF1942 Linux server » 2013-10-09 15:58:32

s[sk] wrote:

looks like bfsmd is unable to connect rcon port of the server
no firewall blocking it? did you start the server from bfsm so rcon passwords match? do you have remote console enabled? password set?

O____O 
Opps (c)


Sorry. Some healthy self-sarcasm smile

1) I've started bfsmd on server by ./bfsmd -port 14667
connected by remote manager and pressed "start". Server started only with "use 0.0.0.0" option. And working.

2) I didn't fill any rcon passwords anywhere. As I understood BFRM generates all server configs and starts the server.

3) remote console ... i've checked RemoteConsole and entered username ... and RemoteAdmin too. But I don't see where it go further.
Need to read BFSM manual? smile

#5 Technical Help » BF1942 Linux server » 2013-10-09 15:46:02

Moris
Replies: 7

Hi all!

I've installed BFServerManager 2.01 (from over here http://team-simple.org/forum/viewtopic. … 305#p15305 as server is on Linux) and BFRemoteManager 2.01
It works, starts and everything is ok except two strange thing - can't change map. The status screen also can't show the actual status. The log file says:

2013-10-09 17:39:46 : User admin at 62.231.28.38:49787 updated the map rotation.
2013-10-09 17:39:51 : Couldn't send message admin.changeMap  to console! Not connected.
2013-10-09 17:39:51 : Couldn't change to map battle_of_britain GPM_CQ bf1942! The command failed.

Did anybody come across this problem?
Thank you!

#6 Re: Technical Help » No Key BF1942 Server? » 2013-10-08 16:53:32

tuia wrote:
wget http://team-simple.org/download/bfservermanager201-patched.tar.gz
tar zxvf bfservermanager201-patched.tar.gz
cat README | less

RTFM tongue

I had huge problems with the same error ... and only your "RTFM" helped me! Really!
Huge thank you! smile

Board footer