errors running BOINC 6.6.40 in Slackware64

Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile David Melik
Avatar

Send message
Joined: 4 Nov 08
Posts: 48
Message 27649 - Posted: 29 Sep 2009, 7:23:10 UTC
Last modified: 29 Sep 2009, 7:38:59 UTC

I wrote a thread asking that about gtk but it went off-topic. When I try to run BOINC as root now I have problems, and when I try to run it as a user it will not start.

This is what happens as a user (first using root to show you it is not running:)
root@athenaion:~# ps ax|grep boinc
26320 pts/0 S+ 0:00 grep boinc
root@athenaion:~# login d
Password:
Linux 2.6.29.6.
No mail.
d@athenaion:~$ cd /usr/local/bin/BOINC
d@athenaion:/usr/local/bin/BOINC$ ./boinc
Another instance of BOINC is running


Ageless wrote:

If you really want to run it as root, you'll need to give privilege to local users by giving the following command as the user your X-Windows runs as:

$ xhost +local:

Then, set your DISPLAY variable to :0.0 as follows

# export DISPLAY=:0.0


I believe it is 'xhost +localhost' and 'export DISPLAY=0:0.0,' which works, but then it says

SIGPIPE: write on a pipe with no reader


and all the tasks disappear. I had exited the shell where I set 'xhost +localhost' first, but it seems this has to do with something else.
ID: 27649 · Report as offensive
Profile David Melik
Avatar

Send message
Joined: 4 Nov 08
Posts: 48
Message 27651 - Posted: 29 Sep 2009, 7:38:06 UTC - in response to Message 27649.  

I added those export and xhost commands back into /etc/profile and logged in again and restarted X. Now when I run boinc it starts to connect to some tasks and says the following and exits

SIGSEGV: segmentation violation
Stack trace (8 frames):
./boinc(boinc_catch_signal+0x43)[0x454b83]
/lib64/libpthread.so.0[0x7f030ed7af30]
./boinc[0x440809]
./boinc[0x440b29]
./boinc[0x416fe6]
./boinc[0x43f236]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7f030e795526]
./boinc(__gxx_personality_v0+0x1c9)[0x405ce9]
ID: 27651 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 27686 - Posted: 1 Oct 2009, 1:53:16 UTC

As soon as you run BOINC as root *once*, file permissions get messed up and it won't work right until you clean the mess created...

ID: 27686 · Report as offensive
Profile David Melik
Avatar

Send message
Joined: 4 Nov 08
Posts: 48
Message 27711 - Posted: 1 Oct 2009, 20:40:17 UTC - in response to Message 27686.  
Last modified: 1 Oct 2009, 20:41:34 UTC

I have never seen that happen before. Actually I was running it as root (that was the reason to set xhost +localhost) when I got these errors. Another thing I noticed is once boinc created all its files for the session in /root. Maybe I ran it from /root though. What exactly should the file permissions be for root or a user, and what else would I have to do to run it as a user?
ID: 27711 · Report as offensive
Profile David Melik
Avatar

Send message
Joined: 4 Nov 08
Posts: 48
Message 27837 - Posted: 9 Oct 2009, 7:44:18 UTC - in response to Message 27711.  
Last modified: 9 Oct 2009, 7:59:45 UTC

Ok, I reinstalled BOINC, but now I cannot run it with my init script. I want it to be something that just runs when my computer starts. What is suddenly wrong with running it as root, and is there no way I can either do that (and run the GUI manager) or otherwise run it with an init script?

Also when I ran it non-root I got the error below.

SIGSEGV: segmentation violation
Stack trace (8 frames):
./boinc(boinc_catch_signal+0x43)[0x454b83]7
/lib64/libpthread.so.0[0x7f05c4dfaf30]
./boinc[0x440809]
./boinc[0x440b29]
./boinc[0x416fe6]
./boinc[0x43f236]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7f05c4815526]
./boinc(__gxx_personality_v0+0x1c9)[0x405ce9]

Exiting...
SIGPIPE: write on a pipe with no reader
SIGPIPE: write on a pipe with no reader
ID: 27837 · Report as offensive
Profile David Melik
Avatar

Send message
Joined: 4 Nov 08
Posts: 48
Message 28442 - Posted: 1 Nov 2009, 22:12:47 UTC - in response to Message 27837.  

6.6.41 works fine. A problem might have been that I did not xhost +localhost and export DISPLAY=0:0.0 with my X user rather than root, but I think the other problems were something else.
ID: 28442 · Report as offensive

Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64

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.