Problem with testing upper_case app in a test server

Message boards : Server programs : Problem with testing upper_case app in a test server
Message board moderation

To post messages, you must log in.

AuthorMessage
bryan[RS]

Send message
Joined: 6 Jun 06
Posts: 1
United States
Message 4661 - Posted: 6 Jun 2006, 3:16:37 UTC
Last modified: 6 Jun 2006, 3:42:38 UTC

Chuck Lasher directed me to you for assistance. We're trying to create a BOINC client for Riesel Sieve, a project that is seeking to prove the Riesel Conjecture (http://www.rieselsieve.com for those kinds of details). I'm trying to get the basics of a server set up, using the upper_case test program that comes with BOINC.

However, I cannot get the scheduler to start properly. It keeps reporting that "The project is temporarily shut down for maintenance", so the project is stuck in this "maintenance mode". There are WU's in the queue (see logs below), so I'm not sure how to switch things out into "normal" mode.

Here's the different log files:

../log_green/feeder.log

00113 2006-06-05 23:04:46.9139 [CRITICAL] Quitting due to SIGHUP
00114 [2006/06/05 23:04:48] Executing command: feeder -d 3
00115 unknown tag: show_result
00116 2006-06-05 23:04:48.8992 [normal ] Starting
00117 2006-06-05 23:04:48.9176 [normal ] feeder: read 3 platforms, 1 apps, 2 app_versions
00118 2006-06-05 23:04:48.9190 [normal ] adding result [RESULT#1] in slot 0
00119 2006-06-05 23:04:48.9191 [normal ] adding result [RESULT#2] in slot 1
00120 2006-06-05 23:04:48.9192 [normal ] restarted enumeration for appid 1
00121 2006-06-05 23:04:48.9197 [normal ] restarted enumeration for appid 1
00122 2006-06-05 23:04:48.9198 [debug ] Added 2 results to array
00123 2006-06-05 23:04:48.9198 [debug ] Some results already in array - sleeping 5.00 sec
00124 2006-06-05 23:04:53.9282 [normal ] adding result [RESULT#3] in slot 2
...
00221 2006-06-05 23:04:53.9364 [normal ] adding result [RESULT#100] in slot 99
00222 2006-06-05 23:04:53.9365 [debug ] Added 98 results to array
00223 2006-06-05 23:04:53.9365 [debug ] Some results already in array - sleeping 5.00 sec
00224 2006-06-05 23:04:58.9385 [debug ] No results added; sleeping 5.00 sec
00225 2006-06-05 23:05:03.9428 [debug ] No results added; sleeping 5.00 sec
00226 2006-06-05 23:05:08.9472 [debug ] No results added; sleeping 5.00 sec
00227 2006-06-05 23:05:13.9515 [debug ] No results added; sleeping 5.00 sec
00228 2006-06-05 23:05:18.9558 [debug ] No results added; sleeping 5.00 sec
00229 2006-06-05 23:05:23.9601 [debug ] No results added; sleeping 5.00 sec
00230 2006-06-05 23:05:28.9644 [debug ] No results added; sleeping 5.00 sec


../log_green/cgi.log

00000 unknown tag: show_result
00001 2006-06-05 22:57:30.9148 [PID=23720] [CRITICAL] Can't attach shmem (feeder not running?)
00002 unknown tag: show_result
00003 2006-06-05 23:00:29.0918 [PID=24568] [CRITICAL] Can't attach shmem (feeder not running?)
00004 unknown tag: show_result
00005 2006-06-05 23:01:00.4935 [PID=24737] [CRITICAL] Can't attach shmem (feeder not running?)
00006 unknown tag: show_result
00007 2006-06-05 23:05:17.0461 [PID=26489] [CRITICAL] Can't attach shmem (feeder not running?)


../log_green/file_deleter.log

00000 [2006/06/05 23:00:16] Executing command: file_deleter -d 3
00001 unknown tag: show_result
00002 2006-06-05 23:00:16.4747 [normal ] Starting
00003 GOT STOP SIGNAL
00004 2006-06-05 23:04:45.9128 [CRITICAL] Quitting due to SIGHUP
00005 [2006/06/05 23:04:48] Executing command: file_deleter -d 3
00006 unknown tag: show_result
00007 2006-06-05 23:04:49.0995 [normal ] Starting

../log_green/sample_dummy_assimilator.log

00000 [2006/06/05 23:00:16] Executing command: sample_dummy_assimilator -d 3 -app Riesel
00001 unknown tag: show_result
00002 2006-06-05 23:00:16.7906 [normal ] Starting
00003 GOT STOP SIGNAL
00004 2006-06-05 23:04:45.9142 [CRITICAL] Quitting due to SIGHUP
00005 [2006/06/05 23:04:48] Executing command: sample_dummy_assimilator -d 3 -app Riesel
00006 unknown tag: show_result
00007 2006-06-05 23:04:49.4196 [normal ] Starting

../log_green/sample_trivial_validator.log

00000 [2006/06/05 23:00:16] Executing command: sample_trivial_validator -d 3 -app Riesel
00001 unknown tag: show_result
00002 2006-06-05 23:00:16.6829 [normal ] Starting validator
00003 GOT STOP SIGNAL
00004 2006-06-05 23:04:45.9135 [CRITICAL] Quitting due to SIGHUP
00005 [2006/06/05 23:04:48] Executing command: sample_trivial_validator -d 3 -app Riesel
00006 unknown tag: show_result
00007 2006-06-05 23:04:49.3116 [normal ] Starting validator

../log_green/transitioner.log


00441 2006-06-05 23:04:50.1103 [normal ] [WU#145 wu146] Generating 1 more results (1 target - 0 unsent - 0 in progress - 0 success)
00442 2006-06-05 23:04:50.1167 [debug ] [WU#145 wu146] setting transition_time to 1150427090
00443 2006-06-05 23:04:50.1172 [debug ] [WU#146 wu147] 0 results: unsent 0, in_progress 0, over 0 (success 0, error 0, couldnt_send 0, no_reply 0, didnt_need 0)
00444 2006-06-05 23:04:50.1172 [normal ] [WU#146 wu147] Generating 1 more results (1 target - 0 unsent - 0 in progress - 0 success)
00445 2006-06-05 23:04:50.1237 [debug ] [WU#146 wu147] setting transition_time to 1150427090
00446 2006-06-05 23:04:50.1241 [debug ] [WU#147 wu148] 0 results: unsent 0, in_progress 0, over 0 (success 0, error 0, couldnt_send 0, no_reply 0, didnt_need 0)
00447 2006-06-05 23:04:50.1241 [normal ] [WU#147 wu148] Generating 1 more results (1 target - 0 unsent - 0 in progress - 0 success)
00448 2006-06-05 23:04:50.1307 [debug ] [WU#147 wu148] setting transition_time to 1150427090
00449 2006-06-05 23:04:50.1311 [debug ] [WU#148 wu149] 0 results: unsent 0, in_progress 0, over 0 (success 0, error 0, couldnt_send 0, no_reply 0, didnt_need 0)
00450 2006-06-05 23:04:50.1312 [normal ] [WU#148 wu149] Generating 1 more results (1 target - 0 unsent - 0 in progress - 0 success)
00451 2006-06-05 23:04:50.1376 [debug ] [WU#148 wu149] setting transition_time to 1150427090
00452 2006-06-05 23:04:50.1381 [debug ] [WU#149 wu150] 0 results: unsent 0, in_progress 0, over 0 (success 0, error 0, couldnt_send 0, no_reply 0, didnt_need 0)
00453 2006-06-05 23:04:50.1381 [normal ] [WU#149 wu150] Generating 1 more results (1 target - 0 unsent - 0 in progress - 0 success)
00454 2006-06-05 23:04:50.1446 [debug ] [WU#149 wu150] setting transition_time to 1150427090

Project.xml:

[root@green rtwo]# cat config.xml
<?xml version="1.0" ?>
<boinc>
<config>
<upload_dir>
/home/bryan/projects/rtwo/upload
</upload_dir>
<log_dir>
/home/bryan/projects/rtwo/log_green
</log_dir>
<show_result>
1
</show_result>
<long_name>
Riesel Sieve Project
</long_name>
<download_url>
http://www.mystudentsenate.com/rieseltwo/download
</download_url>
<uldl_dir_fanout>
1024
</uldl_dir_fanout>
<cgi_url>
http://www.mystudentsenate.com/rieseltwo_cgi/
</cgi_url>
<min_sendwork_interval>
6
</min_sendwork_interval>
<app_dir>
/home/bryan/projects/rtwo/apps
</app_dir>
<download_dir>
/home/bryan/projects/rtwo/download
</download_dir>
<master_url>
http://www.mystudentsenate.com/rieseltwo/
</master_url>
<host>
green
</host>
<db_name>
riesel2
</db_name>
<shmem_key>
0x1111b4cb
</shmem_key>
<key_dir>
/home/bryan/projects/rtwo/keys/
</key_dir>
<upload_url>
http://www.mystudentsenate.com/rieseltwo_cgi/file_upload_handler
</upload_url>
<output_level>
3
</output_level>
<db_passwd>
xxxxxxxxxxxx
</db_passwd>
<db_user>
boinc
</db_user>
<db_host>




</db_host>
<daily_result_quota>
500
</daily_result_quota>
<one_result_per_user_per_wu>
1
</one_result_per_user_per_wu>
<max_wus_to_send>
50
</max_wus_to_send>
</config>
<tasks/>
<daemons>
<daemon>
<cmd>
feeder -d 3
</cmd>
</daemon>
<daemon>
<cmd>
transitioner -d 3
</cmd>
</daemon>
<daemon>
<cmd>
file_deleter -d 3
</cmd>
</daemon>
<daemon>
<cmd>
work.sh
</cmd>
</daemon>
<daemon>
<cmd>
sample_trivial_validator -d 3 -app Riesel
</cmd>
</daemon>
<daemon>
<cmd>
sample_dummy_assimilator -d 3 -app Riesel
</cmd>
</daemon>
</daemons>
</boinc>

Result of ipcs -a:

[root@green rtwo]# ipcs -a

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x1111b4cb 1015808 root 666 9936344 1

------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 7143424 apache 600 1
0x00000000 7176193 apache 600 1
0x00000000 7208962 apache 600 1
0x00000000 7241731 apache 600 1
0x00000000 7274500 apache 600 1
0x00000000 7307269 apache 600 1
0x00000000 7340038 apache 600 1
0x61008006 7045127 root 777 1
0x61008005 5931016 root 777 1
0x61008176 7405577 root 777 1

------ Message Queues --------
key msqid owner perms used-bytes messages

Any help/assistance is greatly appreciated. Server is a 2.8 Ghz P4 with 1 GB RAM. Would have real project on a beefier server, this is just a testing site.

Bryan
Stats Administrator
Riesel Sieve Project
bryan (at) rieselsieve dot com
ID: 4661 · Report as offensive
candice

Send message
Joined: 11 Sep 06
Posts: 1
United States
Message 5589 - Posted: 11 Sep 2006, 15:36:40 UTC

Bryan,

Try editing the user and group in your httpd.conf file. By default it's set to daemon/daemon. Change this to apache/apache and restart apache with the command "apachect1 -k restart" then you should be able to attach to your project. Additionally make sure that your <PROJECT>/cgi-bin/cgi file is owned by apache. Good luck!

Candice
ID: 5589 · Report as offensive

Message boards : Server programs : Problem with testing upper_case app in a test server

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.