Thread 'my boinc-server project doesn't send to client a application'

Message boards : Server programs : my boinc-server project doesn't send to client a application
Message board moderation

To post messages, you must log in.

AuthorMessage
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 82853 - Posted: 9 Nov 2017, 17:11:48 UTC

hello, i'm trying to install boinc-server to my research.

i followed the boinc server install guide on this homepage.

but my project do not send a workunit to cleint...

please help me..

---------------------------------------------------------------------------------------------------------
- my server's app directory

root@dnctest:/var/www/boinc/boinctest/apps/upper_case/7.0/x86_64-pc-linux-gnu# ls
upper_case_7.0_x86_64-pc-linux-gnu upper_case_7.0_x86_64-pc-linux-gnu.sig version.xml

- my result template (upper_case_result.xml)

<output_template>
<file_info>
<name><OUTFILE_1/></name>
<generated_locally/>
<upload_when_present/>
<max_nbytes>10000</max_nbytes>
<url>http://163.152.111.90/boinctest_cgi/file_upload_handler</url>
</file_info>
<result>
<file_ref>
<file_name><OUTFILE_1/></file_name>
<open_name>out</open_name>
</file_ref>
</result>
</output_template>

- my wu template (upper_case_wu.xml)

<input_template>
<file_info>
<number>0</number>
</file_info>
<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>in</open_name>
</file_ref>
<min_quorum>1</min_quorum>
<target_nresults>1</target_nresults>
</workunit>
</input_template>

- my project.xml
<boinc>
<app>
<name>upper_case</name>
<user_friendly_name>upperCASE</user_friendly_name>
</app>

<platform>
<name>i686-pc-linux-gnu</name>
<user_friendly_name>Linux/x86 32bit</user_friendly_name>
</platform>
<platform>
<name>x86_64-pc-linux-gnu</name>
<user_friendly_name>Linux/amd64 64bit</user_friendly_name>
</platform>
</boinc>

---------------------------------------------------------------------------------------------------------------

and i do command

1. ./bin/xadd

2. ./bin/update_versions

3. [ -n "$installroot" -a -n "$projectname" ] && \
cd $installroot/$projectname && \
sudo ./bin/create_work -appname upper_case -wu_name test -wu_template templates/upper_case_wu -result_template templates/upper_case_result input_file || echo "E: something failed"

4. ./bin/start

and i confirm that platform and app version and workunit existed in my db...
server status show unsent:2
and i connect the other computer(client) to my boinc-server... but it didn't fetch a job... just my server status unsent:2...

what can i do ??? please help me T_T
ID: 82853 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 82857 - Posted: 9 Nov 2017, 18:04:29 UTC - in response to Message 82853.  

its my clinet's state when connect the my boinc-server

file:///home/dnclab/Pictures/Screenshot%20from%202017-11-10%2003:01:38.png
[/img]
ID: 82857 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 82858 - Posted: 9 Nov 2017, 18:07:44 UTC - in response to Message 82853.  

it's my client log

2017년 11월 10일 (금) 오전 03시 01분 53초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 01분 55초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 01분 56초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 01분 57초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 01분 58초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 01분 59초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 00초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 01초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 02초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 03초 | BoincTestProject@Home | Sending scheduler request: To fetch work.
2017년 11월 10일 (금) 오전 03시 02분 03초 | BoincTestProject@Home | Requesting new tasks for CPU
2017년 11월 10일 (금) 오전 03시 02분 03초 | | [poll] CLIENT_STATE::poll_slow_events(): scheduler_rpc
2017년 11월 10일 (금) 오전 03시 02분 03초 | | [poll] CLIENT_STATE::do_something(): End poll: 1 tasks active
2017년 11월 10일 (금) 오전 03시 02분 03초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 04초 | BoincTestProject@Home | Scheduler request completed: got 0 new tasks
2017년 11월 10일 (금) 오전 03시 02분 04초 | BoincTestProject@Home | Couldn't create host record in database
2017년 11월 10일 (금) 오전 03시 02분 04초 | BoincTestProject@Home | [state] handle_scheduler_reply(): State after handle_scheduler_reply():
2017년 11월 10일 (금) 오전 03시 02분 04초 | | [state] Client state summary:
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 1 projects:
2017년 11월 10일 (금) 오전 03시 02분 04초 | | http://my url/boinctest/ min RPC -726.149341.0 seconds from now
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 file_infos:
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 app_versions
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 workunits
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 results
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 persistent file xfers
2017년 11월 10일 (금) 오전 03시 02분 04초 | | 0 active tasks
2017년 11월 10일 (금) 오전 03시 02분 04초 | | [poll] CLIENT_STATE::poll_slow_events(): scheduler_rpc
2017년 11월 10일 (금) 오전 03시 02분 04초 | | [poll] CLIENT_STATE::do_something(): End poll: 1 tasks active
2017년 11월 10일 (금) 오전 03시 02분 04초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
2017년 11월 10일 (금) 오전 03시 02분 05초 | | [poll] CLIENT_STATE::do_something(): End poll: 0 tasks active
ID: 82858 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5130
United Kingdom
Message 82861 - Posted: 9 Nov 2017, 20:10:47 UTC

I think "Couldn't create host record in database" is the most significant. That will be a message sent from the server to be displayed to the user for debugging. If the server daemons can't write to the database, no progress can be made. There may be additional information in the server logs.
ID: 82861 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 82921 - Posted: 13 Nov 2017, 7:11:15 UTC - in response to Message 82861.  

thanks 82861!

so, i checked the schedule log and i found

---------------------------------------------------------------
y 6 Model 60 Stepping 3]', p_fpops=3.428679107290457e+09, p_iops=1.814092830766840e+10, p_membw=1.000000000000000e+09, os_name='Linux', os_version='3.13.0-132-generic', m_nbytes=8.277118976000000e+09, m_cache=6.291456000000000e+06, m_swap=8.491364352000000e+09, d_total=4.837650186240000e+11, d_free=4.452234936320000e+11, d_boinc_used_total=4.623135300000000e+07, d_boinc_used_project=0.000000000000000e+00, d_boinc_max=1.181116006400000e+10, n_bwup=6.462039445210000e+05, n_bwdown=2.014547057889000e+06, credit_per_cpu_sec=0.000000000000000e+00, venue='', nresults_today=0, avg_turnaround=0.000000000000000e+00, host_cpid='e4658a42e175078d021216a28bdc1024', external_ip_addr='', max_results_day=0, error_rate=0.000000000000000e+00, product_name='', gpu_active_frac=9.975730000000000e-01
host.insert(): Database error: Field 'p_ngpus' doesn't have a default value
2017-11-13 01:59:46.9547 [PID=9130 ] [CRITICAL] host.insert() failed
2017-11-13 01:59:46.9548 [PID=9130 ] Sending reply to [HOST#0]: 0 results, delay req 7.00
2017-11-13 01:59:46.9548 [PID=9130 ] Scheduler ran 0.003 seconds
---------------------------------------------------------

i think the p_ngpus value problem, mysql version is 5.6, so i get rid of strict option.
but it didn't work, i guess that the boinc's server xml problem..

what do you think about this problem??

what is the code i must fix???

give me the direction T_T
ID: 82921 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 82928 - Posted: 13 Nov 2017, 18:58:18 UTC - in response to Message 82921.  

I think a fix for that particular problem was merged a week ago. Try updating the scheduler first.
ID: 82928 · Report as offensive
boboviz
Help desk expert

Send message
Joined: 12 Feb 11
Posts: 419
Italy
Message 82993 - Posted: 15 Nov 2017, 16:07:51 UTC - in response to Message 82921.  

Have you update the server code?
update_master.sh

You need also to activate mod_cgi with
sudo a2enmod cgi
command
ID: 82993 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 83011 - Posted: 17 Nov 2017, 4:33:57 UTC - in response to Message 82928.  

thanks!
ID: 83011 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 83012 - Posted: 17 Nov 2017, 4:34:43 UTC - in response to Message 83011.  

82993, 82928 thanks for reply!
ID: 83012 · Report as offensive
lee

Send message
Joined: 24 Aug 17
Posts: 10
Korea, South
Message 83059 - Posted: 19 Nov 2017, 14:51:55 UTC

Thanks for reply to my post guys! finally, i success to assign work unit "upper_case" to my client-computer which is connected to my server.

arrange my problem,

There was a database error and scheduler version.

1. Database-error is the mysql5.7's strict mode that invoke the null trigger, so i turn-off the this mode and then make a disable_strict_mode.cnf on conf.d-dir in my mysql-dir.

2. and i changed the scheduler-version to latest scheduler version which is mentioned from Juha.

thanks for reply!
ID: 83059 · Report as offensive
boboviz
Help desk expert

Send message
Joined: 12 Feb 11
Posts: 419
Italy
Message 83088 - Posted: 21 Nov 2017, 15:14:01 UTC - in response to Message 83059.  

Are your a public project??
ID: 83088 · Report as offensive

Message boards : Server programs : my boinc-server project doesn't send to client a application

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.