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: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1654 times and has 4 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
scheduler request failed: fopen() failed

I am unable to reach the WCG scheduler and therefore initiate any task.

The project is properly attached though.

Thank you


# boinccmd --get_messages | tac

31: 17-Sep-2016 10:37:16 (low) [World Community Grid] [sched_op] Reason: scheduler request to https://scheduler.worldcommunitygrid.org/boinc/wc
g_cgi/fcgi failed: fopen() failed

30: 17-Sep-2016 10:37:16 (low) [World Community Grid] [sched_op] Deferring communication for 00:02:20
29: 17-Sep-2016 10:37:15 (low) [World Community Grid] [sched_op] Starting scheduler request
28: 17-Sep-2016 10:37:15 (low) [World Community Grid] sched RPC pending: Requested by user
27: 17-Sep-2016 10:37:15 (low) [] [mem_usage] enforce: available RAM 7079.55MB swap 6055.50MB
26: 17-Sep-2016 10:37:15 (low) [] [mem_usage] All others: WS 7279.52MB, swap 76755.25MB, user 1303.550s, kernel 479.370s
25: 17-Sep-2016 10:37:14 (low) [] (to change preferences, visit a project web site or select Preferences in the Manager)
24: 17-Sep-2016 10:37:14 (low) [] suspend work if non-BOINC CPU load exceeds 90%
23: 17-Sep-2016 10:37:14 (low) [] max disk usage: 44.97GB
22: 17-Sep-2016 10:37:14 (low) [] max memory usage when idle: 7079.55MB
21: 17-Sep-2016 10:37:14 (low) [] max memory usage when active: 7079.55MB
20: 17-Sep-2016 10:37:14 (low) [] Preferences:
19: 17-Sep-2016 10:37:14 (low) [] Reading preferences override file
18: 17-Sep-2016 10:37:14 (low) [] General prefs: using your defaults
17: 17-Sep-2016 10:37:14 (low) [] Host location: none
16: 17-Sep-2016 10:37:14 (low) [] General prefs: from http://www.worldcommunitygrid.org/ (last modified 01-Jan-1970 01:00:01)
15: 17-Sep-2016 10:37:14 (low) [World Community Grid] URL https://www.worldcommunitygrid.org/; Computer ID 3644230; resource share 100
14: 17-Sep-2016 10:37:14 (low) [] Config: GUI RPCs allowed from:
13: 17-Sep-2016 10:37:14 (low) [] Local time is UTC +2 hours
12: 17-Sep-2016 10:37:14 (low) [] Disk: 109.48 GB total, 84.97 GB free
11: 17-Sep-2016 10:37:14 (low) [] Memory: 7.68 GB physical, 7.88 GB virtual
10: 17-Sep-2016 10:37:14 (low) [] OS: Linux: 4.4.0-36-generic
9: 17-Sep-2016 10:37:14 (low) [] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi m
mx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmul
qdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tp
r_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
8: 17-Sep-2016 10:37:14 (low) [] Processor: 4 GenuineIntel Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz [Family 6 Model 42 Stepping 7]
7: 17-Sep-2016 10:37:14 (low) [] Host name: user31415-ThinkPad-T520
6: 17-Sep-2016 10:37:14 (low) [] No usable GPUs found
5: 17-Sep-2016 10:37:14 (low) [] Data directory: /var/lib/boinc-client
4: 17-Sep-2016 10:37:14 (low) [] Libraries: libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
3: 17-Sep-2016 10:37:14 (low) [] log flags: sched_op_debug
2: 17-Sep-2016 10:37:14 (low) [] log flags: file_xfer, sched_ops, task, cpu_sched, file_xfer_debug, mem_usage_debug
1: 17-Sep-2016 10:37:14 (low) [] Starting BOINC client version 7.6.31 for x86_64-pc-linux-gnu




# boinccmd --get_tasks

======== Tasks ========
1) -----------
name: MCM1_0126055_9907_1
WU name: MCM1_0126055_9907
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
2) -----------
name: MCM1_0126055_9434_0
WU name: MCM1_0126055_9434
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
3) -----------
name: OET1_0004124_x4FVU-A391Ep_rig_4295_0
WU name: OET1_0004124_x4FVU-A391Ep_rig_4295
project URL: https://www.worldcommunitygrid.org/
report deadline: Tue Sep 27 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
4) -----------
name: MCM1_0126055_8576_1
WU name: MCM1_0126055_8576
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
5) -----------
name: MCM1_0126055_9904_1
WU name: MCM1_0126055_9904
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
6) -----------
name: MCM1_0126055_8349_1
WU name: MCM1_0126055_8349
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
7) -----------
name: ZIKA_000071050_x2jlv_DV4_NS3hlcs_ssRNA_chA_B_s2_0111_0
WU name: ZIKA_000071050_x2jlv_DV4_NS3hlcs_ssRNA_chA_B_s2_0111
project URL: https://www.worldcommunitygrid.org/
report deadline: Tue Sep 27 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
8) -----------
name: MCM1_0126055_8896_0
WU name: MCM1_0126055_8896
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000
9) -----------
name: MCM1_0126055_8024_0
WU name: MCM1_0126055_8024
project URL: https://www.worldcommunitygrid.org/
report deadline: Sat Sep 24 10:41:05 2016
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: compute error
scheduler state: uninitialized
exit_status: -185
signal: 0
suspended via GUI: no
active_task_state: UNINITIALIZED
app version num: 0
checkpoint CPU time: 0.000000
current CPU time: 0.000000
fraction done: 0.000000
swap size: 0 MB
working set size: 0 MB
estimated CPU time remaining: 0.000000

----------------------------------------
[Edit 2 times, last edit by Former Member at Sep 17, 2016 10:29:10 AM]
[Sep 17, 2016 8:43:32 AM]   Link   Report threatening or abusive post: please login first  Go to top 
SekeRob
Master Cruncher
Joined: Jan 7, 2013
Post Count: 2741
Status: Offline
Reply to this Post  Reply with Quote 
Re: scheduler request to https://scheduler.worldcommunitygrid.org/boinc/wc g_cgi/fcgi failed: fopen() failed

Linux... likely insufficient permissions set on the Data directory: /var/lib/boinc-client and sub structure. Since there are quite a few ways install and package sources, where you get 7.6.31 and how'd you install?
[Sep 17, 2016 8:51:18 AM]   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: scheduler request to https://scheduler.worldcommunitygrid.org/boinc/wc g_cgi/fcgi failed: fopen() failed

I confirm that it was a question of permission. I ran
chmod a+rwx -R /var/lib/boinc-client
and it now work perfectly.

I have installed boinc logged as non root user. I have changed <user>root</users> but I am not sure whether it was important for running BOINC as root.

Thank you so much
----------------------------------------
[Edit 4 times, last edit by Former Member at Sep 17, 2016 12:33:20 PM]
[Sep 17, 2016 10:34:47 AM]   Link   Report threatening or abusive post: please login first  Go to top 
adriverhoef
Master Cruncher
The Netherlands
Joined: Apr 3, 2009
Post Count: 2346
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: scheduler request to https://scheduler.worldcommunitygrid.org/boinc/wc g_cgi/fcgi failed: fopen() failed

I confirm that it was a question of permission. I ran
chmod a+rwx -R /var/lib/boinc-client
and it now work perfectly.

I have installed boinc logged as non root user. I have changed <user>root</users> but I am not sure whether it was important for running BOINC as root.

Thank you so much

So you are now running BOINC as a service on your system. Good.
However, permission 'a+rwx' is not a good idea. It's a pity to say, but - in some way - it says here that you haven't learned about proper permissions, while they exist for a reason (system security). May I lend you a hand of advice?

As superuser (root), go to directory ~boinc (/var/lib/boinc-client in your case):
    cd ~boinc

First, change all files and directories to user and group 'boinc':
    chown -R boinc:boinc ~boinc

Then remove the write permission for 'others' from all files and directories:
    chmod -R o-w ~boinc

This should be way better than 'a+rwx' now that you're up and running. Good luck! smile
[Sep 17, 2016 1:11:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
SekeRob
Master Cruncher
Joined: Jan 7, 2013
Post Count: 2741
Status: Offline
Reply to this Post  Reply with Quote 
Re: scheduler request to https://scheduler.worldcommunitygrid.org/boinc/wc g_cgi/fcgi failed: fopen() failed

Looking at the kernel info in the posted log, it appears as if this is a *buntu distro. Your best bet on a solid install is with the Debian maintainer kits as build by Gianfranco Costamagna, the ppa at https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/boinc which are meta packages to take care of everything, to include not overwriting your cc_config.xml if you customized one and putting the few user editable files in their own nook (/etc/boinc-client)

Runs as daemon (service), but then I've not ever seen BOINC being installed and running securely on Linux in any other fashion.
[Sep 17, 2016 5:44:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread