Posted: Sun Dec 24, 2006 5:52 pm Post subject: BF Vietnam problems
Hi!
First, BF Vietnam did not install on my linux server...
So I downloaded and installed it manually...
The config files needed to be changed to lower case on GC to match the new file name format.
Started server fine, and it appears to work ok, but GC does not detect the process is running, and restarts the game server..... over and over and over...
I've tried the 'screen' startup script that was offered for BF2, but that did not solve the problem.
Is anyone successfully running BF Vietnam on linux?
Could you please offer some help?
ok, start.sh by default has 'exec ./bfv_linded $@'
./bfv_linded is a symbolic link to the static or dynamic version, which start.sh tests for and creates when run.
But the bfv_lined.static is the one currectly being run. ( odd.. last install it was the dynamic one... )
I'm currently using screen to start it, and its process ID will not change... Perhaps you could change the command line to use 'screen -mdS %name%'?
Could you help me understand how GC follows the process id? I guess its not trying to read a .pid file, but just remembering the initial process it starts. yes/no?
Now with my css servers, ( 3 of them.. ) I have it set to restart at 5:00am... at 5:05, I have 6 css servers... doesn't seem to be killing the old ones, and also it generally can not stop the 'new' three it starts. ( game monitoring is off because of the bfv problem )
Thanks!
Chumly
Last edited by chumly on Fri Dec 29, 2006 2:06 pm; edited 1 time in total
However, Since the change in the command line it does not even start the process. Perhaps the only problem was the uppercase issue. could you put it back to ./bfv_linded.static and we'll see if it all works now.
Nope, same problem.
GC seems to be able to see the .pid file, and the pidfile does contain the correct pid, but it keeps restarting the service every few minutes.
PID file contains:
-------------
5235
1074062720
-------------
Error Message:
-------------
Start GameCreate attempted to start Bears Den. 12/30/2006 21:29:17
Stop GameCreate stopped Bears Den. 12/30/2006 21:29:15
Fail Query Failure 12/30/2006 21:29:07
Start GameCreate attempted to start Bears Den. 12/30/2006 21:26:49
Stop GameCreate stopped Bears Den. 12/30/2006 21:26:45
Fail Query Failure 12/30/2006 21:26:33
--------------
Interesting that it knows what process to stop, but it can't 'query' it. What is it that it wants?
No, the server is queryably, and we do have players using it.
This is the problem we started with.
The GC client is the current one, and i do have the multiserv.so file.
It appears that BFV is adding a 'port-fix' command to the command line. It's adding 125 to the port numbers.... I dont know why, and haven't found and documentation on this command.
Also, I don't think it's doing it properly either....
First server at port 23000 - command line :
Notice both lines have --port-fix 23000
Second server is responding at port 23175, but the first one is not responding at 23000, or 23125.
Now heres some more fun.
I netstat -ap | grep 23050 and I see the second server process on that port.
I do the same for 23175, and I see the second sever process.
I do the same for 23125, and I see the first server process.
i do the same for 23000, and I dont see any process.
i do the same for 23001, and I see the first server.
The first server does respond on port 23001..... WTF!!!
Ok, So if I stop both, default all the config files, and start the first server only, this is the ports it is using...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum