reportfile

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
leon303
Private First Class
Private First Class
Posts: 7
Joined: Mon Jul 14, 2003 10:18 am
Location: Germany
Contact:

reportfile

Post by leon303 »

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
orchid
Dev Godess
Dev Godess
Posts: 76
Joined: Sat Dec 07, 2002 6:07 pm

Post by orchid »

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.
leon303
Private First Class
Private First Class
Posts: 7
Joined: Mon Jul 14, 2003 10:18 am
Location: Germany
Contact:

Post by leon303 »

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?

Code: Select all

% ./startmap.sh > bzfs.logfile
does not work ?!

thnx for reading
User avatar
larsl
Dev Monkey
Dev Monkey
Posts: 50
Joined: Tue May 20, 2003 2:35 pm
Location: Stockholm
Contact:

Post by larsl »

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?
leon303
Private First Class
Private First Class
Posts: 7
Joined: Mon Jul 14, 2003 10:18 am
Location: Germany
Contact:

Post by leon303 »

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

Code: Select all

% aclocal
% autoheader
after typing "autoheader" i get the message that autoconf 2.53 is required..!?
User avatar
larsl
Dev Monkey
Dev Monkey
Posts: 50
Joined: Tue May 20, 2003 2:35 pm
Location: Stockholm
Contact:

Post by larsl »

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).
User avatar
larsl
Dev Monkey
Dev Monkey
Posts: 50
Joined: Tue May 20, 2003 2:35 pm
Location: Stockholm
Contact:

Post by larsl »

By the way, you could try to force the RPM package to install anyway (using --nodeps), it will probably work with slightly older versions of glibc too.
Post Reply