msg gets printed twice


log in

Advanced search

Questions and Answers : Unix/Linux : msg gets printed twice

Author Message
Briz
Send message
Joined: 16 Nov 99
Posts: 2
Credit: 80,526
RAC: 0
Canada
Message 15348 - Posted: 11 Aug 2004, 5:57:17 UTC

linux client (3.20) seems to print out messages twice, for example<p>
2004-08-11 01:52:15 [SETI@home] Scheduler RPC to http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi failed<BR>
2004-08-11 01:52:15 [SETI@home] Scheduler RPC to http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi failed<BR>
2004-08-11 01:52:15 [SETI@home] No schedulers responded<BR>
2004-08-11 01:52:15 [SETI@home] No schedulers responded<BR>
2004-08-11 01:52:15 [SETI@home] Deferring communication with project for 6 minutes and 15 seconds<BR>
2004-08-11 01:52:15 [SETI@home] Deferring communication with project for 6 minutes and 15 seconds<p>

anyone know anything about this? or is there a gremlin messing with my machine :o)<p>Thanks<p>~Brizon

VSmeets
Send message
Joined: 23 May 01
Posts: 4
Credit: 63,060
RAC: 0
Netherlands
Message 17788 - Posted: 26 Aug 2004, 10:42:55 UTC

I have seen this on Solaris too, but it wasn't an error of BOINC but of my start script. BOINC writes some messages to stdout and additionaly to stderr. First my start script looked like this:

boinc >boinc.out 2>&1

The I had some messages in boinc.out duplicated. Now I start the process by:

bounc >boinc.out 2>boinc.err

This way, the message aren't duplicated.

Merlin
Volunteer tester
Send message
Joined: 24 Nov 99
Posts: 18
Credit: 2,838,563
RAC: 406
Germany
Message 19407 - Posted: 29 Aug 2004, 21:19:51 UTC

This is normal. Boinc/Seti prints 1 message to stdout and 1 message to stderr. On most linux-versions stderr and stdout are redirected to your terminal.

You can redirect stderr and/or stdout to a file (see posting from Vincent Smeets).


Questions and Answers : Unix/Linux : msg gets printed twice

Copyright © 2014 University of California