Hi Serveradmins ...
i am trying for several days to store the serveroutputmessages ... with no succsess
http://www.shellshock.dutchrai.com/refe ... zfscmd.htm
i want to use the "-reportfile myfile" otipn with the 1.7e6 server but i always get:
badargument -reportfile
i tried several syntax-variations but no of them works:
-reportfile myfile
-reportfile "myfile"
-reportfile 'myfile'
...
i am walking the right way? or is there s.th. else to check?
btw ... the file myfile exists and i chmod it at least to 777
what i'm doing wrong?
please help
reportfile
hello, I belive that the server version you are using (e6) does not
support that option, please goto http://sourceforge.net/projects/bzflag
and try and get the g2 version installed , you should then have
support for that, and a few other command options.
support that option, please goto http://sourceforge.net/projects/bzflag
and try and get the g2 version installed , you should then have
support for that, and a few other command options.
ok ... i tried to install g2 ...
rpm: need glibc.so.6 (GLIBC 2_3) .... dont want do this ..too much work.
source: need autoconf 2.53 or higher ...even to much for me ...
so is there a way to pipe the output of the server?
does not work ?!
thnx for reading
rpm: need glibc.so.6 (GLIBC 2_3) .... dont want do this ..too much work.
source: need autoconf 2.53 or higher ...even to much for me ...
so is there a way to pipe the output of the server?
Code: Select all
% ./startmap.sh > bzfs.logfile
thnx for reading
You shouldn't need autoconf 2.53 - I'm using 2.13, and it works fine.
What do you want to do , by the way? The -reportfile option won't store all server output, only the /report messages written by players. If you want to log all output simple redirection should work. I'm using the command
bzfs [bzfs options] | awk '{ printf "%s: %s\n", strftime("%F %H:%M:%S"), $$0 }' >> server.log
to get a timestamped log (although it will be somewhat delayed because of buffers in the pipe or redirection). If you don't want timestamps, something like
bzfs [bzfs options] >> server.log
should be enough.
What is startmap.sh?
What do you want to do , by the way? The -reportfile option won't store all server output, only the /report messages written by players. If you want to log all output simple redirection should work. I'm using the command
bzfs [bzfs options] | awk '{ printf "%s: %s\n", strftime("%F %H:%M:%S"), $$0 }' >> server.log
to get a timestamped log (although it will be somewhat delayed because of buffers in the pipe or redirection). If you don't want timestamps, something like
bzfs [bzfs options] >> server.log
should be enough.
What is startmap.sh?
thnx for the fast reply...
i want to store the server-outputmessages which are normally shown as standart-output after the server is started thru my startmap.sh shell-script
btw... if i follow the install-instructions
after typing "autoheader" i get the message that autoconf 2.53 is required..!?
i want to store the server-outputmessages which are normally shown as standart-output after the server is started thru my startmap.sh shell-script
btw... if i follow the install-instructions
Code: Select all
% aclocal
% autoheader
That's odd, I can run autoheader with autoconf 2.13. But you shouldn't need to run aclocal and autoheader if you have a source tarball, 'configure', 'make' and 'make install' should be enough. If you get error messages about autoconf when you run 'make', 'make -i' might help, it will tell make to ignore all errors and try to continue anyway, which should be OK - you should not need to run aclocal or autoheader, that is what developers do when they have changed some of the build system files (acinclude.m4, configure.in etc).