msg gets printed twice

Questions and Answers : Unix/Linux : msg gets printed twice
Message board moderation

To post messages, you must log in.

AuthorMessage
Noc

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

ID: 15348 · Report as offensive
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.
ID: 17788 · Report as offensive
Merlin
Volunteer tester

Send message
Joined: 24 Nov 99
Posts: 18
Credit: 4,168,479
RAC: 1
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).


ID: 19407 · Report as offensive

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


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.