BOINC v6.2.14 Install on Ubuntu Problems !!!

Message boards : BOINC client : BOINC v6.2.14 Install on Ubuntu Problems !!!
Message board moderation

To post messages, you must log in.

AuthorMessage
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 18960 - Posted: 31 Jul 2008, 9:15:15 UTC

Okay, I'm trying to install the new BOINC Client Version 6.2.14 on a PC with Ubuntu 8.04 without much success, I already have BOINC Client v5.10.45 running on the PC just fine for the last couple of months.

Below is the commands I'm using and the results I get when trying to install the v6.2.14 BOINC Client.

poorboy@PBOYZTOY4L:~$ sudo /etc/init.d/boinc-client stop
* Stopping BOINC core client: boinc_client [ OK ]
poorboy@PBOYZTOY4L:~$ sudo -i
root@PBOYZTOY4L:~# sudo aptitude install boinc-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been kept back:
ubuntu-tweak
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
root@PBOYZTOY4L:~# sudo /etc/init.d/boinc-client start
* Starting BOINC core client: boinc_client [ OK ]
* Setting up scheduling for BOINC core client and children: [ OK ]
root@PBOYZTOY4L:~#

At this point BOINC re-starts but it's still BOINC v5.10.45 as the message below indicates ...

Thu 31 Jul 2008 04:57:17 AM EDT||Starting BOINC client version 5.10.45 for x86_64-pc-linux-gnu

Soooooo I have no idea whats going on or if the new v6.2.14 is installed somewhere else in the System or what ... ???
ID: 18960 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 18963 - Posted: 31 Jul 2008, 10:06:08 UTC

Is the new version in the repositories yet? Just because Berkeley released a new version doesn't mean that the package maintainers have picked it up, built the package, tested it and released it into the wild.

You'll need to bug the Ubuntu people about it.


As an aside, this is why I like installing BOINC myself. No depending on someone else for the latest and greatest. What you're reporting is the exact reason I'm still on Firefox 2. The Fedora folks made the decision not to put FF3 anywhere but F9 and up. I'm on F8 and not itching to upgrade yet.
Kathryn :o)
ID: 18963 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 18966 - Posted: 31 Jul 2008, 10:28:48 UTC - in response to Message 18963.  

Is the new version in the repositories yet? Just because Berkeley released a new version doesn't mean that the package maintainers have picked it up, built the package, tested it and released it into the wild.

You'll need to bug the Ubuntu people about it.


I'm not bugging anybody about it because I don't really care if I install it or not, I just thought I'd give it a try on 1 Box to see what it looked like. Berkeley shouldn't even be releasing the the thing if it can't be installed on Linux yet so people don't waste their time trying to install it ... :)
ID: 18966 · Report as offensive
Chris
Avatar

Send message
Joined: 1 Jun 07
Posts: 36
Message 18968 - Posted: 31 Jul 2008, 10:57:15 UTC

I tried it several times on Ubuntu 8.04/8.10-alpha:


1. Put the .sh file in a temporary directory
2. run chmod ugo+x on it and execute it
3. cd BOINC
4. copy the core client, manager and boinccmd to /usr/bin and look if the file names are the same as in the Ubuntu/Debian init script.
5. copy the 6.2.14 /locale directory to /var/lib/boinc-client/
6. change owner and rights
7. the icons of 5.10.45. should also work with 6.2.14
8. test if the symbolic link to ca-bundle.crt is working


ID: 18968 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 18969 - Posted: 31 Jul 2008, 10:58:43 UTC - in response to Message 18966.  

Is the new version in the repositories yet? Just because Berkeley released a new version doesn't mean that the package maintainers have picked it up, built the package, tested it and released it into the wild.

You'll need to bug the Ubuntu people about it.


I'm not bugging anybody about it because I don't really care if I install it or not, I just thought I'd give it a try on 1 Box to see what it looked like. Berkeley shouldn't even be releasing the the thing if it can't be installed on Linux yet so people don't waste their time trying to install it ... :)


It does install on Linux just fine. I'm running it right now. Repository maintainers are separate from Berkeley. I used Eric's directions and have not had a problem.
Kathryn :o)
ID: 18969 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 18970 - Posted: 31 Jul 2008, 11:06:44 UTC - in response to Message 18969.  
Last modified: 31 Jul 2008, 11:07:37 UTC

It does install on Linux just fine. I'm running it right now. Repository maintainers are separate from Berkeley. I used Eric's directions and have not had a problem.


Both yours & Chris's suggestions are much appreciated, but the problem is I suspect a lot if not most Linux users are like me, complete idiots when it comes to trying to do anything with Linux. Soooooooo most of Erics & Chris's directions don't mean anything to me because I don't have a clue to what their talking about with a lot of the directions.

If thats whats it's going to take to install 6.2.14 then I'll have to wait until it can be done by the Upgraded method thru the Ubuntu repositories as will most other people if it ever gets that far even ... :)
ID: 18970 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 18975 - Posted: 31 Jul 2008, 12:17:12 UTC
Last modified: 31 Jul 2008, 12:23:07 UTC

6.2.14 can be installed on Linux and it will work once installed. I know because I installed it and it works and it's worked for several other people too. The only reason it's not working for you is because you're using the wrong installer. The installer you want doesn't exist yet. KSMarksPsych tried to explain that to you but it went zing... right over your head.


I guess that's why I'm Bald, everything goes right over my head &, must scrape my head as it goes over ... ;) ... It's no big deal, I just though maybe there was another Command that needed to be used to get it to install. Personally I don't know enough about Linux to be jumping thru hoops to get it installed & I can live with what I have now ... :)
ID: 18975 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 18976 - Posted: 31 Jul 2008, 12:23:31 UTC - in response to Message 18970.  
Last modified: 31 Jul 2008, 12:24:54 UTC

It does install on Linux just fine. I'm running it right now. Repository maintainers are separate from Berkeley. I used Eric's directions and have not had a problem.


Both yours & Chris's suggestions are much appreciated, but the problem is I suspect a lot if not most Linux users are like me, complete idiots when it comes to trying to do anything with Linux. Soooooooo most of Erics & Chris's directions don't mean anything to me because I don't have a clue to what their talking about with a lot of the directions.

If thats whats it's going to take to install 6.2.14 then I'll have to wait until it can be done by the Upgraded method thru the Ubuntu repositories as will most other people if it ever gets that far even ... :)



Well......... I started as a complete idiot. I've graduated to just an idiot :-)

Seriously... take Eric's directions step by step. It is quite doable if you want to. Ask any questions that you have. If Dag or I don't have an answer, then we know how to find the answer.

I suspect that most people are going to want to wait for the package maintainers to catch up. And that's fine.

FWIW, 5.10.45 will continue to work just fine (unless a project sets a minimum version of 6.x.y), so upgrading isn't an urgent thing. The big changes were for Windows.

[edit]Yes, I am an English teacher, which is why I have to go back and fix grammar errors.[/edit]
Kathryn :o)
ID: 18976 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19017 - Posted: 1 Aug 2008, 3:03:09 UTC
Last modified: 1 Aug 2008, 3:04:23 UTC

Okay, I did get v6.2.14 installed but I didn't like where it was installed so I uninstalled it & then re-installed it to the Home Directory where I don't need any Permissions to do anything to the files and it will make it easier the next time I want to upgrade the BOINC Client ...

I actually have 2 version of BOINC installed right now so I need to do a little work to see if I can't move files from the old v5.10.45 Directory to the new v6.2.14 Directory, if not I'll just run out the Wu's and leave the v5.10.45 where it's at in case I don't like the v6.2.14 and need to go back to it again ... :)

The following instructions are kinda a mixture of Brian's & Ananas's Tips @ the Cosmology Project whom I thank for getting me pointed in the right direction anyway so I could get it installed & Instructions I picked up from several Forums and I found a mixture that worked for me anyway ...

1. Actually, your best bet is to download the BOINC client script from the BOINC website & put it into your home directory.

Then open the Terminal NOTE: You don't have to be in the root to install this way ...

2. Then, enter > chmod a+x boinc_6.2.14_x86_64-pc-linux-gnu.sh < to set the executable permission on the script

3. Then enter > ./boinc_6.2.14_x86_64-pc-linux-gnu.sh < to perform the installation

4. Then when you want to run BOINC, just enter > cd BOINC < and then enter > ./run_manager <

Doing it this way solves five problems.

1) You're not at the mercy of the Ubuntu package maintainers to always have an up-to-date BOINC client.

2) You won't need "root" privileges to either run or install it.

3) This also makes the project file directory easier to find.

4) You don't have to spend time trying to figure out how to use Aptitude, Synaptic, or apt-get. (Well, eventually you will, if you become a Penguin convert. But, for now, there's no need for that.)

5) Client and manager both get installed at the same time this way, so you won't get that pesky "can't talk to a client" error.

When a new BOINC client gets released, just repeat the installation process with the new installation script. The old client will get upgraded, your settings and project files will remain intact.

-------------------------------------------------------------------------------
Ananas's way will work to with the added commands to start boinc up:

You can use the following 3 commands to get the gnu.sh & install BOINC but it installs it to the computer:/root/boinc directory & you will need Permissions which are hard to get to do anything with the File or folders ...

$ wget http://boincdl.ssl.berkeley.edu/dl/boinc_6.2.14_x86_64-pc-linux-gnu.sh
$ chmod +x boinc_6.2.14_x86_64-pc-linux-gnu.sh
$ ./boinc_6.2.14_x86_64-pc-linux-gnu.sh

Then Use the following Commands to start the BOINC Client

$ cd BOINC
$ ./run_manager
ID: 19017 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 19026 - Posted: 1 Aug 2008, 11:06:48 UTC - in response to Message 19017.  

I actually have 2 version of BOINC installed right now so I need to do a little work to see if I can't move files from the old v5.10.45 Directory to the new v6.2.14 Directory, if not I'll just run out the Wu's and leave the v5.10.45 where it's at in case I don't like the v6.2.14 and need to go back to it again ... :)



You can move projects and work-units from old to new installation:

1) Stop any/both boinc

2) From old installation, copy the following: client_state.xml, account_*.xml, gui_rpc_auth.cfg and remote_hosts.cfg to the root of new installation (that's where the new binaries are).

3) You need to copy (recursively) also the following: slots and projects - these are file folders. Destination of these folders is again root of the new installation.

4) Make sure that account that will run boinc has read and write permissions on all the new files (special care needs to be taken for those you've copied in steps 2 and 3).

5) start the new boinc


A side note: I try not to fiddle with start-up scripts etc. too much. So I rather start boinc CC from cron job every 5 minutes or so. The process is not straight though as usually it's not safe to blindly start new boinc instance while another one is already running.
Metod ...
ID: 19026 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19029 - Posted: 1 Aug 2008, 12:10:42 UTC - in response to Message 19026.  

I actually have 2 version of BOINC installed right now so I need to do a little work to see if I can't move files from the old v5.10.45 Directory to the new v6.2.14 Directory, if not I'll just run out the Wu's and leave the v5.10.45 where it's at in case I don't like the v6.2.14 and need to go back to it again ... :)



You can move projects and work-units from old to new installation:

1) Stop any/both boinc

2) From old installation, copy the following: client_state.xml, account_*.xml, gui_rpc_auth.cfg and remote_hosts.cfg to the root of new installation (that's where the new binaries are).

3) You need to copy (recursively) also the following: slots and projects - these are file folders. Destination of these folders is again root of the new installation.

4) Make sure that account that will run boinc has read and write permissions on all the new files (special care needs to be taken for those you've copied in steps 2 and 3).

5) start the new boinc


A side note: I try not to fiddle with start-up scripts etc. too much. So I rather start boinc CC from cron job every 5 minutes or so. The process is not straight though as usually it's not safe to blindly start new boinc instance while another one is already running.


Yes, I managed to get the 6.2.14 running with the Projects & remaining Wu's intact awhile ago by just basically just copying all the old Files & Folders from the old locations. I've done this many times with Windows so I had a good idea of what are the main things that need to be transfered.

Everything transfered except for the setiathome.edu Folder, no matter what I tried it refused to give me Permission or Ownership of the Folder so I could copy it to the new location. It didn't have any Wu's in it so I just left it and re-attached to SETI again with the new client.

I'll leave the old client where it is for now though in case I want to go back to it. One thing I did notice is that the Benchmarks are a lot Lower with the 6.2.14 client than what they were with 5.10.45 client ... !!!
ID: 19029 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19036 - Posted: 1 Aug 2008, 15:00:20 UTC
Last modified: 1 Aug 2008, 15:04:33 UTC

Dagorath, do you know how to make a script & if I gave you the commands for the script & what it was for could you make me a couple & tell me where to put them ... ???

Also why doesn't a Link for the BOINC Manager work like it should when I try to use it, the Manager opens up but nothing happens after that ???
ID: 19036 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19055 - Posted: 2 Aug 2008, 0:41:40 UTC - in response to Message 19050.  
Last modified: 2 Aug 2008, 1:19:21 UTC

Dagorath, do you know how to make a script & if I gave you the commands for the script & what it was for could you make me a couple & tell me where to put them ... ???

Also why doesn't a Link for the BOINC Manager work like it should when I try to use it, the Manager opens up but nothing happens after that ???


I'll try to make the script(s) for you. If I can't do it then I'm sure there are others here who can help out. Is it for Linux or Windows? What are the commands? What do you need it to do?

Does the manager give any error messages when it opens? In the status bar (bottom right hand corner) does it say Connected or Disconnected?


hehe ... Your to slow, must have less hair on your hrad than me even ... hahahahah ... ;)

I already figured out how to make the Scripts I wanted & then Convert them into Launchers from the Top Panel. They were for Linux to Stop & Start the Boinc Client with 1 Click from the Top Panel, I also figured out a Script to Auto Start Boinc when re-booting.

I wanted that because we get a lot of Thunderstorms in the Area and they can kick out the Power for just a millisecond but it's enough to re-boot several of the Box's that don't have a Backup Power Supply for. All I had to do was put a small Script in the /etc/rc.local file and I was good to go without changing anything else ... :)

Sooooo all thats left for me to figure out is a Launcher for the boincmgr, so far the best I've been able to do is create a Launcher for the Entire BOINC Folder & then Double Click on the boincmgr in the folder to get it to work right.

If I try anything else like a Link placed on the Desktop or a Launcher from the Top Panel the boincmgr opens up but won't show anything even though the client is running. It can say either, Disconnected or Connecting but it never does connect ... ppffftttt managers ... :)

I'm just using this Box for a test bed for the new Clients as they come out, I plan on staying with 5.10.45 on the other Box's for now but want to get my ducks in a row so I know what I'm doing with Linux a little bit more, so when I have to do the other Box's I'll be able to with less hassle ... :)

PS: LOL ... Belay that need for a Launcher for the boincmgr, something else was in the BOINC Folder all the time that I could use but I never noticed it. I did a little google searching and came up with something called a run-manager file & the commands to put in it.

But when I tried to add it to the BOINC Folder it told me the file was already there. So I took a look at it & it had the commands already in the file all I had to do was create a Launcher from that file, I did & it worked fine ... :)
ID: 19055 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19074 - Posted: 2 Aug 2008, 11:04:41 UTC - in response to Message 19061.  
Last modified: 2 Aug 2008, 11:30:35 UTC

PoorBoy, just a few posts ago you mentioned how difficult Linux is for newbies. Now you're installing, typing commands and scripting like a pro :) Well done!


haha ... It is difficult for newbies unless your willing to spend a great deal of time Goggling for information, thats about the only thing I've really learned about Linux so far. Anybody can type a Command or Script if somebody else posts it somewhere ... ;)

I think the main problem for Newbies is when they come into a Forum asking Questions the more Learned Linux People in the Forum just assume that the Newbie actually knows something about Linux Commands & stuff when in fact they don't know piddly squat most times.

When somebody told me the 1'st time something like cd boinc the first thing I thought of was making a CD & putting the Boinc Installation files on it ... LOL ... Little did I know. Or when somebody told me to chmod something it didn't mean anything to me because I didn't have a clue what they were talking about & just moved on to another Forum until I could find somebody that talked in Linux for Dummy Terms ... :)

Therein lies the problem for Linux Newbies, the responses they get for the Questions they ask are way to Vague most of the time & go right over their heads like you said. People tell you to do this & this & that & your sitting there scratching your rearend wondering what the heck are they talking about, we're not all Rocket Scientists out here, some of us are Linux Newbies just trying our best to get Linux spelled right ... ;)

What I did yesterday, Install v6.2.14 Of Boinc, Transfer a few files, Create a few Scripts to place in the folders & Create essentially a few Icons on the Desktop took me from about 4:30AM until 10:00PM. So thats what 15.5 Hours, subtract maybe 6 hours of that for other things I was doing & you still have 9.5 hours I spent diddling around @ the Computer doing Linux research on Goggle while trying different Commands & Scripts until I found the right combinations.

I could have done the same thing in Windows in under 30 Minutes while eating a 7 Course Dinner ... LOL

Are you familiar yet with the top command? Top is Table of Processes, shows all the processes running on your Linux system, the resources they're using and other info, similar to Windows Task Manager. Top will show which science apps are running, for diagnostic purposes.


Thanks, & No I wasn't aware of that command but made note of it. Ubuntu 7.10 & 8.04 anyway have a built in Utility called System Monitor that you can have placed on the Desktop or Top Panel. It shows everything the top command does & more & it does it in a much more graphical way too ... Ubuntu also has other Utilities called Hardware Sensors Monitor & a CPU Frequency Scaling Monitor.

What they do is give you your CPU Temp, each core actually which is handy for Quad Cores, also if you have a NVidia Video Card installed it gives you the Temp of that too. the CPU FS Monitor gives you your actual CPU Speed and not just the Supposed Stock Speed so that comes in handy for Over Clockers to know the actual CPU speed ...

I'm almost certain the reason the manager wasn't connecting is because you were not running it from the same directory as the client. The run_manager script cures that by setting the current directory to the BOINC directory before launching the manager.

Another way is to create a link (shortcut) on your desktop with link /home/poorboy/BOINC/boincmgr /home/poorboy/Desktop. That link points back to the BOINC directory so the manager will connect to client when you click on the link. You can abbreviate the command with the tilde (~) because tilde means your home directory. The abbreviated way is link ~/BOINC/boincmgr ~/Desktop.


You may be right but I was creating the Link or Launcher right from the boincmgr in the /home/poorboy/BOINC Folder so it should have been pointing to the right place I would think.

I also cheked the Properties of the Link or Launcher I was trying to create and it showed that they pointed to the right place too.

Anyway I made note of your "Another way is to create a link (shortcut) on your desktop" suggestion to try in the future in the event I need to.

P.S. The link you created (the one that did not work)... did you create that by dragging the boincmgr icon from the BOINC dir to the desktop? If so, that works in Windows but it doesn't seem to work in Linux, at least not on Fedora 5. Using the link command works though.


No, dragging a boincmgr Link from the BOINC Folder doesn't work in Ubuntu 8.04 either, actually I'm not real sure how I did it other than I ran across a post about Script called > run_manager to put in the BOINC Folder in the event the Boincmgr Link put in the Applications/System Tools Menu in the Top Panel when installing BOINC doesn't work properly.

So I created the run_manager Script & attempted to put it in the BOINC Folder but got an error while trying to. The error basically said the file was already in the folder & would I like to replace it.

So I looked & sure enough the file was there & it contained the same Script Message as the one I was trying to put in the Folder. So I don't know if I actually put it there & I just got a courtesy error from Linux or the file really was there already.

It's something I'll have to keep an eye out for in the future when I try to install 6.2.14 again on another box to see if 6.2.14 installs the file or what because the file isn't in the 5.10.45 Folders on some other Box's I checked on to see if it was in the BOINC Folder or not.

PS: Looks like I have my work cut out today to, I noticed 1 Linux Box down yesterday after it had been down for about 7 hours already. I had to do a Repair Boot on it to get it running again.

I just noticed it went down again a few minutes ago & a Repair Boot isn't working on it this time. The 1'st time I tried the RBoot it stopped during the boot saying something about a Kernel Panic & it was trying to Kill something. So I had to finally Manually re-boot it again & it hung again only this time @ the Grub Loader saying "Grub Loading, please wait ... Error 17" ... D'oh, okay whatever Mr. Grub ... haha

Soooooo I'll probably be busy taking Linux back out of that Box & putting it back in later this morning which is a real pain in the butt because it screws up the Partitions so much when installing it.

But right now I'm going to go use the Treadmill for a little while because I missed yesterday messing with Linux & I don't want to miss out today because of it ... I Just Love Linux ... NOT ...LOL
ID: 19074 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19086 - Posted: 2 Aug 2008, 16:52:33 UTC
Last modified: 2 Aug 2008, 16:58:51 UTC

The Berkeley installer (the installer you used to install 6.2.14) doesn't put any links on the Applications/System Tools menu to avoid having to deal with the way different distros and desktops handle the System Menu and because lots of Linux users don't even have a desktop anyway. Berkely provides just a simple install in an effort to make it work on as many flavors of Linux as possible, not easy to do. The apt installer you used to install 5.10.45 likely created that link.


No it doesn't put a link in the Applications/System Tools menu when installing the Client in the home directory, neither does 5.10.45 because i just intalled it the same way on the Box that was down, so you have to create link to the run_manager. I must have just copied it from the old directory when transferring files.

Huh? You don't have a wireless keyboard and monitor duct taped to the railing on the treadmill ;)

I can't say for sure what grub is complaining about. I have one idea and it's not very good but ya never know.


I tried different things but had to do what I knew I would probably have to do all along, reinstall Linux. Actually I lost Windows too because thats what usually happens when Dual Booting, both OS's get Toasted if the wrong thing goes wrong. The Hard drive is a mess right now but it's running Linux Solo for right now, I'm going to let it run that way cause I don't need Windows on that Box anyway & I can see if it's going to stay running that way.

In a previous post you said you put commands in /etc/rc.local to auto-start the client at boot time. I tried that last night too and experimented a little with it. One way (the wrong way) I tried caused the Desktop to hang. The right way (at least it works here on Fedora 5) is to put the following in /etc/rc.local:

cd /home/<my username>/BOINC
./boinc --daemon

Note the --daemon option. That causes boinc to run as a separate process in the background and to direct output to the familiar log files (stdoutdae.txt, etc.) Without the --daemon option, boinc runs in the boot process which then keeps the boot process alive which in turn seems to prevent the desktop from running. And since the boot process doesn't take keyboard/mouse input the result is a machine you can't interact with. All you can do is hit the reset button, boot to a command line and add the --daemon option to the boinc command.

So my question is... Are you using the --daemon option in /etc/rc.local? If not then it may be hanging your desktop too which grub somehow detects and reports as error 17. Not a good theory because grub likely terminates after it starts the boot process but it's the only theory I have. Don't expect it to hold much water :)


I'm not having the problems with the Box I installed 6.2.14 on, it's another Box that hanging before it gets to the Grub Loader.

This is what my /etc/rc.local looks like though on the Box I installed 6.2.14 in the Home Directory:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

if [ -x /home/poorboy/BOINC/boinc ]
then
echo "Starting BOINC in 10 seconds ..."
( cd /home/poorboy/BOINC; sleep 10; sudo -u poorboy ./boinc --daemon --allow_remote_gui_rpc ) &
fi

exit 0
ID: 19086 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 19092 - Posted: 2 Aug 2008, 19:22:03 UTC - in response to Message 19083.  
Last modified: 2 Aug 2008, 20:01:05 UTC

Hmmm. Launcher must be a Ubuntu term and I don't know Ubuntu speak. I do know there are basically 2 different types of links in Linux: symbolic links and soft links but I don't really know the ins and outs...

I always thought that symbolic links are the soft links and the other ones (only available within one file system) are called hard links. But since I've been out of unix for years (as mentioned elsewhere :-), maybe my memory plays tricks on me.

Gruß,
Besserwisser (formerly known as Gundolf :-)
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 19092 · Report as offensive
STE\/E

Send message
Joined: 9 Aug 07
Posts: 129
United States
Message 19093 - Posted: 2 Aug 2008, 20:34:25 UTC
Last modified: 2 Aug 2008, 20:43:51 UTC

This is what my /etc/rc.local looks like though on the Box I installed 6.2.14 in the Home Directory:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

if [ -x /home/poorboy/BOINC/boinc ]
then
echo "Starting BOINC in 10 seconds ..."
( cd /home/poorboy/BOINC; sleep 10; sudo -u poorboy ./boinc --daemon --allow_remote_gui_rpc ) &
fi

exit 0


I should have mentioned you can change that sleep 10; to whatever you want, all thats doing is allowing the Network 10 seconds to get working so Boinc doesn't complain about not having a Network Connection, I figured since I have Cable 10 Sec's was a long enough delay ... :)

A Ubuntu Launcher is just about anything you can Drag to the Top Panel, you can then make some setting changes for it like change the Icon for it mainly, name it & then with 1 Click Start or Stop or Open up whatever the Launcher was intended to do.

That was the the purpose really in making the Scripts to Start & Stop BOINC with 1 Click from the Desktop rather than having to open the Terminal and type some commands, just a time save deal really.

It's actually a lot like a Windows Quick Launch where you place Icons and with 1 Click you can Open an Application or Program up with the Icon ... :) ... Kewl to have really.
ID: 19093 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 19103 - Posted: 2 Aug 2008, 23:53:26 UTC - in response to Message 19094.  

I think symlink = soft link. And the other sort is a hard link. I've not totally solidified the differences in my mind. I just know I've never had the need for a hard link.


Yes, learning another language is difficult. Linux is like learning to speak geek. I think you're doing really well. Must better than I was at that point in time. I was still having panic attacks thinking about doing anything other than pointing and clicking. Writing scripts was completely removed from what I thought I could do.

I have my own battles to wage with grub if I ever want to use my Kubuntu partition again (without, of course reinstalling Kubuntu). But that's low on my list of priorities right now. It's not that it's hard, it's just a minor pain. There's always the possibility of really screwing things up, but it's not like I haven't done that before (yes, I did render my system unbootable at least twice).

Actually, in an ideal world, I'd have another 2 weeks of vacation. I could fix grub. Then build Sugar (the desktop environment the XO uses) and the activities that go along with it. I'd like to use their Logo activity with one of my classes. But since it took me a week to actually get BOINC (manager + core client) to build, I don't think Sugar is a weekend project....



PoorBoy. Just want to say, you're doing a great job!
Kathryn :o)
ID: 19103 · Report as offensive
Profile MEX
Avatar

Send message
Joined: 23 Sep 05
Posts: 54
Austria
Message 19129 - Posted: 3 Aug 2008, 15:14:24 UTC - in response to Message 19103.  

... Then build Sugar (the desktop environment the XO uses) and the activities that go along with it. I'd like to use their Logo activity with one of my classes. But since it took me a week to actually get BOINC (manager + core client) to build, I don't think Sugar is a weekend project...
Because of Sugar, and the fact that installing Ubuntu 8.04 wont work on my PS3, I changed from Ubuntu to f9 and have similar problems with BOINC & f9 in topic http://boinc.berkeley.edu/dev/forum_thread.php?id=2896

Have you managed to use Sugar on your computer until now ?
As the PS3 only has 256 MB RAM, I intend to use Sugar with f9 on my PS3 & notebook too :D

Using Sugar (or no GUI at all) wont be necessary on my notebook, as the GUI is wasting less than 10% of the performance ( compared to more than 30% performance back in the good old days when I used CLASSIC SETI@home with Linux on my much slower old PC ), but for my PS3 Sugar is necessary and as the OS of the XO is derived from Fedora, I intend to use f9 on all my computers.

MfG, MEX

0xFF
ID: 19129 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 19131 - Posted: 3 Aug 2008, 16:14:17 UTC - in response to Message 19129.  

Have you managed to use Sugar on your computer until now ?
As the PS3 only has 256 MB RAM, I intend to use Sugar with f9 on my PS3 & notebook too :D

MfG, MEX


I've not tried to build it. Gotta do battle with grub first. If I'm going to experiment, it's going to be over on Kubuntu. I'm not messing up my Fedora install.

I did download a Live CD that has an install option. If I'm remembering right, it's Xubuntu with an option to use Sugar. I'm not a debian fan, so I'd prefer to stick with something redhat-ish. In the grand scheme of things, it wouldn't be a day to day thing, so I might even be able to get away with a VM. It's going to take some experimenting to figure out what I'm going to do.
Kathryn :o)
ID: 19131 · Report as offensive

Message boards : BOINC client : BOINC v6.2.14 Install on Ubuntu Problems !!!

Copyright © 2022 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.