Page 1 of 2

[solved - don't use their pkg!] Issues with BOINC in Fedora

Posted: 21 May 2011, 08:52
by dedanna1029
Installed F14's package; it's the same version as the one at World Community Grid. Decided to get going again with BOINC, do what I can for the man (figuratively anyway).

Problem: It will only start the client and manager BOTH as su - I can't run either as regular user. With boinc-manager being a GUI app, this is unacceptable to run as su while on the internet, and while doing other things on the computer.

Code: Select all

[--->dedanna@dedanna bin]$ /etc/init.d/boinc-client start
BOINC client requires initialization (no projects attached)[WARNING]
Starting boinc-client: ----->Insufficient rights.                --->[FAILED]
[dedanna@dedanna bin]$ su
Password:
[--->root@dedanna bin]# cd
[root@dedanna ~]# /etc/init.d/boinc-client start
BOINC client requires initialization (no projects attached)[WARNING]
Starting boinc-client:                                     --->[  OK  ]


How to get it to run as regular user, like it says it should be run here? I have not had this issue on other distros. If I start the daemon as su, and then try running boinc-manager as regular user, it errors out on the gui. I get a big fat "Error" on the middle of it. When I run boinc-manager as su, it's running fine. WTF.

Thanks.

Re: Issues with BOINC in Fedora

Posted: 21 May 2011, 16:30
by dedanna1029
Oh, that's right, sorry. Forgot the world ended last night. Guess everyone's out post-rapture looting.

Re: Issues with BOINC in Fedora

Posted: 21 May 2011, 23:15
by b1o
Try chmod -777 /etc/init.d/boinc-client

if that doesn't work chmod the boink folder the same way.

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:04
by dedanna1029
Thanks.

Edit:

Code: Select all

# chmod -777 /etc/init.d/boinc-client
chmod: invalid option -- '7'
Try `chmod --help' for more information.

W.T.F.

Code: Select all

# chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
  or:  chmod [OPTION]... OCTAL-MODE FILE...
  or:  chmod [OPTION]... --reference=RFILE FILE...
Change the mode of each FILE to MODE.

  -c, --changes           like verbose but report only when a change is made
      --no-preserve-root  do not treat `/' specially (the default)
      --preserve-root     fail to operate recursively on `/'
  -f, --silent, --quiet   suppress most error messages
  -v, --verbose           output a diagnostic for every file processed
      --reference=RFILE   use RFILE's mode instead of MODE values
  -R, --recursive         change files and directories recursively
      --help     display this help and exit
      --version  output version information and exit

Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.

Report chmod bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'chmod invocation'

Well, THAT was helpful....... um, but it's what it said to do, so...

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:13
by viking60
chmod 777 /etc/init.d/boinc-client will give all the rights to boinc-client; read, write, execute, for everyone!

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:31
by dedanna1029
Yeah, but you see what happened when I just did it. I even stopped the client first:

Code: Select all

[root@dedanna dedanna]# /etc/init.d/boinc-client stop
Stopping boinc-client:                                     [  OK  ]
[root@dedanna dedanna]# chmod -777 /etc/init.d/boinc-client
chmod: invalid option -- '7'
Try `chmod --help' for more information.

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:35
by dedanna1029

Code: Select all

# ls /usr/bin | grep boinc
boinc
boinc_client
boinccmd
boinc_gui
boincmgr


I'm wondering if I should try the chmod on /usr/bin/boinc_client.

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:35
by viking60
drop the "-" in front of 777

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:38
by dedanna1029
Ah, okay, was copying/pasting from b1o's code.
Checking it out to see if it worked....

Code: Select all

[root@dedanna dedanna]# chmod 777 /etc/init.d/boinc-client
[root@dedanna dedanna]# exit
exit
[dedanna@dedanna ~]$ /etc/init.d/boinc-client start
Starting boinc-client: Insufficient rights.                [FAILED]


Eeeeeeeeeeeeeeeeeeeeeffffffffffff................. *frustrated

Code: Select all

[dedanna@dedanna ~]$ su
Password:
[root@dedanna dedanna]# chmod 777 /usr/bin/boinc_client
[root@dedanna dedanna]# exit
exit
[dedanna@dedanna ~]$ /etc/init.d/boinc-client start
Starting boinc-client: Insufficient rights.                [FAILED]

:wrf

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:44
by dedanna1029
Okay, so which whole folder do I need to do this to?

Code: Select all

$ whereis boinc
boinc: /usr/bin/boinc /usr/include/boinc /usr/share/man/man1/boinc.1.gz


Edit: Wait. I think I'm gonna uninstall this, and use the file at the site.

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:54
by viking60
Try

Code: Select all

chmod -R 777 /etc/init.d/boinc-client

Re: Issues with BOINC in Fedora

Posted: 22 May 2011, 01:57
by dedanna1029

Code: Select all

[root@dedanna dedanna]# chmod -R 777 /etc/init.d/boinc-client
[root@dedanna dedanna]# exit
exit
[dedanna@dedanna ~]$ /etc/init.d/boinc-client start
Starting boinc-client: Insufficient rights.                [FAILED]


Eff 'em.