Posts by David Melik

21) Message boards : Questions and problems : questions on SMP running of BOINC (Message 50775)
Posted 5 Oct 2013 by Profile David Melik
Post:
I just started using BOINC again recently and there is something I am not sure I ever really knew. When I set BOINC to use only a percent of CPUs (i.e. on an SMP system), can it still use 100% when I am doing nothing with my computer, or do I have to set BOINC to use '0%' then, so it presumably uses whatever it can use? I want to make BOINC use a small percentage of my CPUs all the time unless I suspend it, and '100%' (or close) if that works (considering that system processes, and maybe other, less important, stuff in the background, take a small percentage of CPU capacity), when I am not using it. Is there any way to do that?
22) Message boards : Questions and problems : have not been able to run BOINC for very close to a year, because it uses an old SSL library version (Message 50774)
Posted 5 Oct 2013 by Profile David Melik
Post:
I wish I had heard a reply. I figured out what the problem was but forgot what it was, though I am using BOINC most of the time again now.
23) Message boards : Questions and problems : have not been able to run BOINC for very close to a year, because it uses an old SSL library version (Message 50265)
Posted 21 Aug 2013 by Profile David Melik
Post:
Yes. Sometimes I have commented that out, but it always used to work even with nothing commented out. After I run the script and start BOINC Manager, it will just not connect to my account manager.

#!/bin/sh
# start/stop/restart BOINC

# start BOINC:
boinc_start() {

#!/bin/sh
cd /var/lib/boinc
su user -c /usr/local/lib64/boinc/boinc&
su user -c "/usr/local/lib64/boinc/boinccmd --join_acct_mgr http://boincstats.com/bam/ dchmelik password&"
#su user -c /usr/local/lib64/boinc/boincmgr&
cd

}

# Stop BOINC:
boinc_stop() {
  killall boinc
}

case "$1" in
'start')
  boinc_start
  ;;
'stop')
  boinc_stop
  ;;
*)
  echo "usage $0 start|stop|restart"
esac
24) Message boards : Questions and problems : have not been able to run BOINC for very close to a year, because it uses an old SSL library version (Message 50242)
Posted 20 Aug 2013 by Profile David Melik
Post:
Actually, this is what I get when I run my boinc start script (that runs it as a non-root/-wheel user):

root@cosmos:~# rc.boinc start
root@cosmos:~# /usr/local/lib64/boinc/boinc: /lib64/libssl.so.1.0.0: no version information available (required by /usr/local/lib64/boinc/boinc)
/usr/local/lib64/boinc/boinc: /usr/lib64/libcurl.so.4: no version information available (required by /usr/local/lib64/boinc/boinc)
/usr/local/lib64/boinc/boinc: /lib64/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib64/boinc/boinc)
can't connect to local host
19-Aug-2013 21:12:54 [---] No config file found - using defaults
.
25) Message boards : Questions and problems : have not been able to run BOINC for very close to a year, because it uses an old SSL library version (Message 50241)
Posted 20 Aug 2013 by Profile David Melik
Post:
Ok; maybe I am wrong and something else is configured wrong... maybe it is my BAM account or something... whatever it is, it seems I cannot connect to any projects.
26) Message boards : Questions and problems : have not been able to run BOINC for very close to a year, because it uses an old SSL library version (Message 50183)
Posted 12 Aug 2013 by Profile David Melik
Post:
I ran BOINC for years, then could not, because my OS's--Slackware's--OpenSSL 0.9.8 became old. Since Slackware 14 (in September 2012) it has OpenSSL 1.0.1 and higher, which I am pretty sure is stable, because the beta releases were replaced by a plain version 1.0.1 in March 2012. However, even the development version of BOINC seems over a year out of date, as it will not run with any OpenSSL 1.0.1+. How soon is BOINC's OpenSSL going to be updated?
27) Message boards : Questions and problems : problem with the GUI client, and perhaps manager (Message 47548)
Posted 28 Jan 2013 by Profile David Melik
Post:
Lately I tried a couple times to start using BOINC again, after it became too new for the previous Slackware. I had run the following script on boot or after starting X/KDE.

#!/bin/sh
# start/stop/restart BOINC

# start BOINC:
boinc_start() {

#!/bin/sh
cd /var/lib/boinc
su u -c /usr/local/lib64/BOINC/boinc&
su u -c "/usr/local/lib64/BOINC/boinccmd --join_acct_mgr http://bam.boincstats.com/ account password&"
su u -c /usr/local/lib64/BOINC/boincmgr&
cd

}

# Stop BOINC:
boinc_stop() {
  killall boinc
}

case "$1" in
'start')
  boinc_start
  ;;
'stop')
  boinc_stop
  ;;
*)
  echo "usage $0 start|stop|restart"
esac


When I run this, it does not give me the option to connect to BAM--I suppose my command already does it, which I think it should. However, sometimes this script starts a GUI client that calls itself a second boincmanager, or maybe this is after I switch to advanced mode and it lets me login to BAM. Then, when I login to BAM, it does not show any of my projects. I think I had to synchronize it to login, but I also recall having to login individually even though I have a BAM account. I do not really recall the process of running BOINC, but none of this is my main problem, which is that sometimes when I start the GUI client and even get to the point of choosing to synchronize with BAM, all the menu bar menus disappear except part of the letter 'F' on the 'File' menu. I am running xorg 1.12.13 and KDE 4.5 in a framebuffer. All other GUI programs display fine.
28) Message boards : BOINC client : BOINC 6.6.41 errors (Message 28450)
Posted 1 Nov 2009 by Profile David Melik
Post:
I had some errors in the previous version that seem to have been ignored (below.)

01-Nov-2009 15:52:37 [Leiden Classical] [error] Error reported by file upload server: nbytes missing or negative
01-Nov-2009 15:52:37 [Leiden Classical] [error] Error reported by file upload server: length of file /home/boinc/Classical/upload/14c/wu_78596477_1254815163_42105_1_1 2970 bytes != offset 0 bytes
01-Nov-2009 15:52:37 [Leiden Classical] Giving up on upload of wu_78596477_1254815163_42105_1_0: permanent upload error
SIGSEGV: segmentation violation
Stack trace (8 frames):
./boinc(boinc_catch_signal+0x43)[0x454b83]
/lib64/libpthread.so.0[0x7f57d5a94f30]
./boinc[0x440809]
./boinc[0x440b29]
./boinc[0x416fe6]
./boinc[0x43f236]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7f57d54af526]
./boinc(__gxx_personality_v0+0x1c9)[0x405ce9]


When I restarted it said the following and exited/crashed.

SIGPIPE: write on a pipe with no reader
SIGPIPE: write on a pipe with no reader
29) Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64 (Message 28442)
Posted 1 Nov 2009 by Profile David Melik
Post:
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.
30) Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64 (Message 27837)
Posted 9 Oct 2009 by Profile David Melik
Post:
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
31) Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64 (Message 27711)
Posted 1 Oct 2009 by Profile David Melik
Post:
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?
32) Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64 (Message 27651)
Posted 29 Sep 2009 by Profile David Melik
Post:
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]
33) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27650)
Posted 29 Sep 2009 by Profile David Melik
Post:
I have moved this to a new thread 'errors running BOINC in Slackware64' because the questions have gone off the original topic and I am getting some weird errors.
34) Message boards : BOINC client : errors running BOINC 6.6.40 in Slackware64 (Message 27649)
Posted 29 Sep 2009 by Profile David Melik
Post:
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.
35) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27628)
Posted 27 Sep 2009 by Profile David Melik
Post:
I do not really want to run it non-root, but I cannot:

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
36) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27624)
Posted 27 Sep 2009 by Profile David Melik
Post:
Actaully I just checked and it is not in my rc.local, but it does not matter: if X has not started then the GUI manager will just not start, and I think if you run the init script and boinc is already running it will not start a new instance. At least I am pretty sure it used to do that--I checked--though I am not sure 6.6.40 does.

That was still off the topic of why the display does not work if I run boinc as root and why it cannot connect if run non-root. Do I really have to make a group and user, and how would that work any more than my main non-root user, which does not work for it? I guess I could run it from a non-root console or an icon, but other GUI things run as root, so what is wrong with Boinc manager?
37) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27620)
Posted 26 Sep 2009 by Profile David Melik
Post:
Update: I just checked my binaries and they are already set to be run by any user... but there are many other files in ./BOINC. I do not know if now they should be owned by some other sort of group or user. I do not really want to have to make a boinc group and user just to run this, but maybe I will try that next. Then I do not know how I can run my init script or use it in rc.local.

If only there was a FreeDOS64--things would be so much simpler and reasonable.
38) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27619)
Posted 26 Sep 2009 by Profile David Melik
Post:
[...]]Did you check ownership and group for all BOINC-related files?[/edit]


I installed it as root so I assume it is root, but I do not really want to have to make a user for it. Several GNU/Linux systems already make a boinc init script in /etc/rc.d/, which often runs things as root. My system is where no one else lives so I do not even usually use passwords, and I have no problem running things as root. If this is supposed to be changed then really the installer should take care of it. I guess I could chmod or make a user, but I would prefer to call my init script from rc.local the way it is, as I think I am already doing.

I dislike when POSIX stuff more for sysadmins is called the only way and pushed on average users... it would be fine for me if I ran BOINC in a DOS-type system this same sort of way, and running as root is no more 'dangerous' in my case... but if things are changing to have more silly POSIX restrictions I will try chmod or making a user: more to have to deal with for no reason just to get something done that is reasonable enough it should be immediate.
39) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27617)
Posted 26 Sep 2009 by Profile David Melik
Post:
[...]About your script: Why would you want to attach to Einstein and the account manager at each start of BOINC?


Earlier Einstein project did not support BAM, but it does now: I removed this from my script.

Did you try the commands in the script manually in a command shell? That would be cd to the BOINC directory and ./boinc (without the & for test purposes). Any (error) messages?

Then (in another shell) enter ./boincmgr. BTW, did you check the shell script run_manager?


Yes, I tried the commands separately, and I meant what happened as root and non-root was when I did things manually. I do not know what you mean by 'check run_manager.' I installed it in the right place and looked at it to make sure it runs right, but actually now my script is calling boincmgr itself like run_manager.


40) Message boards : BOINC Manager : boinc 6.6.40 manager gtk problem (Message 27611)
Posted 26 Sep 2009 by Profile David Melik
Post:
I do not think there were other instances: I did 'ps ax|grep boinc.'

However, when I run boinc non-root it always says the above errors, and when I run it as root it says the display has a problem, though it is '0:0.0.' I killed the processes each time and tried it in these different accounts several times. Also when I do 'xhost +localhost' it does not work. X is pretty ridiculous.

However, I found out part of what happened. Some syntax for boinccmd changed. I can get boinc working and attach to my account manager in root with my script modified for the new syntax, but it will not run the GUI manager. Of course in non-root it will not even run boinc at all.


Previous 20 · Next 20

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.