Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1308 times and has 7 replies Next Thread
Parusie
Cruncher
Joined: May 11, 2007
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
[RESOLVED] FreeBSD - Calculation fails

Hi,

I have learnt yesterday that WCG is (or should) working on FreeBSD. So I have detached Einstein on 3 FreeBSD machines and attached WCG instead. 2 of the 3 computers started the calculation as expected. However, the third machine reports an error. Is there anything that I am doing wrong? Einstein@home is running well, however, Einstein's application is native FreeBSD


*************************WCG LOG**********
Result Log

<core_client_version>5.4.9</core_client_version>
<message>
process exited with code 8 (0x8)
</message>
<stderr_txt>
2007-08-03 12:57:39 [World Community Grid] Process creation (../../projects/www.worldcommunitygrid.org/wcg_hpf2_rosetta_5.20_i686-pc-linux-gnu) failed: Error -1
execv: Exec format error

</stderr_txt>

********************BOINC MESSAGES***************
2007-08-03 12:56:31 [http://www.worldcommunitygrid.org/] URL: http://www.worldcommunitygrid.org/; Computer ID: not assigned yet; location: ; project prefs: default
2007-08-03 12:56:35 [http://www.worldcommunitygrid.org/] Scheduler list download succeeded
2007-08-03 12:56:35 [http://www.worldcommunitygrid.org/] Sending scheduler request to https://secure.worldcommunitygrid.org/boinc/wcg_cgi/fcgi
2007-08-03 12:56:35 [http://www.worldcommunitygrid.org/] Reason: Requested by user
2007-08-03 12:56:35 [http://www.worldcommunitygrid.org/] Requesting 8640 seconds of new work
2007-08-03 12:56:40 [http://www.worldcommunitygrid.org/] Scheduler request succeeded
2007-08-03 12:56:41 [World Community Grid] Successfully attached to World Community Grid
2007-08-03 12:56:43 [World Community Grid] Started download of file wcg_hpf2_rosetta_5.20_i686-pc-linux-gnu
2007-08-03 12:56:43 [World Community Grid] Started download of file hpf2_5.20_lin_paths.txt
2007-08-03 12:56:47 [World Community Grid] Finished download of file hpf2_5.20_lin_paths.txt
2007-08-03 12:56:47 [World Community Grid] Throughput 210 bytes/sec
..............and so on.....
2007-08-03 12:57:33 [World Community Grid] Started download of file lf190_00048_aalf19009_05.075_v1_3.gz
2007-08-03 12:57:36 [World Community Grid] Finished download of file lf190_00048_aalf19003_05.075_v1_3.gz
2007-08-03 12:57:36 [World Community Grid] Throughput 110986 bytes/sec
2007-08-03 12:57:38 [World Community Grid] Finished download of file lf190_00048_aalf19009_05.075_v1_3.gz
2007-08-03 12:57:38 [World Community Grid] Throughput 169060 bytes/sec
2007-08-03 12:57:39 [---] Rescheduling CPU: files downloaded
2007-08-03 12:57:39 [World Community Grid] Starting task lf190_00048_15 using hpf2 version 520
ELF binary type "0" not known.
2007-08-03 12:57:39 [World Community Grid] Process creation (../../projects/www.worldcommunitygrid.org/wcg_hpf2_rosetta_5.20_i686-pc-linux-gnu) failed: Error -1
2007-08-03 12:57:40 [World Community Grid] Unrecoverable error for result lf190_00048_15 (process exited with code 8 (0x8))
2007-08-03 12:57:40 [World Community Grid] Unrecoverable error for result lf190_00048_15 (process exited with code 8 (0x8))
2007-08-03 12:57:40 [---] Rescheduling CPU: application exited
2007-08-03 12:57:40 [World Community Grid] Computation for task lf190_00048_15 finished
----------------------------------------
[Edit 1 times, last edit by Parusie at Aug 3, 2007 1:31:08 PM]
[Aug 3, 2007 11:10:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

Seems not unique to WCG as i found a number of posts with oogle discussing this FreeBSD error on other DC projects. e.g.

http://setiathome.berkeley.edu/forum_thread.php?id=27236

have a read and check back if no solution is in there.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Aug 3, 2007 11:26:27 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Parusie
Cruncher
Joined: May 11, 2007
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

great. Many thanks, it works now.

just fyi.....
boinc_client must be in /var/db/boinc, so I have copied the file from /usr/local/bin/ and restarted boinc

Thanks again
[Aug 3, 2007 11:55:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

Great Parusie,

Would you be so kind and go to your opening post and insert, with brackets [RESOLVED] into the post title. To Edit, hit litle pencil next to post title. This tells other readers that a problems was successfully resolved.

@nelsoc, would you please move this thread to the BOINC support forum where it will have greater chance of rediscovery

Thanks.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Aug 3, 2007 1:27:40 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

great. Many thanks, it works now.

just fyi.....
boinc_client must be in /var/db/boinc, so I have copied the file from /usr/local/bin/ and restarted boinc

Thanks again

No, it shouldn't. The FreeBSD port correctly installs boinc_client to /usr/local/bin/ and configures it as a service.

Add the following to the /etc/rc.conf to enable BOINC client:
boinc_enable="YES"
Then start BOINC client with
/usr/local/etc/rc.d/boinc* start

edit: just to be quite clear: the solution proposed by the SETI folks is wrong. If you start BOINC manually (which you shouldn't - see above) then you need to use the -datadir argument to set the data directory to /var/db/boinc/
----------------------------------------
[Edit 1 times, last edit by Former Member at Aug 3, 2007 6:49:51 PM]
[Aug 3, 2007 6:44:29 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Parusie
Cruncher
Joined: May 11, 2007
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

well, I start boinc always manual because of some command line arguments. Einstein worked well without the boinc line in rc.conf and the boinc_client in /var/db/boinc. If the rc.conf would be required to change, I would expect the port to add it.
But I agree /var is no place where binaries should be
[Aug 3, 2007 6:54:49 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

It's possible your problem is caused by something else, but my guess is that some WCG projects use intermediate files but Einstein doesn't. That may explain the odd behaviour.

By default, the port installs but does not enable the service. I'm sure you would hate it if something was starting up automatically without you knowing about it!

What command line arguments are you passing? This isn't normally needed, and if you do need to, you can edit the relevant file - can't remember which, though.
[Aug 3, 2007 7:00:16 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Parusie
Cruncher
Joined: May 11, 2007
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: FreeBSD - Calculation fails

What command line arguments are you passing?


usually I allow remote GUI RPC. I don't want to monitor several headless computers with a shell.
Your point that the port does not enable the service is very good. I am new to FreeBSD and the approach not to enable anything until root allows it rather than enable anything that could be enabled was the main reason to use FreeBSD.

I will reinstall Boinc tomorrow and let you know if your guidance solves the problem.

Many thanks for your help
[Aug 3, 2007 7:15:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread