mandriva install, im lost

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0
Topic 194624

i used mandriva's package manager to install boinc. boinc manager never connects to the client and /etc/init.d/boinc-client start

results in

[paul@localhost ~]$ /etc/init.d/boinc-client start
The BOINC client requires initialization (no projects attached).[WARNING]
Starting BOINC client as a daemon: Insufficient rights. [FAILED]

note: i am a linux newbie, youl notice an ubuntu host on my account, that no longer exists, i was having too many problems after the new version so desided to give another flavor a try, after almost going insane trying to install gentoo i desided on mandriva.

in other words, go slow please :)

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Michael Karlinsky
Michael Karlinsky
Joined: 22 Jan 05
Posts: 888
Credit: 23502182
RAC: 0

mandriva install, im lost

Hi Paul,

I guess you must be root to do so.

Try "service boinc-client start" as root.

HTH

Michael

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: Hi Paul, I guess you

Message 95466 in response to message 95465

Quote:

Hi Paul,

I guess you must be root to do so.

Try "service boinc-client start" as root.

HTH

Michael

[paul@localhost ~]$ su root service boinc-client start
Password:
bash: service: No such file or directory
[paul@localhost ~]$ su root /etc/init.d/boinc-client start
Password:
The BOINC client requires initialization (no projects attached).[WARNING]
Starting BOINC client as a daemon: [ OK ]
[paul@localhost ~]$

that apparantly started it,, but the manager still shows disconnected. i assume i need the gui_rpc key, any one know where that would be located?

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: RE: Hi Paul, I guess

Message 95467 in response to message 95466

Quote:
Quote:

Hi Paul,

I guess you must be root to do so.

Try "service boinc-client start" as root.

HTH

Michael

[paul@localhost ~]$ su root service boinc-client start
Password:
bash: service: No such file or directory
[paul@localhost ~]$ su root /etc/init.d/boinc-client start
Password:
The BOINC client requires initialization (no projects attached).[WARNING]
Starting BOINC client as a daemon: [ OK ]
[paul@localhost ~]$

that apparantly started it,, but the manager still shows disconnected. i assume i need the gui_rpc key, any one know where that would be located?

found it, but i cant open it. even in ssh as root, i get an "unable to execute binary file" error, even when trying to change my self to the owner of the file temporaraly.

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Gundolf Jahn
Gundolf Jahn
Joined: 1 Mar 05
Posts: 1079
Credit: 341280
RAC: 0

IIRC, you have to cd to the

Message 95468 in response to message 95467

IIRC, you have to cd to the BOINC directory before starting the manager.

The gui_rpc_auth.cfg file is a text file and contains the password for the manager connecting to the client, but normally, the manager finds that by himself. Perhaps you have to link that file to the right directory, but you'll have to look at the respective guides for help, since I'm no unix gui.

Gruß,
Gundolf

Computer sind nicht alles im Leben. (Kleiner Scherz)

ML1
ML1
Joined: 20 Feb 05
Posts: 347
Credit: 86563414
RAC: 2

RE: IIRC, you have to cd to

Message 95469 in response to message 95468

Quote:

IIRC, you have to cd to the BOINC directory before starting the manager.

The gui_rpc_auth.cfg file is a text file and contains the password for the manager connecting to the client, but normally, the manager finds that by himself. Perhaps you have to link that file to the right directory, but you'll have to look at the respective guides for help, since I'm no unix gui.


Wheee...

I've been using Boinc on Mandriva long before anyone added Boinc to the repositories. Great that it's in there now!

... Which also means that it has been added in there as a "service".

The best way to go about things is to use the "Configure Your Computer" GUI. Then select System -> Manage System Services. Boinc will then appear as one of the service items.

I would expect that you should be able to connect to the client from the Boinc Manager icon that will be somewhere in the normal user menus for your desktop. Your first task should then be to select the Boinc "tools" and attach to whatever projects.

If you do need to sniff around as "root", then the trick for that is to open a command line terminal and simply give the command:

su

You will then be asked for the root password and away you go almost completely unfettered by any restrictions.

The Boinc service can be started/stopped with:

service boinc start
service boinc stop

You should also have available:

service boinc status

There's "chkconfig" for controlling what starts up at boot. See:

man chkconfig

for further details.

Back in the world of the GUI, there's a tick box in the "Manage services" GUI that does exactly the same thing to start boinc on system boot up.

Throughout *nix (including linux), there's a common theme where often the GUI underneath just merely issues the same commands that you can type for yourself on the commandline. I guess geeks prefer the commandline in that it is far more expressive and less prone to drunken miss-clicks destroying the system!

Sorry, you'll have to check the docs about how the Boinc gui_rpc works...

(I'm still using my old psuedo-service scripts for controlling Boinc.)

If you're on Mandriva 2010, take the time to have a play with some of the desktop settings. If you change things and find that Firefox/Thunderbird no longer show their scrollbars properly, then go into "Configure Your Desktop" -> Look and Feel -> Appearance -> GTK Styles and Fonts, and click on the "Install Scrollbar Fix". Also select GTK Styles "Use another style" and select a style. Unfortunately, some of the wild KDE styles don't translate over to GTK successfully for Firefox/Thunderbird for the moment.

Good luck!

Happy cool crunchin',
Martin

GUI: Graphical User Interface, aka the pretty pointy-clicky stuff!

aka: Also known as...

See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: RE: IIRC, you have to

Message 95470 in response to message 95469

Quote:
Quote:

IIRC, you have to cd to the BOINC directory before starting the manager.

The gui_rpc_auth.cfg file is a text file and contains the password for the manager connecting to the client, but normally, the manager finds that by himself. Perhaps you have to link that file to the right directory, but you'll have to look at the respective guides for help, since I'm no unix gui.


Wheee...

I've been using Boinc on Mandriva long before anyone added Boinc to the repositories. Great that it's in there now!

... Which also means that it has been added in there as a "service".

The best way to go about things is to use the "Configure Your Computer" GUI. Then select System -> Manage System Services. Boinc will then appear as one of the service items.

I would expect that you should be able to connect to the client from the Boinc Manager icon that will be somewhere in the normal user menus for your desktop. Your first task should then be to select the Boinc "tools" and attach to whatever projects.

If you do need to sniff around as "root", then the trick for that is to open a command line terminal and simply give the command:

su

You will then be asked for the root password and away you go almost completely unfettered by any restrictions.

The Boinc service can be started/stopped with:

service boinc start
service boinc stop

You should also have available:

service boinc status

There's "chkconfig" for controlling what starts up at boot. See:

man chkconfig

for further details.

Back in the world of the GUI, there's a tick box in the "Manage services" GUI that does exactly the same thing to start boinc on system boot up.

Throughout *nix (including linux), there's a common theme where often the GUI underneath just merely issues the same commands that you can type for yourself on the commandline. I guess geeks prefer the commandline in that it is far more expressive and less prone to drunken miss-clicks destroying the system!

Sorry, you'll have to check the docs about how the Boinc gui_rpc works...

(I'm still using my old psuedo-service scripts for controlling Boinc.)

If you're on Mandriva 2010, take the time to have a play with some of the desktop settings. If you change things and find that Firefox/Thunderbird no longer show their scrollbars properly, then go into "Configure Your Desktop" -> Look and Feel -> Appearance -> GTK Styles and Fonts, and click on the "Install Scrollbar Fix". Also select GTK Styles "Use another style" and select a style. Unfortunately, some of the wild KDE styles don't translate over to GTK successfully for Firefox/Thunderbird for the moment.

Good luck!

Happy cool crunchin',
Martin

GUI: Graphical User Interface, aka the pretty pointy-clicky stuff!

aka: Also known as...

thanks, but no, it does not show up in services, and ive been using su. and the manager cant controll the cliant as it cant connect, thus why im trying to get that password.

example.......

[paul@localhost ~]$ cd /var/lib/boinc
[paul@localhost boinc]$ ls
all_projects_list.xml client_state.xml lockfile stdoutdae.txt tmp/
client_state_prev.xml gui_rpc_auth.cfg stderrdae.txt time_stats_log
[paul@localhost boinc]$ su root vi gui_rpc_auth.cfg
Password:
/bin/vi: /bin/vi: cannot execute binary file
[paul@localhost boinc]$ su root chown paul gui_rpc_auth.cfg
Password:
/bin/chown: /bin/chown: cannot execute binary file
[paul@localhost boinc]$

and,,

[paul@localhost boinc]$ ls -l
total 52
-rw-r--r-- 1 boinc boinc 26934 2009-11-13 13:55 all_projects_list.xml
-rw-r--r-- 1 boinc boinc 2304 2009-11-13 13:54 client_state_prev.xml
-rw-r--r-- 1 boinc boinc 2304 2009-11-13 13:55 client_state.xml
-rw------- 1 boinc boinc 32 2009-11-13 13:55 gui_rpc_auth.cfg
-rw-r--r-- 1 boinc boinc 0 2009-11-13 13:54 lockfile
-rw-r--r-- 1 boinc boinc 0 2009-11-13 13:54 stderrdae.txt
-rw-r--r-- 1 boinc boinc 1618 2009-11-13 13:55 stdoutdae.txt
-rw-r--r-- 1 boinc boinc 57 2009-11-13 13:55 time_stats_log
drwx------ 2 boinc boinc 4096 2009-11-13 13:54 tmp/
[paul@localhost boinc]$

even tho i used the GUI to add myself to the boinc group.. so, im still very lost.

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 797759544
RAC: 1218996

RE: su root chown paul

Quote:

su root chown paul gui_rpc_auth.cfg

I think what you wanted to type was:

sudo chown paul gui_rpc_auth.cfg

To execute a command with the su (switch user) command, use the -c option. But for user root, using sudo is more convenient

CU
Bikeman

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: RE: su root chown

Message 95472 in response to message 95471

Quote:
Quote:

su root chown paul gui_rpc_auth.cfg

I think what you wanted to type was:

sudo chown paul gui_rpc_auth.cfg

To execute a command with the su (switch user) command, use the -c option. But for user root, using sudo is more convenient

CU
Bikeman

[paul@localhost boinc]$ sudo chown paul gui_rpc_auth.cfg
Password:
paul is not in the sudoers file. This incident will be reported.
[paul@localhost boinc]$

oy! ya'know i thought installing it via the package manager made this all "automatic" :: sigh :: and ill bet you i cant edit that file via the GUI and ill have to use vi :|

desided to try just the command line

[paul@localhost boinc]$ su root /etc/init.d/boinc-client stop
Password:
BOINC is not running (no lockfiles found). [ OK ]
[paul@localhost boinc]$ boinc --attach_project http://einstein.phys.uwm.edu/
Another instance of BOINC is running

hmm,, im about to give up :|

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 797759544
RAC: 1218996

RE: [paul@localhost

Message 95473 in response to message 95472

Quote:


[paul@localhost boinc]$ boinc --attach_project http://einstein.phys.uwm.edu/
Another instance of BOINC is running

hmm,, im about to give up :|

That should be

boinccmd --attach_project http://einstein.phys.uwm.edu/

(boinc_cmd in earlier versions).

Cheers
Bikeman

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: RE: [paul@localhost

Message 95474 in response to message 95473

Quote:
Quote:


[paul@localhost boinc]$ boinc --attach_project http://einstein.phys.uwm.edu/
Another instance of BOINC is running

hmm,, im about to give up :|

That should be

boinccmd --attach_project http://einstein.phys.uwm.edu/

(boinc_cmd in earlier versions).

Cheers
Bikeman

thanks. i noticed the version from the package manager was from 2008 so i uninstalled it.. going to "try" and install manually tho i cant seem to find a step by step how to, so this should be fun :)

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.