Message boards : Number crunching : Error notices in BOINC after install on RaspberryPI on the 64 bit OS
Message board moderation

To post messages, you must log in.

AuthorMessage
karbonade
Avatar

Send message
Joined: 3 Jan 21
Posts: 15
Credit: 74,625,967
RAC: 0
Message 5821 - Posted: 12 Sep 2022, 10:11:24 UTC

I've used this thread as an example: https://universeathome.pl/universe/forum_thread.php?id=671

I've istalled Boinc and adjust it so it could run on the 64 bit OS as stated in the thread.
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libstdc++6:armhf libgomp1:armhf libboinc7:armhf
sudo reboot

After that I added the cc_config file:
/var/lib/boinc-client/cc_config.xml

Used nano: sudo nano /var/lib/boinc-client/cc_config.xml

-->
<cc_config>
<log_flags>
<task>1</task>
<file_xfer>1</file_xfer>
<sched_ops>1</sched_ops>
</log_flags>
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<options>
</cc_config>

Restarted the Boinc-client and it started to run, got tasks, and it started crunching. So, I'am happy.

But in the Notices tab I see these errors:
Notice from BOINC
Unrecognized tag in cc_config.xml: <options>
Sun 11 Sep 2022 14:52:07 CEST

Notice from BOINC
Error in cc_config.xml options
Sun 11 Sep 2022 14:52:07 CEST

Notice from BOINC
Missing end tag in cc_config.xml
Sun 11 Sep 2022 14:52:07 CEST

I've checked and recheked the cc_config file but I can't see anything wrong in compare to the threat I used as an example.

So, I have three questions:
- Did I do something wrong or forgot something?
- Are the errors any effect on how it functions?
- If nessesary: how do I fix this?

I must confess that I'm not having much knowlegde about Linux sort of OS'es.So please respond on a beginners level.
ID: 5821 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Krzysztof Piszczek - wspieram ...
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 4 Feb 15
Posts: 847
Credit: 144,180,465
RAC: 0
Message 5822 - Posted: 12 Sep 2022, 15:17:42 UTC - in response to Message 5821.  
Last modified: 12 Sep 2022, 15:18:47 UTC

What I see that
<options>
you have opened twice, not closed.
Krzysztof 'krzyszp' Piszczek

Member of Radioactive@Home team
My Patreon profile
Universe@Home on YT
ID: 5822 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
karbonade
Avatar

Send message
Joined: 3 Jan 21
Posts: 15
Credit: 74,625,967
RAC: 0
Message 5823 - Posted: 12 Sep 2022, 19:45:19 UTC
Last modified: 12 Sep 2022, 19:46:02 UTC

Thanks for your reply Krzysztof.
I'm not shure what you means by that. Perhaps you can point me out how to "close" it instead of opening it twice?
I did copy the syntax out of the original threat so that must be wrong as well?
ID: 5823 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rsNeutrino

Send message
Joined: 1 Nov 17
Posts: 29
Credit: 291,940,933
RAC: 0
Message 5824 - Posted: 12 Sep 2022, 20:07:13 UTC - in response to Message 5823.  

Blocks are opened with <example> and closed with </example>, with a slash before the identifier.
The problem here would be that the <options> block has the slash missing, when it should get closed.
The source has indeed the same error.
Wrong:
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<options>

Right:
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>

This works like the formatting here in the forum: Closing a "code" formatting block, when it hasn't been opened: [/code]
ID: 5824 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Krzysztof Piszczek - wspieram ...
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 4 Feb 15
Posts: 847
Credit: 144,180,465
RAC: 0
Message 5825 - Posted: 12 Sep 2022, 20:08:50 UTC - in response to Message 5823.  
Last modified: 12 Sep 2022, 20:09:28 UTC

In:
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<options>
</cc_config>

should by:
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>
</cc_config>

Krzysztof 'krzyszp' Piszczek

Member of Radioactive@Home team
My Patreon profile
Universe@Home on YT
ID: 5825 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
karbonade
Avatar

Send message
Joined: 3 Jan 21
Posts: 15
Credit: 74,625,967
RAC: 0
Message 5826 - Posted: 12 Sep 2022, 20:32:16 UTC
Last modified: 12 Sep 2022, 20:32:34 UTC

Aha, thank you very much.
That did the trick. :-)
ID: 5826 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
karbonade
Avatar

Send message
Joined: 3 Jan 21
Posts: 15
Credit: 74,625,967
RAC: 0
Message 5827 - Posted: 12 Sep 2022, 20:36:38 UTC - in response to Message 5824.  

Thank you all for the advice. I've learned somthing today.
ID: 5827 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Stephan Volkmann
Avatar

Send message
Joined: 12 Sep 17
Posts: 11
Credit: 10,035,833
RAC: 0
Message 5852 - Posted: 25 Sep 2022, 15:09:33 UTC - in response to Message 5825.  

thx, that hint does the solution for me too :-)

cu, stephan
ID: 5852 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dr. Michael Hicks

Send message
Joined: 25 Dec 20
Posts: 11
Credit: 119,980,667
RAC: 0
Message 5865 - Posted: 28 Sep 2022, 1:06:41 UTC - in response to Message 5852.  

thx, that hint does the solution for me too :-)

cu, stephan


Hi, Guys. Wow, that is so weird. I can see the logic of needing </options>
to clse out <options> but my /var/lib/boinc-client/cc_config.xml still remains:

<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<options>

and it's been running boinc on my pi-400 for several weeks now, across
multiple reboots.

-Mike
ID: 5865 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 310
Credit: 4,733,484,700
RAC: 0
Message 5866 - Posted: 28 Sep 2022, 4:02:59 UTC - in response to Message 5865.  

It should be complaining and being ignored. Just don't wake the beast in your case I guess.

There is a great website for checking the syntax of XML files for correct formatting that shows any errors in a simple copy and paste interface that I think should be used by anyone crafting a BOINC XML file. Prevents stupid typos and omissions.

https://www.xmlvalidation.com/index.php

A proud member of the OFA (Old Farts Association)
ID: 5866 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Error notices in BOINC after install on RaspberryPI on the 64 bit OS




Copyright © 2024 Copernicus Astronomical Centre of the Polish Academy of Sciences
Project server and website managed by Krzysztof 'krzyszp' Piszczek