Pages: [1]
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-02 09:06:11

Hi all,

I am using BOINC Manager 7.6.31 on Ubuntu 16.04 xenial (x64).

I may have messed up something but when I connect to BAM! using my account then in the log I see this

Code:

Tue 02 May 2017 10:54:21 AM CEST | | Starting BOINC client version 7.6.31 for x86_64-pc-linux-gnu
Tue 02 May 2017 10:54:21 AM CEST | | log flags: file_xfer, sched_ops, task
Tue 02 May 2017 10:54:21 AM CEST | | Libraries: libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Tue 02 May 2017 10:54:21 AM CEST | | Data directory: /var/lib/boinc-client
Tue 02 May 2017 10:54:21 AM CEST | | No usable GPUs found
Tue 02 May 2017 10:54:21 AM CEST | | Creating new client state file
Tue 02 May 2017 10:54:21 AM CEST | | Host name: river
Tue 02 May 2017 10:54:21 AM CEST | | Processor: 4 GenuineIntel Intel(R) Core(TM) i5-4310M CPU @ 2.70GHz [Family 6 Model 60 Stepping 3]
Tue 02 May 2017 10:54:21 AM CEST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
Tue 02 May 2017 10:54:21 AM CEST | | OS: Linux: 4.4.0-75-generic
Tue 02 May 2017 10:54:21 AM CEST | | Memory: 7.70 GB physical, 15.89 GB virtual
Tue 02 May 2017 10:54:21 AM CEST | | Disk: 203.84 GB total, 21.04 GB free
Tue 02 May 2017 10:54:21 AM CEST | | Local time is UTC +2 hours
Tue 02 May 2017 10:54:21 AM CEST | | VirtualBox version: 5.1.18r114002
Tue 02 May 2017 10:54:21 AM CEST | | Config: GUI RPCs allowed from:

[...]

Tue 02 May 2017 10:54:37 AM CEST | | Fetching configuration file from https://bam.boincstats.com/get_project_config.php
Tue 02 May 2017 10:54:43 AM CEST | | Contacting account manager at https://bam.boincstats.com/
Tue 02 May 2017 10:54:45 AM CEST | | Account manager: BAM! User: 34655, CristianCantoro
Tue 02 May 2017 10:54:45 AM CEST | | Account manager: BAM! Host: 705817
Tue 02 May 2017 10:54:45 AM CEST | | Account manager: Number of BAM! connections for this host: 9
Tue 02 May 2017 10:54:45 AM CEST | | Account manager: This host is attached with a weak authenticator!
Tue 02 May 2017 10:54:45 AM CEST | | Account manager: Can't attach Leiden Classical, weak authenticator not available!
Tue 02 May 2017 10:54:45 AM CEST | | Account manager contact succeeded
Tue 02 May 2017 10:57:15 AM CEST | | Fetching configuration file from https://bam.boincstats.com/get_project_config.php
Tue 02 May 2017 10:57:19 AM CEST | | Contacting account manager at https://bam.boincstats.com/
Tue 02 May 2017 10:57:20 AM CEST | | Account manager: BAM! User: 34655, CristianCantoro
Tue 02 May 2017 10:57:20 AM CEST | | Account manager: BAM! Host: 705817
Tue 02 May 2017 10:57:20 AM CEST | | Account manager: Number of BAM! connections for this host: 10
Tue 02 May 2017 10:57:20 AM CEST | | Account manager: This host is attached with a weak authenticator!
Tue 02 May 2017 10:57:20 AM CEST | | Account manager: Can't attach Leiden Classical, weak authenticator not available!
Tue 02 May 2017 10:57:20 AM CEST | | Account manager contact succeeded
Tue 02 May 2017 10:57:20 AM CEST | | Attaching to http://www.primegrid.com/
Tue 02 May 2017 10:57:20 AM CEST | | Running CPU benchmarks
Tue 02 May 2017 10:57:20 AM CEST | | Suspending computation - CPU benchmarks in progress
Tue 02 May 2017 10:57:51 AM CEST | | Benchmark results:
Tue 02 May 2017 10:57:51 AM CEST | | Number of CPUs: 4
Tue 02 May 2017 10:57:51 AM CEST | | 3837 floating point MIPS (Whetstone) per CPU
Tue 02 May 2017 10:57:51 AM CEST | | 10445 integer MIPS (Dhrystone) per CPU
Tue 02 May 2017 10:57:52 AM CEST | | Resuming computation
Tue 02 May 2017 10:57:54 AM CEST | http://www.primegrid.com/ | Master file download succeeded
Tue 02 May 2017 10:57:59 AM CEST | http://www.primegrid.com/ | Sending scheduler request: Project initialization.
Tue 02 May 2017 10:57:59 AM CEST | http://www.primegrid.com/ | Requesting new tasks for CPU
Tue 02 May 2017 10:58:01 AM CEST | PrimeGrid | Scheduler request completed: got 0 new tasks
Tue 02 May 2017 10:58:01 AM CEST | PrimeGrid | Invalid or missing account key. To fix, remove and add this project .


In other words the BOINC Manager is reporting to be attached to BAM! with a weak authenticator and then it is having trouble contacting projects for task. I can manually add projects but this defeats the idea of using the account manager.

I tried uninstalling (purging) and re-installing, but I keep seeing this behavior.

Any ides about this?

Thank you.

Cristian
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9149
Credits: 348,241,820
World-rank: 3,073

2017-05-03 09:17:37

Need to see the acct_mgr_request.xml file.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-03 19:39:30

[BOINCstats Willy wrote:

Need to see the acct_mgr_request.xml file.


Hi, Willy. I have that file but it contains account key and other similar data. Is it ok if I post that file online?

Cristian
Tuna Ertemalp
    Donator
Tester
BAM!ID: 37744
Joined: 2007-10-31
Posts: 531
Credits: 9,942,670,571
World-rank: 275

2017-05-04 16:46:55

CristianCantoro wrote:

[BOINCstats Willy wrote:

Need to see the acct_mgr_request.xml file.


Hi, Willy. I have that file but it contains account key and other similar data. Is it ok if I post that file online?

Cristian


Make a copy of the file, remove the personally important lines, post the rest. That is what I do. But there might be a bit of a bug in posting XML right now, unless Willy fixed it without telling anyone...

[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9149
Credits: 348,241,820
World-rank: 3,073

2017-05-05 09:07:08

Posting XML should now work.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-05 12:38:30
last modified: 2017-05-05 12:45:07

Please find below my acct_mgr_request.xml.

Please note that, since I was not receiving any task from any project I have manually attached the following projects, i.e. using my credentials for those projects: Leiden Classica, PrimeGrid, Einstein@Home. Nevertheless I still keep seeing:

Code:
"Account manager: This host is attached with a weak authenticator.


I am running the BOINC client on a server with Ubuntu 14.04.5 LTS (trusty). I am using boinctui as manager.

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<acct_mgr_request>
<name>cristiancantoro</name>
<password_hash>[snip]</password_hash>
<host_cpid>[snip]</host_cpid>
<domain_name>simon</domain_name>
<client_version>7.2.42</client_version>
<run_mode>always</run_mode>
<previous_host_cpid>[snip]</previous_host_cpid>
<project>
<url>http://boinc.gorlaeus.net/</url>
<project_name>Leiden Classical</project_name>
<suspended_via_gui>0</suspended_via_gui>
<account_key>[snip]</account_key>
<hostid>149994</hostid>
<not_started_dur>0.000000</not_started_dur>
<in_progress_dur>0.000000</in_progress_dur>
<attached_via_acct_mgr>1</attached_via_acct_mgr>
<dont_request_more_work>0</dont_request_more_work>
<detach_when_done>0</detach_when_done>
<ended>0</ended>
<resource_share>100.000000</resource_share>
</project>
<project>
<url>http://www.primegrid.com/</url>
<project_name>PrimeGrid</project_name>
<suspended_via_gui>0</suspended_via_gui>
<account_key>[snip]</account_key>
<hostid>879693</hostid>
<not_started_dur>0.000000</not_started_dur>
<in_progress_dur>680940.577338</in_progress_dur>
<attached_via_acct_mgr>0</attached_via_acct_mgr>
<dont_request_more_work>0</dont_request_more_work>
<detach_when_done>0</detach_when_done>
<ended>0</ended>
<resource_share>150.000000</resource_share>
</project>
<project>
<url>https://einsteinathome.org/</url>
<project_name>Einstein@Home</project_name>
<suspended_via_gui>0</suspended_via_gui>
<account_key>[snip]</account_key>
<hostid>12526619</hostid>
<not_started_dur>1336280.404045</not_started_dur>
<in_progress_dur>782342.613383</in_progress_dur>
<attached_via_acct_mgr>0</attached_via_acct_mgr>
<dont_request_more_work>0</dont_request_more_work>
<detach_when_done>0</detach_when_done>
<ended>0</ended>
<resource_share>100.000000</resource_share>
</project>
<working_global_preferences>
<global_preferences>
<source_project>http://bam.boincstats.com/</source_project>
<mod_time>1304285095.000000</mod_time>
<battery_charge_min_pct>90.000000</battery_charge_min_pct>
<battery_max_temperature>40.000000</battery_max_temperature>
<run_on_batteries>0</run_on_batteries>
<run_if_user_active>1</run_if_user_active>
<run_gpu_if_user_active>1</run_gpu_if_user_active>
<suspend_if_no_recent_input>0.000000</suspend_if_no_recent_input>
<suspend_cpu_usage>0.000000</suspend_cpu_usage>
<start_hour>0.000000</start_hour>
<end_hour>0.000000</end_hour>
<net_start_hour>0.000000</net_start_hour>
<net_end_hour>0.000000</net_end_hour>
<leave_apps_in_memory>1</leave_apps_in_memory>
<confirm_before_connecting>0</confirm_before_connecting>
<hangup_if_dialed>0</hangup_if_dialed>
<dont_verify_images>0</dont_verify_images>
<work_buf_min_days>0.100000</work_buf_min_days>
<work_buf_additional_days>0.000000</work_buf_additional_days>
<max_ncpus_pct>100.000000</max_ncpus_pct>
<cpu_scheduling_period_minutes>60.000000</cpu_scheduling_period_minutes>
<disk_interval>60.000000</disk_interval>
<disk_max_used_gb>100.000000</disk_max_used_gb>
<disk_max_used_pct>50.000000</disk_max_used_pct>
<disk_min_free_gb>1.500000</disk_min_free_gb>
<vm_max_used_pct>75.000000</vm_max_used_pct>
<ram_max_used_busy_pct>100.000000</ram_max_used_busy_pct>
<ram_max_used_idle_pct>100.000000</ram_max_used_idle_pct>
<idle_time_to_run>3.000000</idle_time_to_run>
<max_bytes_sec_up>0.000000</max_bytes_sec_up>
<max_bytes_sec_down>0.000000</max_bytes_sec_down>
<cpu_usage_limit>100.000000</cpu_usage_limit>
<daily_xfer_limit_mb>0.000000</daily_xfer_limit_mb>
<daily_xfer_period_days>0</daily_xfer_period_days>
<override_file_present>1</override_file_present>
<network_wifi_only>1</network_wifi_only>
<max_cpus>2</max_cpus>
</global_preferences>
</working_global_preferences>
<global_preferences>

<source_project>http://bam.boincstats.com/</source_project>
<mod_time>1304285095</mod_time>
<cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes>
<idle_time_to_run>3</idle_time_to_run>
<suspend_if_no_recent_input>0</suspend_if_no_recent_input>
<work_buf_min_days>0.1000000</work_buf_min_days>
<work_buf_additional_days>0.0000000</work_buf_additional_days>
<max_cpus>2</max_cpus>
<max_ncpus_pct>100</max_ncpus_pct>
<cpu_usage_limit>100</cpu_usage_limit>
<suspend_cpu_usage>0</suspend_cpu_usage>
<disk_interval>60</disk_interval>
<disk_max_used_gb>100.0</disk_max_used_gb>
<disk_max_used_pct>50</disk_max_used_pct>
<disk_min_free_gb>1.5</disk_min_free_gb>
<vm_max_used_pct>75</vm_max_used_pct>
<ram_max_used_busy_pct>0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>0</ram_max_used_idle_pct>
<max_bytes_sec_down>0</max_bytes_sec_down>
<max_bytes_sec_up>0</max_bytes_sec_up>
<start_hour>0</start_hour>
<end_hour>0</end_hour>
<net_start_hour>0</net_start_hour>
<net_end_hour>0</net_end_hour>
<run_if_user_active>1</run_if_user_active>
<run_gpu_if_user_active/>
<leave_apps_in_memory/>
<venue name="Impostazioni 2010-08-15 07:18:49">
<cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes>
<idle_time_to_run>0</idle_time_to_run>
<suspend_if_no_recent_input>0</suspend_if_no_recent_input>
<work_buf_min_days>0.1000000</work_buf_min_days>
<work_buf_additional_days>0.0000000</work_buf_additional_days>
<max_cpus>2</max_cpus>
<max_ncpus_pct>100</max_ncpus_pct>
<cpu_usage_limit>50</cpu_usage_limit>
<suspend_cpu_usage>0</suspend_cpu_usage>
<disk_interval>60</disk_interval>
<disk_max_used_gb>100.0</disk_max_used_gb>
<disk_max_used_pct>50</disk_max_used_pct>
<disk_min_free_gb>1.5</disk_min_free_gb>
<vm_max_used_pct>75</vm_max_used_pct>
<ram_max_used_busy_pct>0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>0</ram_max_used_idle_pct>
<max_bytes_sec_down>0</max_bytes_sec_down>
<max_bytes_sec_up>0</max_bytes_sec_up>
<start_hour>0</start_hour>
<end_hour>0</end_hour>
<net_start_hour>0</net_start_hour>
<net_end_hour>0</net_end_hour>
<run_if_user_active>0</run_if_user_active>
<leave_apps_in_memory/>
<hangup_if_dialed/>
</venue>
</global_preferences>
<host_info>
<timezone>-14400</timezone>
<domain_name>simon</domain_name>
<ip_addr>127.0.1.1</ip_addr>
<host_cpid>964a7153c06a72f32583ec2845ebf15e</host_cpid>
<p_ncpus>8</p_ncpus>
<p_vendor>GenuineIntel</p_vendor>
<p_model>Intel(R) Xeon(R) CPU E7- 4850 @ 2.00GHz [Family 6 Model 47 Stepping 2]</p_model>
<p_features>fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm arat dtherm</p_features>
<p_fpops>896975782.193587</p_fpops>
<p_iops>2353247423.318676</p_iops>
<p_membw>1000000000.000000</p_membw>
<p_calculated>1493676662.264028</p_calculated>
<p_vm_extensions_disabled>0</p_vm_extensions_disabled>
<m_nbytes>6258577408.000000</m_nbytes>
<m_cache>25165824.000000</m_cache>
<m_swap>1000337408.000000</m_swap>
<d_total>29697388544.000000</d_total>
<d_free>26189189120.000000</d_free>
<os_name>Linux</os_name>
<os_version>3.13.0-32-generic</os_version>
<coprocs>
</coprocs>
</host_info>
<opaque>
<host_authenticator>d7653795909210c5c6795eca4001e440</host_authenticator>
</opaque>
<time_stats>
<on_frac>1.000000</on_frac>
<connected_frac>-1.000000</connected_frac>
<cpu_and_network_available_frac>0.999975</cpu_and_network_available_frac>
<active_frac>0.999975</active_frac>
<gpu_active_frac>0.999975</gpu_active_frac>
<client_start_time>1493676593.183567</client_start_time>
<previous_uptime>303963.755693</previous_uptime>
<now>1493980556.939260</now>
</time_stats>
<net_stats>
<bwup>55451.500298</bwup>
<avg_up>3695552189.310957</avg_up>
<avg_time_up>1493978862.407285</avg_time_up>
<bwdown>7560596.162587</bwdown>
<avg_down>15246446776.785088</avg_down>
<avg_time_down>1493974321.302577</avg_time_down>
</net_stats>
</acct_mgr_request>

[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9149
Credits: 348,241,820
World-rank: 3,073

2017-05-06 14:25:24

Now please PM me the password_hash and host_cpid.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-09 10:12:05

[BOINCstats Willy wrote:

Now please PM me the password_hash and host_cpid.


Just FYI, I have sent you, Willy, the password_hash and host_cpid a couple of days ago.
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9149
Credits: 348,241,820
World-rank: 3,073

2017-05-10 15:17:21

As far as I can tell from the code your system should not have logged in with weak auth on the first connect. It was however listed as a weak auth host (changed that).

I also have enabled debug logging for this host, it is however no longer communicating with BAM!.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-11 17:43:50

Hi Willy, I don't know. I kept having that problem. I think I have messed up something upon installation.
Since the machine was on a cloud provider I decided to delete it and start over again. I will use this thread if i get the same problem again.
CristianCantoro
 
Translator
BAM!ID: 34655
Joined: 2007-09-15
Posts: 16
Credits: 1,080,733
World-rank: 180,756

2017-05-11 21:05:17

So, I reinstalled everything and I was able to reconstruct what (probably) happened last time.
I have installed BOIC on a "headless" (no GUI) Ubuntu 14.04 server. To manage it I was using boinctui.

I tried to connect to BAM using boinctui but I kept getting an error about "username and password wrong". I think this is a bug in boinctui. So I have probably tried using the weak authenticator and then (again, probably the same bug in boinctui) boinctui was not reporting any authentication error but it was keeping using the weak authenticator.

So then I used the BOINC Manager on my local machine (via a ssh tunnel) and I was able to attach to BAM! Now, eveything seems to be working correctly.
Pages: [1]

Index :: BAM! Bug Report :: Host reports to be attached with weak authenticator even if it is attached with regular credentials
Reason: