boinc???

Post here if you are a new Porteus member and you're looking for some help.
Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#166 by Bogomips » 27 Oct 2015, 21:21

First of all do Advanced View and quit Boinc Manager if running.

In terminal do

Code: Select all

cat /usr/local/bin/boinc_mgr
ps -e | grep boinc
cd  /mnt/sda1/disk/BOINC
boincmgr
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#167 by wacojohn » 27 Oct 2015, 23:00

Boinc Manager NOT running.

Code: Select all

root@porteus:~# cat /usr/local/bin/boinc_mgr
#!/bin/bash
cd  /mnt/sda1/disk/BOINC
boincmgr
root@porteus:~# ps -e | grep boinc
 1110 ?        00:01:46 boinc
 2262 ?        00:00:00 boinc_mgr
 2263 ?        00:00:18 boincmgr
root@porteus:~# cd  /mnt/sda1/disk/BOINC
root@porteus:/mnt/sda1/disk/BOINC# boincmgr
boincmgr: /lib/liblzma.so.5: no version information available (required by /usr/lib/i386-linux-gnu/libtiff.so.5)
Warning: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
root@porteus:/mnt/sda1/disk/BOINC#
BManager opens but with superimposed window:
BOINC Manager - Select Computer
Another instance of BOINC Manager is already running on this computer. Please select a client to monitor.
Host name: ___________
Password: ___________

OK Cancel
and behind it is the 'normal' basic BManager window saying:
Unable to connect to the core client

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#168 by Bogomips » 28 Oct 2015, 00:22

@wacojohn

Met this situation before of two managers running. According to the output, manager was still running before the code block was done.

NB Closing window does not terminate boinc manager. Boinc manager a bit of a tricky customer. To terminate manager have to do: View > Advanced View > File > Exit BOINC Manager > OK

Also scan task bar for boinc icon, right click and choose close.

According to output, boinc client is running, so should be able to connect. First we have to ensure we are rid of them managers:

Code: Select all

pkill boincmgr; ps -e | grep boincmgr
Ensure boincmgr does not show up in output, otherwise repeat with:

Code: Select all

pkill -9 boincmgr; ps -e | grep boincmgr
Think I know how you could have gone off the rails, very easy to do if not on your guard. :) When doing Run (Alt+F2), all the letters of boinc_mgr have to be entered. No auto completion! Then there will appear Run boinc_mgr, which can then be clicked upon.

So without any boincmgr running, redo:
  • Run (Alt+F2): boinc_mgr
  • 5c(ii) & 5c(iii) of 2nd Post this Thread
Btw. FF OK?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#169 by wacojohn » 28 Oct 2015, 00:57

Bogomips wrote:@wacojohn

Met this situation before of two managers running. According to the output, manager was still running before the code block was done.
Perhaps. My recollection is that I looked first .. no BOINC icon on task bar ... but maybe I am wrong.
NB Closing window does not terminate boinc manager. Boinc manager a bit of a tricky customer. To terminate manager have to do: View > Advanced View > File > Exit BOINC Manager > OK

Also scan task bar for boinc icon, right click and choose close.
Quite right, .. but my BManager ask if it should just close Manager or close it AND the client. I always say close both. In any case, I am the weak link ... so anything is possible.
According to output, boinc client is running, so should be able to connect.
Would not and cannot argue that.

First we have to ensure we are rid of them managers:

Code: Select all

pkill boincmgr; ps -e | grep boincmgr

Code: Select all

root@porteus:/mnt/sda1/disk/BOINC# pkill boincmgr; ps -e | grep boincmgr
root@porteus:/mnt/sda1/disk/BOINC#
Ensure boincmgr does not show up in output, otherwise repeat with:

Code: Select all

pkill -9 boincmgr; ps -e | grep boincmgr
Think I know how you could have gone off the rails, very easy to do if not on your guard. :) When doing Run (Alt+F2), all the letters of boinc_mgr have to be entered. No auto completion! Then there will appear Run boinc_mgr, which can then be clicked upon.
I do Alt+F2 and a window opens titled APPLICATION FINDER. I TYPE in

Code: Select all

boinc_mgr
click LAUNCH and eventually BManager opens. I exit BManager from Advanced window .. telling it to terminate client .... unless it ERRORS in which case, it instantly closes at the basic window.

In any case, I am reasonably certain it is NOT running now.


So without any boincmgr running, redo:
  • Run (Alt+F2): boinc_mgr
  • 5c(ii) & 5c(iii) of 2nd Post this Thread
Btw. FF OK?
BManager opened .. advanced window ... status disconnected.
FF looks fine.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#170 by Bogomips » 28 Oct 2015, 12:11

wacojohn wrote: I exit BManager from Advanced window .. telling it to terminate client .... unless it ERRORS in which case, it instantly closes at the basic window.

In any case, I am reasonably certain it is NOT running now.
So without any boincmgr running, redo:
  • Run (Alt+F2): boinc_mgr
  • 5c(ii) & 5c(iii) of 2nd Post this Thread
Btw. FF OK?
BManager opened .. advanced window ... status disconnected.
All this was superfluous!

Pretty sure there was no BM running, then BM started as requested, and that there was also a client running. Then all was needed 5c(ii) and 5c(iii).
I exit BManager from Advanced window .. telling it to terminate client .... unless it ERRORS in which case, it instantly closes at the basic window.
This was not the way explained, which was:
View > Advanced View > File > Exit BOINC Manager > OK

Now there is no client, so no connection.
  1. Sart up client:

    Code: Select all

    ps -e | grep boinc
    boinc --dir /mnt/da1/disk/BOINC --daemon
  2. Quit BM (the way explained)
  3. Run: boinc_mgr
  4. Do 5c(ii) and 5c(iii) of 2nd Post
Last edited by Bogomips on 28 Oct 2015, 12:49, edited 2 times in total.
Reason: Extra instrns
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#171 by wacojohn » 28 Oct 2015, 14:00

Bogomips wrote:
Now there is no client, so no connection.
  1. Sart up client:

    Code: Select all

    ps -e | grep boinc
    boinc --dir /mnt/da1/disk/BOINC --daemon
  2. Quit BM (the way explained)
  3. Run: boinc_mgr
  4. Do 5c(ii) and 5c(iii) of 2nd Post

Code: Select all

root@porteus:/mnt/sda1/disk/BOINC# ps -e | grep boinc
 1110 ?        00:07:54 boinc
root@porteus:/mnt/sda1/disk/BOINC# boinc --dir /mnt/da1/disk/BOINC --daemon
root@porteus:/mnt/sda1/disk/BOINC# 
Quit BM (the way explained)
.... BM is not running.
Run: boinc_mgr
Comes up 'disconnected'.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#172 by Bogomips » 28 Oct 2015, 15:15

Retry
  1. Terminate
    1. Manager:

      Code: Select all

      pkill boincmgr; ps -e | grep boincmgr
      Ensure boincmgr does not show up in output, otherwise repeat with:

      Code: Select all

      pkill -9 boincmgr; ps -e | grep boincmgr
    2. Client:

      Code: Select all

      pkill boinc; ps -e | grep boinc
      Ensure boinc does not show up in output, otherwise repeat with:

      Code: Select all

      pkill -9 boinc; ps -e | grep boinc
  2. Reboot
  3. With no FF running, do (as root):

    Code: Select all

    cat /proc/cmdline
    du -sh /mnt/sda1/disk/changes
    cat /var/log/porteus-livedbg
    activate /mnt/sda1/disk/systemd-224-1-i686-0-kde.xzm
    activate /mnt/sda1/disk/gtk3-3.16.7.i686-pkg-1.xzm
    [[ ! -d /home/guest/.mozilla ]] && mkdir /home/guest/.mozilla
    [[ -d /home/guest/.mozilla ]] && mount --bind /mnt/sda1/disk/.mozilla /home/guest/.mozilla
    mount
    
  4. Fire up FF
  5. Code: Select all

    cd /mnt/sda1/disk/BOINC
    boincmgr
  6. Do 5c(ii) & 5c(iii) of 2nd Post this Thread
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#173 by wacojohn » 28 Oct 2015, 17:54

Code: Select all

root@porteus:/mnt/sda1/disk/BOINC# pkill boincmgr; ps -e | grep boincmgr
root@porteus:/mnt/sda1/disk/BOINC# pkill boinc; ps -e | grep boinc
 1110 ?        00:09:44 boinc
root@porteus:/mnt/sda1/disk/BOINC# pkill -9 boinc; ps -e | grep boinc
root@porteus:/mnt/sda1/disk/BOINC# 
I will be right back .. after reboot etc.

Code: Select all

Password: 
root@porteus:~# cat /proc/cmdline
quiet initrd=initrd.xz fsck timezone=US/Central utc cliexec=boinc~--dir~/mnt/sda1/disk/BOINC~--daemon changes=EXIT:/disk BOOT_IMAGE=vmlinuz 
root@porteus:~# du -sh /mnt/sda1/disk/changes
23M	/mnt/sda1/disk/changes
root@porteus:~# cat /var/log/porteus-livedbg
# Recognized devices:
/dev/sda1: LABEL="Porteus" UUID="c939d1c2-09d0-40c5-ad05-b731ccf9d66d" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda2: LABEL="Porteus Swap" UUID="dd28b0f1-74ea-455a-8ca7-ba09e4dfc9d6" TYPE="swap" 

# Booting device:
/mnt/sda1

# Porteus data found in:
/mnt/sda1/porteus

# Changes are stored in:
memory

# Non standard /rootcopy dir:
none

# Modules activated during boot time:
/mnt/sda1/porteus/base/000-kernel.xzm
/mnt/sda1/porteus/base/001-core.xzm
/mnt/sda1/porteus/base/001-core_alldesktops-150124.xzm
/mnt/sda1/porteus/base/002-xorg.xzm
/mnt/sda1/porteus/base/002-xorg_alldesktops-150126.xzm
/mnt/sda1/porteus/base/003-xfce.xzm
/mnt/sda1/porteus/base/004-xfce_fixes-150124.xzm
/mnt/sda1/porteus/base/0099-settings.xzm
/mnt/sda1/porteus/base/04-firefox.xzm
/mnt/sda1/porteus/modules/boinc-7.2.42.i686.xzm
/mnt/sda1/porteus/modules/flashplayer-plugin-11.2.202.540-i386-1alien.xzm
/mnt/sda1/porteus/modules/mozilla-firefox-38.3.0esr-i486-1_slack14.1.xzm
/mnt/sda1/porteus/modules/nVidia-304.123-porteus-v3.1-i486-1ftm.xzm
/mnt/sda1/porteus/modules/tree-1.6.0-i486-1.xzm
/mnt/sda1//disk/changes
root@porteus:~# activate /mnt/sda1/disk/systemd-224-1-i686-0-kde.xzm
Updating shared library links:  /sbin/ldconfig
root@porteus:~# activate /mnt/sda1/disk/gtk3-3.16.7.i686-pkg-1.xzm
Updating shared library links:  /sbin/ldconfig
Updating glib schemas: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
Updating GIO cache: /usr/bin/gio-querymodules /usr/lib/gio/modules
Updating GTK immodules: /usr/bin/update-gtk-immodules
Updating XFCE menu: update-desktop-database
root@porteus:~# [[ ! -d /home/guest/.mozilla ]] && mkdir /home/guest/.mozilla
root@porteus:~# [[ -d /home/guest/.mozilla ]] && mount --bind /mnt/sda1/disk/.mozilla /home/guest/.mozilla
root@porteus:~# mount
aufs on / type aufs (rw,del:/mnt/live/memory/images/nVidia-304.123-porteus-v3.1-i486-1ftm.xzm)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devtmpfs on /dev type devtmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /mnt/sda1 type ext3 (noatime,nodiratime,suid,dev,exec,async)
/mnt/live/run on /run type none (rw,bind)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfsd-fuse on /home/guest/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=guest)
/mnt/sda1/disk/.mozilla on /home/guest/.mozilla type none (rw,bind)
root@porteus:~# 

Code: Select all

root@porteus:~# cd /mnt/sda1/disk/BOINC
root@porteus:/mnt/sda1/disk/BOINC# boincmgr

Code: Select all

guest@porteus:~$ ls -lh /mnt/sda1/porteus/{,base,modules,optional}
/mnt/sda1/porteus/:
total 24K
dr-xr-xr-x 2 root root 4.0K Oct 13 23:18 base/
-r-xr-xr-x 1 root root 1015 Oct 13 21:35 make_iso.sh*
dr-xr-xr-x 2 root root 4.0K Oct 26 09:31 modules/
dr-xr-xr-x 2 root root 4.0K Oct 13 21:35 optional/
-r--r--r-- 1 root root  437 Oct 13 21:35 porteus-v3.1-i486.sgn
dr-xr-xr-x 2 root root 4.0K Oct 13 21:35 rootcopy/

/mnt/sda1/porteus/base:
total 166M
-r--r--r-- 1 root root  17M Oct 13 21:32 000-kernel.xzm
-r--r--r-- 1 root root  46M Oct 13 21:33 001-core.xzm
-rw-r--r-- 1 root root 4.0K Jan 24  2015 001-core_alldesktops-150124.xzm
-r--r--r-- 1 root root  44M Oct 13 21:34 002-xorg.xzm
-rw-r--r-- 1 root root  12K Jan 26  2015 002-xorg_alldesktops-150126.xzm
-r--r--r-- 1 root root  25M Oct 13 21:34 003-xfce.xzm
-rw-r--r-- 1 root root 352K Jan 24  2015 004-xfce_fixes-150124.xzm
-r--r--r-- 1 root root 4.0K Oct 13 21:34 0099-settings.xzm
-r--r--r-- 1 root root  35M Oct 13 21:35 04-firefox.xzm

/mnt/sda1/porteus/modules:
total 101M
-rw-r--r-- 1 root root  25M Oct 19 14:59 boinc-7.2.42.i686.xzm
-rw-r--r-- 1 root root 5.1M Oct 20 05:49 flashplayer-plugin-11.2.202.540-i386-1alien.xzm
-rw-r--r-- 1 root root  42M Oct 23 10:45 mozilla-firefox-38.3.0esr-i486-1_slack14.1.xzm
-r--r--r-- 1 root root  30M Oct 13 21:35 nVidia-304.123-porteus-v3.1-i486-1ftm.xzm
-rw-r--r-- 1 root root  40K Oct 26 09:30 tree-1.6.0-i486-1.xzm

/mnt/sda1/porteus/optional:
total 0
guest@porteus:~$ lsblk | grep loop
loop0    7:0    0    16M  0 loop /mnt/live/memory/images/000-kernel.xzm
loop1    7:1    0    46M  0 loop /mnt/live/memory/images/001-core.xzm
loop2    7:2    0     4K  0 loop /mnt/live/memory/images/001-core_alldesktops-15
loop3    7:3    0  43.7M  0 loop /mnt/live/memory/images/002-xorg.xzm
loop4    7:4    0    12K  0 loop /mnt/live/memory/images/002-xorg_alldesktops-15
loop5    7:5    0  24.6M  0 loop /mnt/live/memory/images/003-xfce.xzm
loop6    7:6    0   352K  0 loop /mnt/live/memory/images/004-xfce_fixes-150124.x
loop7    7:7    0     4K  0 loop /mnt/live/memory/images/0099-settings.xzm
loop8    7:8    0  34.4M  0 loop /mnt/live/memory/images/04-firefox.xzm
loop9    7:9    0  24.7M  0 loop /mnt/live/memory/images/boinc-7.2.42.i686.xzm
loop10   7:10   0     5M  0 loop /mnt/live/memory/images/flashplayer-plugin-11.2
loop11   7:11   0  41.8M  0 loop /mnt/live/memory/images/mozilla-firefox-38.3.0e
loop12   7:12   0  12.3M  1 loop /mnt/live/memory/images/systemd-224-1-i686-0-kd
loop13   7:13   0    40K  0 loop /mnt/live/memory/images/tree-1.6.0-i486-1.xzm
loop14   7:14   0  34.1M  1 loop /mnt/live/memory/images/gtk3-3.16.7.i686-pkg-1.
guest@porteus:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           500        455         44          0          9         83
-/+ buffers/cache:        361        138
Swap:         1534         22       1512
guest@porteus:~$ df -h ~
Filesystem      Size  Used Avail Use% Mounted on
aufs            301M   13M  288M   5% /
guest@porteus:~$ ps -e | grep boinc
 1090 ?        00:00:11 boinc
 1745 pts/0    00:00:14 boincmgr
guest@porteus:~$ 

Code: Select all

Wed 28 Oct 2015 01:07:21 PM CDT |  | cc_config.xml not found - using defaults
Wed 28 Oct 2015 01:07:23 PM CDT |  | Starting BOINC client version 7.2.42 for i686-pc-linux-gnu
Wed 28 Oct 2015 01:07:23 PM CDT |  | log flags: file_xfer, sched_ops, task
Wed 28 Oct 2015 01:07:23 PM CDT |  | Libraries: libcurl/7.44.0 OpenSSL/1.0.1c zlib/1.2.8 libidn/1.25 libssh2/1.4.3
Wed 28 Oct 2015 01:07:23 PM CDT |  | Running as a daemon
Wed 28 Oct 2015 01:07:23 PM CDT |  | Data directory: /mnt/sda1/disk/BOINC
Wed 28 Oct 2015 01:07:23 PM CDT |  | GPU detection failed. error code 5632
Wed 28 Oct 2015 01:07:23 PM CDT |  | No usable GPUs found
Wed 28 Oct 2015 01:07:23 PM CDT |  | Host name: porteus
Wed 28 Oct 2015 01:07:23 PM CDT |  | Processor: 1 GenuineIntel Celeron (Coppermine) [Family 6 Model 8 Stepping 6]
Wed 28 Oct 2015 01:07:23 PM CDT |  | Processor features: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse
Wed 28 Oct 2015 01:07:23 PM CDT |  | OS: Linux: 3.17.4-porteus
Wed 28 Oct 2015 01:07:23 PM CDT |  | Memory: 500.09 MB physical, 1.50 GB virtual
Wed 28 Oct 2015 01:07:23 PM CDT |  | Disk: 7.57 GB total, 5.46 GB free
Wed 28 Oct 2015 01:07:23 PM CDT |  | Local time is UTC -5 hours
Wed 28 Oct 2015 01:07:23 PM CDT | malariacontrol.net | URL http://www.malariacontrol.net/; Computer ID 1620550; resource share 100
Wed 28 Oct 2015 01:07:23 PM CDT | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12098378; resource share 100
Wed 28 Oct 2015 01:07:23 PM CDT | Einstein@Home | General prefs: from Einstein@Home (last modified 31-Jan-2014 20:16:00)
Wed 28 Oct 2015 01:07:23 PM CDT | Einstein@Home | Host location: none
Wed 28 Oct 2015 01:07:23 PM CDT | Einstein@Home | General prefs: using your defaults
Wed 28 Oct 2015 01:07:23 PM CDT |  | Reading preferences override file
Wed 28 Oct 2015 01:07:23 PM CDT |  | Preferences:
Wed 28 Oct 2015 01:07:23 PM CDT |  | max memory usage when active: 250.04MB
Wed 28 Oct 2015 01:07:23 PM CDT |  | max memory usage when idle: 450.08MB
Wed 28 Oct 2015 01:07:23 PM CDT |  | max disk usage: 1.00GB
Wed 28 Oct 2015 01:07:23 PM CDT |  | don't use GPU while active
Wed 28 Oct 2015 01:07:23 PM CDT |  | suspend work if non-BOINC CPU load exceeds 25%
Wed 28 Oct 2015 01:07:23 PM CDT |  | (to change preferences, visit a project web site or select Preferences in the Manager)
Wed 28 Oct 2015 01:07:23 PM CDT |  | Not using a proxy
Wed 28 Oct 2015 01:07:35 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:07:45 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:07:56 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:08:16 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:08:27 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:09:08 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:09:18 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:09:38 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:14:50 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:15:00 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:19:13 PM CDT |  | Suspending computation - CPU is busy
Wed 28 Oct 2015 01:20:55 PM CDT |  | Resuming computation
Wed 28 Oct 2015 01:21:05 PM CDT |  | Suspending computation - CPU is busy

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#174 by Bogomips » 29 Oct 2015, 00:08

^ All is almost as it should be, except for the fact that boincmgr was run as root, when this was not specified. Did not want it run as root, therefore put it in different code block.

(The changes folder has been significantly reduced and also shown that changes are not affecting boinc. Contents of changes may no longer be giving trouble during booting.)

Now we have to try and repair damage by doing:
  1. Quit BM
  2. As root:

    Code: Select all

    pkill boincmgr; ps -e | grep boincmgr
    Ensure boincmgr does not show up in output, otherwise repeat as root:

    Code: Select all

    pkill -9 boincmgr; ps -e | grep boincmgr
  3. As root
    1. Code: Select all

      ls -lR /mnt/sda1/disk/BOINC/*|grep root
    2. If root showed up in output of (a), fix by (as root):

      Code: Select all

      chown -R guest:guest /mnt/sda1/disk/BOINC
  4. As guest:

    Code: Select all

    cd /mnt/sda1/disk/BOINC
    boincmgr
    
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#175 by wacojohn » 29 Oct 2015, 01:35

Bogomips wrote:^ All is almost as it should be, except for the fact that boincmgr was run as root, when this was not specified. Did not want it run as root, therefore put it in different code block.

(The changes folder has been significantly reduced and also shown that changes are not affecting boinc. Contents of changes may no longer be giving trouble during booting.)

Now we have to try and repair damage by doing:
  1. Quit BM
  2. As root:

    Code: Select all

    pkill boincmgr; ps -e | grep boincmgr
    Ensure boincmgr does not show up in output, otherwise repeat as root:

    Code: Select all

    pkill -9 boincmgr; ps -e | grep boincmgr
  3. As root
    1. Code: Select all

      ls -lR /mnt/sda1/disk/BOINC/*|grep root
    2. If root showed up in output of (a), fix by (as root):

      Code: Select all

      chown -R guest:guest /mnt/sda1/disk/BOINC
  4. As guest:

    Code: Select all

    cd /mnt/sda1/disk/BOINC
    boincmgr
    
Quit BM
As I mentioned in my superfluous tirade .. this also shuts down BOINC.
Password:
root@porteus:~# pkill boincmgr; ps -e | grep boincmgr
root@porteus:~# ls -lR /mnt/sda1/disk/BOINC/*|grep root
root@porteus:~#

Code: Select all

guest@porteus:~$ cd /mnt/sda1/disk/BOINC
guest@porteus:/mnt/sda1/disk/BOINC$ boincmgr
boincmgr: /lib/liblzma.so.5: no version information available (required by /usr/lib/i386-linux-gnu/libtiff.so.5)
Warning: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
execvp(/mnt/sda1/disk/BOINC/boinc, --redirectio, --launched_by_manager) failed with error 2!
execvp(/mnt/sda1/disk/BOINC/boinc, --redirectio, --launched_by_manager) failed with error 2!
execvp(/mnt/sda1/disk/BOINC/boinc, --redirectio, --launched_by_manager) failed with error 2!

Boinc Manager is open ... blank, white window .. status disconnected. Let's give it at least one more try. I THINK I might have screwed up this most recent exercise and I deeply apologize. I am seriously trying to follow all your instructions. Most of the time, I am not sure about what I am doing, ... but I think I can get us through. Just know there is a possibility ON THIS run, I messed up.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#176 by Bogomips » 29 Oct 2015, 12:24

wacojohn wrote:
Quit BM
As I mentioned in my superfluous tirade .. this also shuts down BOINC.
Quit BM (the way described earlier): View > Advanced View > File > Exit BOINC Manager > OK (NO boxes checked) does not terminate boinc. Just checked once more just now. Am able to restart BM thereafter, no problem. Suggest this sequence be also printed out on paper for reference.
Password:
root@porteus:~# pkill boincmgr; ps -e | grep boincmgr
root@porteus:~# ls -lR /mnt/sda1/disk/BOINC/*|grep root
root@porteus:~#
Take it that this is output of instructions.
wacojohn wrote: I am seriously trying to follow all your instructions. Most of the time, I am not sure about what I am doing,
When trying to make a video smaller, or merge videos only have a vague idea of what I am doing, so have to follow instructions to the letter. Suggest the instructions be printed out on PAPER and then ticked off one by one as they are done.

Epilog

Except for quitting BM, seems instructions done as requested. So
  1. Quit BM
    1. Check if boinc running

      Code: Select all

      ps -e | grep boinc
    2. If no boinc do

      Code: Select all

      boinc --dir /mnt/sda1/disk/BOINC --daemon
  2. As guest

    Code: Select all

    cd /mnt/sda1/disk/BOINC; boincmgr &
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#177 by wacojohn » 29 Oct 2015, 13:54

Code: Select all

guest@porteus:~$ ps -e | grep boinc
guest@porteus:~$ boinc --dir /mnt/sda1/disk/BOINC --daemon
guest@porteus:~$ ps -e | grep boinc
 2780 ?        00:00:00 boinc
guest@porteus:~$ cd /mnt/sda1/disk/BOINC; boincmgr &
[1] 2787
guest@porteus:/mnt/sda1/disk/BOINC$ boincmgr: /lib/liblzma.so.5: no version information available (required by /usr/lib/i386-linux-gnu/libtiff.so.5)
Warning: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).

BManager is open, and connected.

Code: Select all

Thu 29 Oct 2015 08:35:50 AM CDT |  | cc_config.xml not found - using defaults
Thu 29 Oct 2015 08:35:51 AM CDT |  | Starting BOINC client version 7.2.42 for i686-pc-linux-gnu
Thu 29 Oct 2015 08:35:51 AM CDT |  | log flags: file_xfer, sched_ops, task
Thu 29 Oct 2015 08:35:51 AM CDT |  | Libraries: libcurl/7.44.0 OpenSSL/1.0.1c zlib/1.2.8 libidn/1.25 libssh2/1.4.3
Thu 29 Oct 2015 08:35:51 AM CDT |  | Running as a daemon
Thu 29 Oct 2015 08:35:51 AM CDT |  | Data directory: /mnt/sda1/disk/BOINC
Thu 29 Oct 2015 08:35:51 AM CDT |  | GPU detection failed. error code 5632
Thu 29 Oct 2015 08:35:51 AM CDT |  | No usable GPUs found
Thu 29 Oct 2015 08:35:51 AM CDT |  | Host name: porteus
Thu 29 Oct 2015 08:35:51 AM CDT |  | Processor: 1 GenuineIntel Celeron (Coppermine) [Family 6 Model 8 Stepping 6]
Thu 29 Oct 2015 08:35:51 AM CDT |  | Processor features: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse
Thu 29 Oct 2015 08:35:51 AM CDT |  | OS: Linux: 3.17.4-porteus
Thu 29 Oct 2015 08:35:51 AM CDT |  | Memory: 500.09 MB physical, 1.50 GB virtual
Thu 29 Oct 2015 08:35:51 AM CDT |  | Disk: 7.57 GB total, 5.46 GB free
Thu 29 Oct 2015 08:35:51 AM CDT |  | Local time is UTC -5 hours
Thu 29 Oct 2015 08:35:51 AM CDT | malariacontrol.net | URL http://www.malariacontrol.net/; Computer ID 1620550; resource share 100
Thu 29 Oct 2015 08:35:51 AM CDT | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12098378; resource share 100
Thu 29 Oct 2015 08:35:51 AM CDT | Einstein@Home | General prefs: from Einstein@Home (last modified 31-Jan-2014 20:16:00)
Thu 29 Oct 2015 08:35:51 AM CDT | Einstein@Home | Host location: none
Thu 29 Oct 2015 08:35:51 AM CDT | Einstein@Home | General prefs: using your defaults
Thu 29 Oct 2015 08:35:51 AM CDT |  | Reading preferences override file
Thu 29 Oct 2015 08:35:51 AM CDT |  | Preferences:
Thu 29 Oct 2015 08:35:51 AM CDT |  | max memory usage when active: 250.04MB
Thu 29 Oct 2015 08:35:51 AM CDT |  | max memory usage when idle: 450.08MB
Thu 29 Oct 2015 08:35:51 AM CDT |  | max disk usage: 1.00GB
Thu 29 Oct 2015 08:35:51 AM CDT |  | don't use GPU while active
Thu 29 Oct 2015 08:35:51 AM CDT |  | suspend work if non-BOINC CPU load exceeds 25%
Thu 29 Oct 2015 08:35:51 AM CDT |  | (to change preferences, visit a project web site or select Preferences in the Manager)
Thu 29 Oct 2015 08:35:51 AM CDT |  | Not using a proxy
Thu 29 Oct 2015 08:36:02 AM CDT |  | Suspending computation - CPU is busy
Thu 29 Oct 2015 08:36:12 AM CDT |  | Resuming computation
Thu 29 Oct 2015 08:36:22 AM CDT |  | Suspending computation - CPU is busy
Thu 29 Oct 2015 08:36:42 AM CDT |  | Resuming computation
Thu 29 Oct 2015 08:37:43 AM CDT |  | Suspending computation - CPU is busy
The reason previous output looks right ... somewhere I ran a command which should have been 'as root' but realized I ran it as guest. Not knowing quite what to do, I ran it all again. That is the output you saw ... along with the caveat.

I do follow 'to the letter', .. but sometimes the letter is inconcise .. for me. .. example:
Check if boinc running

Code: Select all

Code: Select all
        ps -e | grep boinc
If no boinc do

Code: Select all

Code: Select all
        boinc --dir /mnt/sda1/disk/BOINC --daemon
As guest

Code: Select all

Code: Select all
    cd /mnt/sda1/disk/BOINC; boincmgr &
As guest implies (to me) that the preceding should be done as Root ... hence some of the mistakes are made ... sometimes. I have to make assumptions ... sometimes..

The freekin point is . THANK YOU for working with me. I am grateful beyond measure ... and really trying my best. I hope we are near a mutually satisfactory success with this project.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#178 by Bogomips » 29 Oct 2015, 15:13

^ That all looks good. Always run as guest. Emphasised as guest, because did not want it run as root. Run as root only when requested to do so. Running as root can do interminable damage. One has only to paste in the wrong text from clipboard, which is quite easy to do.

Btw to find out what a command does (what you are doing):

Code: Select all

man <cmd>
man chown    # for example.
Also here.

Next to Do
  • Test out scripts to automate what has been done by hand.
  • Saving everything relevant in /mnt/sda1/disk, in case of system screw up
  • Backing up /mnt/sda1/disk to USB stick
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#179 by wacojohn » 29 Oct 2015, 16:11

Bogomips wrote:^ That all looks good. Always run as guest. Emphasised as guest, because did not want it run as root. Run as root only when requested to do so. Running as root can do interminable damage. One has only to paste in the wrong text from clipboard, which is quite easy to do.
THANK YOU FOR THIS!! I have been confused for years ... between user account (wacojohn or in the case of Porteus guest), root, sudo, and su. Still am, in fact. I THOUGHT each 'tier' did the same thing .. except with simply different permissions. Hope that made sense. Again .. run this 'xxxxxxx', .. sorry you don't have permission. OK, then open 'terminal as super user' ... now xxxxxxxxx and it runs. OR ... type su xxxxxxxx, give p/w and it runs. OR ... log in as ROOT, open regular terminal and xxxxxxxx and it will run ... all ending up with the same result. TOTALLY misunderstood. Hope this makes sense. Anyway ...... I will CERTAINLY heed:
Always run as guest. Emphasised as guest, because did not want it run as root. Run as root only when requested to do so.
Thank you again.
Btw to find out what a command does (what you are doing):

Code: Select all

man <cmd>
man chown    # for example.
Also here.
Yes, Sir. Familiar with 'man' ... though I often don't understand it. The other point to make .. if I 'man'ned every command, this would have taken months to develop this. Would have been nice to benefit from all you have done in that respect .. but you would have waited a LONG time for my replies. The objective was to get BOINC and install it. Developing it with you was a commitment .. the impact of which was unknown to me.
Next to Do
  • Test out scripts to automate what has been done by hand.
  • Saving everything relevant in /mnt/sda1/disk, in case of system screw up
  • Backing up /mnt/sda1/disk to USB stick
Indeed. Have a stick here on my table top. Dunno what capacity is needed, how prepared it needs to be ... what to do when I insert it (mount etc?) etc.

I stand awaiting your next instructions.

EDIT
8GB (formatted cap. 7.31 GB) USB stick .. FAT32..

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#180 by Bogomips » 30 Oct 2015, 12:50

@wacojohn

Over the next days will test out the script. However don't think used that many different commands, all pretty basic. Would be around the ten mark I think.

Anyway wouldn't hurt to look at du and cp, as far as stick is concerned. Also useful to get to grips with ln and ls. In fact, and this is just a suggestion, see if you can as guest link boinc in modules to directory disk, using ln. (Using ln there should not be a possibility of doing any harm.)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Locked