Boinc manager does not connect in openSUSE 15.2

Message boards : BOINC Manager : Boinc manager does not connect in openSUSE 15.2
Message board moderation

To post messages, you must log in.

AuthorMessage
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95307 - Posted: 18 Jan 2020, 22:54:59 UTC

Hello,
I installed BOINC with yast2 but it does not connect to my boinc-client which is running, I can not setup my existing
projects?? does anyone have an idea what is wrong here.

Regards
Frik Brits
ID: 95307 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1485
Australia
Message 95318 - Posted: 19 Jan 2020, 0:09:01 UTC - in response to Message 95307.  

Please post the first 30 lines from the Event Log here, so we can have a look.
ID: 95318 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95323 - Posted: 19 Jan 2020, 12:41:14 UTC - in response to Message 95318.  

Like I said .... the manager does not connect to the client so all the menu items is grey in the manager except for the "File" and "Help" menus.

Regards
Frik Brits
ID: 95323 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 4478
United Kingdom
Message 95324 - Posted: 19 Jan 2020, 13:18:12 UTC - in response to Message 95323.  

Implying that the client has not started or has crashed.
ID: 95324 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95326 - Posted: 19 Jan 2020, 13:48:12 UTC - in response to Message 95324.  

No it is still running, see reply from the status command ::

frik@localhost:~> service boinc-client status

* boinc-client.service - Berkeley Open Infrastructure Network Computing Client
Loaded: loaded (/usr/lib/systemd/system/boinc-client.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2020-01-19 14:16:54 SAST; 1h 28min ago
Process: 3037 ExecStopPost=/bin/rm -f $BOINC_BOINC_DIR/lockfile (code=exited, status=0/SUCCESS)
Main PID: 3038 (boinc)
Tasks: 2
CGroup: /background.slice/boinc-client.service
`-3038 /usr/bin/boinc --dir /var/lib/boinc

Regards
Frik Brits
ID: 95326 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1485
Australia
Message 95332 - Posted: 19 Jan 2020, 20:27:43 UTC

openSUSE 15.2 isn't due for release until May this year, so it's still in testing.
You may have found a bug, so it might be worth talking to "them".
ID: 95332 · Report as offensive
Gary Roberts

Send message
Joined: 7 Sep 05
Posts: 128
Australia
Message 95337 - Posted: 20 Jan 2020, 6:32:41 UTC - in response to Message 95326.  

No it is still running, see reply from the status command ::
If the client is actually running, wouldn't it have added the startup information to the file stdoutdae.txt in the data directory?

Have you tried browsing that file? If the startup messages aren't there, I don't think it can be running.
Cheers,
Gary.
ID: 95337 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95340 - Posted: 20 Jan 2020, 10:17:13 UTC - in response to Message 95337.  

Gary, I do not even have such a file anywhere and if you look back in my posts I listed the output of "service boinc-client status" that
says that the client is running.

Going back to a previous version is a problem because there are so many missing libraries that i just gave up on that too

By the way I installed this verion = 7.8.3 with the software manager : Yast2

Regards
Frik Brits
ID: 95340 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95342 - Posted: 20 Jan 2020, 10:57:13 UTC - in response to Message 95340.  

So I have been looking around ... there is a file called time_stats_log in the data directory here is a piece of it at the top ::

localhost:/var/lib/boinc # more daily_xfer_history.xml
<daily_xfers>
<dx>
<when>18280</when>
<up>0.000000</up>
<down>55286.000000</down>
</dx>
</daily_xfers>
localhost:/var/lib/boinc # more time_stats_log
1579386509.824124 power_on
1579386519.962329 net_unknown
1579386590.294009 proc_stop
1579386600.342053 proc_start
1579387313.121790 power_off
1579387303.450025 power_off
1579387331.614079 platform x86_64-pc-linux-gnu
1579387331.614079 version 7.8.3
1579387331.614079 power_on
1579387341.682014 net_unknown
1579388430.166830 power_off
1579388426.495450 power_off
1579436097.216203 platform x86_64-pc-linux-gnu
1579436097.216203 version 7.8.3
1579436097.216203 power_on
1579436107.353172 net_unknown
1579436213.987417 power_off
1579436208.206582 power_off
1579436218.810575 platform x86_64-pc-linux-gnu
1579436218.810575 version 7.8.3
1579436218.810575 power_on
1579436228.850576 net_unknown
1579436721.102567 proc_stop
1579436731.146546 proc_start
1579437032.446579 proc_stop
1579437042.490581 proc_start
1579438328.002559 proc_stop
1579438338.067280 proc_start
1579438448.530547 proc_stop
1579438458.574550 proc_start
1579438940.670558 proc_stop
1579438950.714550 proc_start
1579439101.382553 proc_stop
1579439111.426580 proc_start

There is entries " net_unknown" where do I fix that if it is and error, also it seems to stop and start endlessly ?
That must be and problem too?

Regards
Frik Brits
ID: 95342 · Report as offensive
Profile Dave

Send message
Joined: 28 Jun 10
Posts: 1339
United Kingdom
Message 95344 - Posted: 20 Jan 2020, 14:00:59 UTC - in response to Message 95342.  

There is entries " net_unknown" where do I fix that if it is and error, also it seems to stop and start endlessly ?
That must be and problem too?


Running 7.16.3 here without problems and my time_stats_log also has lots of net_unknown entries so I doubt it is relevant to your problem. Sadly,I am not coming up with any ideas as to what might be causing the issue though.
ID: 95344 · Report as offensive
Gary Roberts

Send message
Joined: 7 Sep 05
Posts: 128
Australia
Message 95364 - Posted: 21 Jan 2020, 4:32:56 UTC - in response to Message 95340.  

Gary, I do not even have such a file anywhere and if you look back in my posts I listed the output of "service boinc-client status" that
says that the client is running.
Provided your boinc-client hasn't been modified by whoever packaged it, it will write its startup messages to the file I indicated. A previous version of that file (if it has been rotated) would be called stdoutdae.old. If you have neither of those two files, there are two possibilities that spring to mind. Either, "service boinc-client status" is lying to you and the client has never started -OR- the packager has altered the standard behaviour of the client to direct the startup messages elsewhere. For that second option, you would need to ask on the OpenSUSE forums. It's quite possible they may have done something like that.

If the client is running normally, and if the manager can't connect to it, there would have to be a reason, which would probably show up in the startup messages. If you are certain the client is running, you need to find those messages to diagnose the problem - as was asked by the very first person who responded to your question.

Can you open a terminal session and run something like 'ps -A | grep boinc' to get the process ID of the client? That would be one way of confirming that there is a running client.
Cheers,
Gary.
ID: 95364 · Report as offensive
Profile Dave

Send message
Joined: 28 Jun 10
Posts: 1339
United Kingdom
Message 95369 - Posted: 21 Jan 2020, 8:52:08 UTC - in response to Message 95337.  

No it is still running, see reply from the status command ::
If the client is actually running, wouldn't it have added the startup information to the file stdoutdae.txt in the data directory?

Have you tried browsing that file? If the startup messages aren't there, I don't think it can be running.


Don't know if things have changed at some point but my setup is working and I don't have that file in the data directory. The only items starting with std are stderrgpudetect.txt and stdoutgpudetect.txt
ID: 95369 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 4478
United Kingdom
Message 95370 - Posted: 21 Jan 2020, 10:29:47 UTC

There's a reference to 'boinc-client.service' in an older post. I have no experience of openSUSE, but in Ubuntu service installs the BOINC message archive is blended in with the system log (and rather overwhelms the actual system messages). If you could open your local system log viewing tool, and filter on 'boinc', you might be able to extract something useful.
ID: 95370 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95395 - Posted: 21 Jan 2020, 19:26:58 UTC - in response to Message 95344.  

Hello Dave,
Do you have a URL address where you downloaded version 7.16 ??
ID: 95395 · Report as offensive
Profile Dave

Send message
Joined: 28 Jun 10
Posts: 1339
United Kingdom
Message 95425 - Posted: 22 Jan 2020, 6:27:43 UTC - in response to Message 95395.  
Last modified: 22 Jan 2020, 6:29:25 UTC

Hello Dave,
Do you have a URL address where you downloaded version 7.16 ??


7.16.3 is a testing release so may have (read, "will have") bugs though I have yet to encounter them.

https://github.com/BOINC/boinc/branches Is where I got it from but you have to roll your own. For me, that meant a lot of time chasing down dependencies. I haven't used an RPM distro since Mandrake so won't be of much help on that. My technique, each time I got a message about something being missing was if I couldn't work it out on my own to do a search on the missing dependency and then play around with version numbers if the suggested solution didn't work on Ubuntu 19.10 (It had only just come out when I compiled BOINC last so a few had changed.

Edit: However, I would be very surprised if this is just a version problem.

Have you tried starting client and manager from a terminal and looking at the output?
ID: 95425 · Report as offensive
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 268
Australia
Message 95433 - Posted: 22 Jan 2020, 11:34:35 UTC

Re: Log files

Debian (and probably all the derivatives) have switched to using the system logs and not the text files that are used under windows, To view the logs under Debian you can use the journalctl command. You might need to prefix it with a sudo.

Example: sudo journalctl --unit=boinc-client
MarkJ
ID: 95433 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95434 - Posted: 22 Jan 2020, 11:49:10 UTC - in response to Message 95425.  

It just starts the gui and then it just stands there and you can not do anything because all menus are greyed except for "File" and "Help"
and of course it does not connect to my running client. Maybe I should just give up at this point.
ID: 95434 · Report as offensive
britsfp

Send message
Joined: 18 Jan 20
Posts: 8
South Africa
Message 95503 - Posted: 24 Jan 2020, 12:39:13 UTC - in response to Message 95434.  

In the client's log file it says "missing start tag in cc_config.xml" does this mean anything?
Also it gives this line in that same log file every second, "No protocol specified"
ID: 95503 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 4478
United Kingdom
Message 95504 - Posted: 24 Jan 2020, 12:53:24 UTC - in response to Message 95503.  

cc_config.xml is a useful, but optional, file. If it exists on your machine, it's probably there because some user created it manually - and if it's missing the start tag, then they possibly created it badly. I'd suggest you look in the BOINC data directory, and see if it's there: if it is, delete it. BOINC should run without it, and you can re-create it later if you wish. That should eliminate one variable.

It's hard to imagine what "No protocol specified" is telling us without some additional context. The only thing I know of that happens once per second is that the Manager attempts to contact the client (over TCP/IP) to obtain status updates.
ID: 95504 · Report as offensive

Message boards : BOINC Manager : Boinc manager does not connect in openSUSE 15.2

Copyright © 2021 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.