LightWalker 0 Posted December 31, 2003 Well. Installed OFP RES and the OFP Linux Server on a linux Server. Started it with ./server... 1 second later i have my prompt back and nothing happened...... Whats wrong? Share this post Link to post Share on other sites
benu 1 Posted December 31, 2003 What linux distribution and version? Did you run tolower? Do you have a flashpoint.cfg? If you can answer all this with yes, then please descript how you set up the server. Share this post Link to post Share on other sites
Placebo 29 Posted December 31, 2003 Moving to troubleshooting. Share this post Link to post Share on other sites
Bergmania 0 Posted December 31, 2003 As benu said.. make sure that you have a flashpoint.cfg .. just copy it over from a windows machine that you have run operation flashpoint on.. Share this post Link to post Share on other sites
LightWalker 0 Posted December 31, 2003 >What linux distribution and version? Debian Woody >Did you run tolower? Yep >Do you have a flashpoint.cfg? Yep, in the ofp directory. >If you can answer all this with yes, then please descript how you set >up the server. Uploaded all Windows directories, renamed Operation Flashpoint to ofp, got 191c Linux server. Executed the server-1.91c.shar thingy. Type ./server to check if it came back with anything. Running ./ofpserver start only gets into a loop because "server died". Only point that I'm not sure about is 1a. On some newer verions of Linux (this was reported for RedHat 9 and Gentoo linux 2.4.20) the NSCD deamon must be installed to run OFP server successfully. Caching of DNS would be sufficient. Server doesnt run a DNS server, but it's able to resolve everything. Share this post Link to post Share on other sites
Bergmania 0 Posted December 31, 2003 if you do a 'strace ./server' what does that tell you? Share this post Link to post Share on other sites
benu 1 Posted December 31, 2003 I am running on debian too, i did not need the nscd demon or other glibc. Try to start your server with just "./server". Or if you have a serverconfig (eg named server.cfg) with "./server -config=server.cfg". You could also change the path in the ofpserver script and run that ("./ofpserver check"). You didn't tell with which user you did it. The server should not be run as root. Create a user games or ofp or something and do a "chown -R games /path/of/ofp" and a "chmod -R 755 /path/to/ofp". You should also check the output of the hostname command. This should be the same as the name of the server through dns server, ie when you type "nslookup ip.of.your.server" from another server. You could check firewall settings:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/sbin/iptables -I INPUT -i eth0 -p udp -d your.ip.here --dport 2302:2304 -j ACCEPT /sbin/iptables -I OUTPUT -o eth0 -p udp -s your.ip.here --sport 2302:2303 -j ACCEPT Share this post Link to post Share on other sites
LightWalker 0 Posted January 2, 2004 >if you do a strace ./server what does that tell you? The output is: execve("./server", ["./server"], [/* 15 vars */]) = 0 fcntl64(0, F_GETFD) = 0 fcntl64(1, F_GETFD) = 0 fcntl64(2, F_GETFD) = 0 uname({sys="Linux", node="mia", ...}) = 0 geteuid32() = 0 getuid32() = 0 getegid32() = 0 getgid32() = 0 getrlimit(0x3, 0xbffff938) = 0 setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 getpid() = 20652 rt_sigaction(SIGRTMIN, {0x85e0394, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x85e02b0, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x85e0400, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff700, 35, (nil), 0}) = 0 brk(0) = 0x86fc6c8 brk(0x86fc6e8) = 0x86fc6e8 brk(0x86fd000) = 0x86fd000 gettimeofday({1072972687, 286501}, NULL) = 0 gettimeofday({1072972687, 286580}, NULL) = 0 gettimeofday({1072972687, 286614}, NULL) = 0 brk(0x86fe000) = 0x86fe000 brk(0x86ff000) = 0x86ff000 brk(0x8701000) = 0x8701000 brk(0x8702000) = 0x8702000 brk(0x8713000) = 0x8713000 brk(0x8714000) = 0x8714000 brk(0x8715000) = 0x8715000 brk(0x8716000) = 0x8716000 brk(0x8717000) = 0x8717000 brk(0x8718000) = 0x8718000 brk(0x8719000) = 0x8719000 brk(0x871a000) = 0x871a000 brk(0x871b000) = 0x871b000 brk(0x871c000) = 0x871c000 open("flashpoint.cfg", O_RDONLY) = 3 close(3) = 0 open("flashpoint.cfg", O_RDONLY) = 3 close(3) = 0 brk(0x872d000) = 0x872d000 open("flashpoint.cfg", O_RDONLY) = 3 close(3) = 0 open("flashpoint.cfg", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=626, ...}) = 0 old_mmap(NULL, 626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40000000 munmap(0x40000000, 626) = 0 close(3) = 0 brk(0x872f000) = 0x872f000 open("flashpoint.cfg", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3 write(3, NULL, 0) = 0 write(3, "Light_Explo=\"1\";\r\nCloudlets=\"1\";"..., 626) = 626 close(3) = 0 brk(0x86fd000) = 0x86fd000 _exit(0) = ? Share this post Link to post Share on other sites
benu 1 Posted January 2, 2004 As the last thing it does seems to be processing the flashpoint.cfg i could send you mine for a start and you could try if it works with that one... Share this post Link to post Share on other sites
LightWalker 0 Posted January 20, 2004 Yeah, lets try that. mismo@planet.nl Share this post Link to post Share on other sites