Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 40
Posts: 40   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 7562 times and has 39 replies Next Thread
ericinboston
Senior Cruncher
Joined: Jan 12, 2010
Post Count: 265
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

You can turn on debug mode in cc_config.xml might give you info

Make sure time is set correctly too.


I performed this command: find . cc_config.xml and after scouring the entire drive, it found no such file.

I typed: pwd to confirm I am in the / folder which should be the top layer of the drive.
----------------------------------------

[Oct 14, 2018 3:29:18 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

From what I am reading on the web it is installed in /home but I am seeing BOINC .BOINC boinc. Linux is caps sensitive and they matter. So cd to /home and do a ls -la and see if you see some variation of boinc listed. That will be the boinc home directory. I guess all files are installed there.

If all you want is to run boinc it would be easier and more straightforward to use a distro that has support for boinc in the repositories. Debian or a debian based distro like Ubuntu or Mint are very straight forward is installing and setting up boinc.
[Oct 14, 2018 3:41:41 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

If you can find the cc_config.xml file change the 0 to 1 on these lines:
<cc_config>
<log_flags>
<http_debug>1</http_debug>
<http_xfer_debug>1</http_xfer_debug>
</log_flags>
</cc_config>

Or if not create the file and place it in the data directory which should be the boinc home directory. This will put a lot more info in the logs.
[Oct 14, 2018 3:54:22 AM]   Link   Report threatening or abusive post: please login first  Go to top 
ericinboston
Senior Cruncher
Joined: Jan 12, 2010
Post Count: 265
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

If all you want is to run boinc it would be easier and more straightforward to use a distro that has support for boinc in the repositories. Debian or a debian based distro like Ubuntu or Mint are very straight forward is installing and setting up boinc.


I can spin up Ubuntu 18.0.4 (or numerous other Linux systems)...but they are all command-line-only.

I don't see exact install steps for BOINC on Ubuntu at https://boinc.berkeley.edu/wiki/Installing_BOINC or https://boinc.berkeley.edu/wiki/Installing_BOINC

All I see are how to "build" BOINC which in my mind is how to compile software and then go run it.

Any Ubuntu step-by-steps for installing BOINC would be much appreciated.

Thanks for your other input!
----------------------------------------

----------------------------------------
[Edit 1 times, last edit by ericinboston at Oct 14, 2018 4:15:38 AM]
[Oct 14, 2018 4:11:12 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

sudo apt-get install boinc

I have spent the last 30 minutes trying to get boinccmd to do anything and all I get are Authorization failure: -155

I have tried as instructed on boinc and WCG web sites and many variations and get same result. confused
----------------------------------------
[Edit 1 times, last edit by poppageek at Oct 14, 2018 4:24:13 AM]
[Oct 14, 2018 4:22:23 AM]   Link   Report threatening or abusive post: please login first  Go to top 
ericinboston
Senior Cruncher
Joined: Jan 12, 2010
Post Count: 265
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

sudo apt-get install boinc


sounds easy! I will give it a whirl and write back.

THANK YOU!
----------------------------------------

[Oct 14, 2018 4:23:57 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

I edited my post above. I too cannot get boinccmd to work???
[Oct 14, 2018 4:25:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

I had to sudo su to root and then it works fine.
[Oct 14, 2018 4:33:16 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

OK something must be messed up on Ubuntu PC I was trying that on, only worked as root. Just tried it on Mint box and ran fine as user. Even added user to boinc group and no dice, on Ubuntu.

boinccmd --lookup_account https://www.worldcommunitygrid.org username password
[Oct 14, 2018 4:42:30 AM]   Link   Report threatening or abusive post: please login first  Go to top 
ericinboston
Senior Cruncher
Joined: Jan 12, 2010
Post Count: 265
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

...Just tried it on Mint box and ran fine as user. Even added user to boinc group and no dice, on Ubuntu.

boinccmd --lookup_account https://www.worldcommunitygrid.org username password


Ok...I got a lot farther this time! I did:

sudo apt-get install boinc
systemctl enable boinc-client
systemctl start boinc-client
boinccmd --lookup_account https://www.worldcommunitygrid.org ericinboston <password>


and after the account lookup command it returned:

status: Success
poll status: operation in progress
poll status: operation in progress
account key: <my non-weak key>


I then did:

boinccmd --project_attach https://www.worldcommunitygrid.org <my non-weak key>

and it appeared to attach (there was no success or error code so I ran the command again and it said I was already attached. I visited my Device Stats on WCG and I see the new system with 0 returns so everything seems to have at least registered.

So now that it seems to be enabled and connected with my account/key...how do I get it to:

1)Run 24x7 at full cpu cycles and the networking available 24x7
2)Automatically start BOINC after reboot (this isn't a huge concern but would be nice)

I did look at: https://boinc.berkeley.edu/wiki/Boinccmd_tool and ran a few of the commands to see stats and ensure tasks were running...but not sure if these settings such as the boinccmd --set_run_mode always command will take place again after a reboot...are these settings being written to a file or do I have to to a boinccmd --set_run_mode always after every reboot? I noticed I did the boinccmd --set_run_mode always and then 10 mins later when I checked on the tasks they were all SUSPENDED...I ran the boinccmd --set_run_mode always command again and they are all now EXECUTING.


Thank you all so much! I greatly appreciate the help!!
----------------------------------------

----------------------------------------
[Edit 2 times, last edit by ericinboston at Oct 15, 2018 12:26:30 AM]
[Oct 15, 2018 12:14:34 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 40   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread