CC 4.21 as a service

Message boards : Number crunching : CC 4.21 as a service
Message board moderation

To post messages, you must log in.

AuthorMessage
keputnam
Volunteer tester

Send message
Joined: 2 Jul 99
Posts: 242
Credit: 2,736,564
RAC: 3
United States
Message 79652 - Posted: 15 Feb 2005, 17:46:38 UTC
Last modified: 15 Feb 2005, 17:49:37 UTC

Did I miss something?

I decided to try cc4.21 on one of my W2K machines. Since I run v4.19 as a service with no problems, thought that I'd do the same with v4.21

So I created an account for the service to run as (after I got far enought with the install to see the data entry box for user-id, gave setup the appropriate ID and password, was told that it had been granted "Logon as a Service" rights, and setup continued.

When setup finished, the BoincManager started, and TaskMgr and the Services applet showed the boinc service running, but getting no time. Boinc Manager said it couldn't find BOINC on my PC.

So I uninstalled, and re-installed as a service, but running as my admin account (the one I used for the install), which appears in the ID box during setup.

Again, confirmation that "Logon as a Service" had been granted, and setup completed. Again, the service was running, but this time getting CPU time and BoincManager and BoincView could both find Boinc.

Since when does any service HAVE to run as the user-id that installs it?



ID: 79652 · Report as offensive
Profile Saenger
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2452
Credit: 33,281
RAC: 0
Germany
Message 79655 - Posted: 15 Feb 2005, 17:49:59 UTC

Hello Kenn,
you've made a mistake by taking 4.2x as the follow-up of 4.1x. They count in a very different way in Berceley;-)
It's the follow-up of 4.66. Read this thread. for explanations.
Gruesse vom Saenger

For questions about Boinc look in the BOINC-Wiki
ID: 79655 · Report as offensive
keputnam
Volunteer tester

Send message
Joined: 2 Jul 99
Posts: 242
Credit: 2,736,564
RAC: 3
United States
Message 79656 - Posted: 15 Feb 2005, 17:54:10 UTC - in response to Message 79655.  

> Hello Kenn,
> you've made a mistake by taking 4.2x as the follow-up of 4.1x. They count in a
> very different way in Berceley;-)
> It's the follow-up of 4.66. <a> href="http://setiweb.ssl.berkeley.edu/forum_thread.php?id=11457">Read this
> thread.[/url] for explanations.
>

I understand that v4.2 is a whole new inter-face, and I like the ability to monitor other boinc machines (tho I do like the ability to see multiple machines at the same time (eg BoincView better)

My complaint is that I cannot create an account for the service to "Run As", but am forced to let it run as my Adminstrator account. Maybe I had security drummed into me too much, but I was taught that you NEVER use the administrator account for anything but administration.

ken



ID: 79656 · Report as offensive
keputnam
Volunteer tester

Send message
Joined: 2 Jul 99
Posts: 242
Credit: 2,736,564
RAC: 3
United States
Message 80372 - Posted: 17 Feb 2005, 19:21:22 UTC - in response to Message 79656.  

> > Hello Kenn,
> > you've made a mistake by taking 4.2x as the follow-up of 4.1x. They count
> in a
> > very different way in Berceley;-)
> > It's the follow-up of 4.66. <a>
> href="http://setiweb.ssl.berkeley.edu/forum_thread.php?id=11457">Read this
> > thread.[/url] for explanations.
> >
>
> I understand that v4.2 is a whole new inter-face, and I like the ability to
> monitor other boinc machines (tho I do like the ability to see multiple
> machines at the same time (eg BoincView better)
>
> My complaint is that I cannot create an account for the service to "Run As",
> but am forced to let it run as my Adminstrator account. Maybe I had security
> drummed into me too much, but I was taught that you NEVER use the
> administrator account for anything but administration.
>
> ken


So is the solution to make my BoincSvc account an administrator, install Boinc, then revert it back to PowerUser? Or does the Boinc code need admin rights to work properly? (Shouldn't, since one of the install options is Everyone can run it, Everyone can manage it)
>
>
>

ID: 80372 · Report as offensive
Profile Dirigo Software, LLC

Send message
Joined: 21 Aug 01
Posts: 36
Credit: 7,564,744
RAC: 0
United States
Message 80465 - Posted: 18 Feb 2005, 1:36:19 UTC

Ken,

The first thing I did after I installed 4.20 and then 4.21 was to go to my services, right-click and then stop BOINC, right-click BOINC and then select "Properties".

Click on the "Log On" tab.

Select "Local Systems Account" instead of "This Account:" I also select the "Allow service to interact with the desktop", as well.

Press the OK button to close the dialog box.

Right-click and then Start BOINC.

It should crunch for anyone from this point forward.
ID: 80465 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 80507 - Posted: 18 Feb 2005, 3:17:56 UTC

BOINC does not need to be an administrator, but it does need full write access to the BOINC directory. You can create a special BOINC account that has sufficient rights (write to the BOINC directory, and otherwise I believe that user rights are sufficient).


BOINC WIKI
ID: 80507 · Report as offensive
keputnam
Volunteer tester

Send message
Joined: 2 Jul 99
Posts: 242
Credit: 2,736,564
RAC: 3
United States
Message 80690 - Posted: 18 Feb 2005, 16:59:22 UTC - in response to Message 80465.  
Last modified: 18 Feb 2005, 17:01:04 UTC

> Ken,
>
> The first thing I did after I installed 4.20 and then 4.21 was to go to my
> services, right-click and then stop BOINC, right-click BOINC and then select
> "Properties".
>
> Click on the "Log On" tab.
>
> Select "Local Systems Account" instead of "This Account:" I also select the
> "Allow service to interact with the desktop", as well.
>
> Press the OK button to close the dialog box.
>
> Right-click and then Start BOINC.
>
> It should crunch for anyone from this point forward.
>

Thanks, that ought to do it. Never thought of using the LocalSystem account


Any idea why installing as an account other than the logon-ed account has problems, tho?



ID: 80690 · Report as offensive
Kunal Sharma
Volunteer tester

Send message
Joined: 3 May 00
Posts: 11
Credit: 248,496
RAC: 0
United States
Message 80736 - Posted: 18 Feb 2005, 22:25:41 UTC

Question here.....

Where's everyone getting these latest versions from? I have 4.19, can't seem to find 4.20 or 4.21 anywhere. Are those versions in production and I've missed seeing it somewhere?
ID: 80736 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 80738 - Posted: 18 Feb 2005, 22:44:22 UTC - in response to Message 80736.  

> Question here.....
>
> Where's everyone getting these latest versions from? I have 4.19, can't seem
> to find 4.20 or 4.21 anywhere. Are those versions in production and I've
> missed seeing it somewhere?
>
Go to the main page, then click download, there you'll only see 4.19 and other Officially release (relatively stable versions). Down at the bottom you'll see a link to "Developmental versions".

Warning: these are versions in progress and are probably buggy. The people using these version report bugs back to the developers, and when they are ready, they make it to the Official release download page.

If you're not willing to risk all manner of failure, please stay with 4.19.

tony

ID: 80738 · Report as offensive
Profile Dirigo Software, LLC

Send message
Joined: 21 Aug 01
Posts: 36
Credit: 7,564,744
RAC: 0
United States
Message 80750 - Posted: 19 Feb 2005, 0:53:12 UTC - in response to Message 80690.  

> Any idea why installing as an account other than the logon-ed account has
> problems, tho?

Yeah. The way that 4.20 and 4.21 are setup to install as a service at the present time is under one specific Windows account. That service will only start for and run under that one specific account. I can't speak as to why the installation program is setup that way. My guess is that the guys don't want to assume that it's OK for the project to run at anytime, no matter who is or is not logged on at the time. So, it's setup to crunch only when the installer is logged on.

Changing the service over to a "Local System Account" puts it into the "whoever and whenever" column, though, and you shouldn't have any problems with it, even if NO ONE is logged on (Windows sitting at the logon screen) - at least until the next version is installed, then you'll have to switch the accounts over again - oh um unless they change the installation program, of course...


ID: 80750 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 80779 - Posted: 19 Feb 2005, 3:27:33 UTC - in response to Message 80750.  

> > Any idea why installing as an account other than the logon-ed account
> has
> > problems, tho?
>
> Yeah. The way that 4.20 and 4.21 are setup to install as a service at the
> present time is under one specific Windows account. That service will only
> start for and run under that one specific account. I can't speak as to why
> the installation program is setup that way. My guess is that the guys don't
> want to assume that it's OK for the project to run at anytime, no matter who
> is or is not logged on at the time. So, it's setup to crunch only when the
> installer is logged on.
>
> Changing the service over to a "Local System Account" puts it into the
> "whoever and whenever" column, though, and you shouldn't have any problems
> with it, even if NO ONE is logged on (Windows sitting at the logon screen) -
> at least until the next version is installed, then you'll have to switch the
> accounts over again - oh um unless they change the installation program, of
> course...
>
I believe that even installed as a particular user, the service will run at all times with the credentials of that user. The system account has more rights more places than is probably good, but it is the only way to see the screensaver.


BOINC WIKI
ID: 80779 · Report as offensive
ChristianB
Avatar

Send message
Joined: 11 Jul 01
Posts: 139
Credit: 90,213
RAC: 0
Germany
Message 81526 - Posted: 21 Feb 2005, 9:00:18 UTC - in response to Message 80465.  

Maine Computer Group wrote:
> The first thing I did after I installed 4.20 and then 4.21 was to go to my
> services, right-click and then stop BOINC, right-click BOINC and then select
> "Properties".
>
> Click on the "Log On" tab.
>
> Select "Local Systems Account" instead of "This Account:" I also select the
> "Allow service to interact with the desktop", as well.
>
> Press the OK button to close the dialog box.
>
> Right-click and then Start BOINC.
>
> It should crunch for anyone from this point forward.

I've copied your sentences to Paul's FAQ because it works just great.

BOINC Doc | Team-Site | BOINC-Podcast
ID: 81526 · Report as offensive

Message boards : Number crunching : CC 4.21 as a service


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.