Running Boinc as a WinXP service

Message boards : Number crunching : Running Boinc as a WinXP service
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile majorjc
Avatar

Send message
Joined: 24 Nov 01
Posts: 9
Credit: 175,577
RAC: 0
United States
Message 9474 - Posted: 18 Jul 2004, 20:44:05 UTC
Last modified: 18 Jul 2004, 20:53:28 UTC

Anybody got clear instructions on compiling and running Boinc under WinXPpro as a service.

Thanks for the help,

Major
ID: 9474 · Report as offensive
Ingleside
Volunteer developer

Send message
Joined: 4 Feb 03
Posts: 1546
Credit: 15,832,022
RAC: 13
Norway
Message 9488 - Posted: 18 Jul 2004, 21:33:42 UTC

Well, the easiest is to navigate to your BOINC-directory and type
boinc_cli -install

Being XP, you most likely also must go to the "services" and change the user it run as to "localsystem".

If you on the other hand wants to compile an optimized client I can't help you.
ID: 9488 · Report as offensive
Gareth Lock

Send message
Joined: 14 Aug 02
Posts: 358
Credit: 969,807
RAC: 0
United Kingdom
Message 9495 - Posted: 18 Jul 2004, 21:54:17 UTC
Last modified: 18 Jul 2004, 21:55:33 UTC

You should just be able to plop boinc into your startup directory and it will start from where it left off, in the background with the icon on the system tray. Why (other than automation) you'd want to run it as a service... Well.
ID: 9495 · Report as offensive
Profile majorjc
Avatar

Send message
Joined: 24 Nov 01
Posts: 9
Credit: 175,577
RAC: 0
United States
Message 9499 - Posted: 18 Jul 2004, 22:13:19 UTC - in response to Message 9495.  
Last modified: 18 Jul 2004, 22:14:31 UTC

> You should just be able to plop boinc into your startup directory and it will
> start from where it left off, in the background with the icon on the system
> tray. Why (other than automation) you'd want to run it as a service... Well.
>
>

Well, the main reason I want to run it as a system service is so it will run regardless of whether or not any user accounts are logged on.

For instance, power outage, computer reboots when power is restored, nobody around to log into Windows.

System services running already.

Also, as a service, it won't even show up in the tray.


ID: 9499 · Report as offensive
Profile BigDawg

Send message
Joined: 16 Apr 04
Posts: 113
Credit: 6,927
RAC: 0
United States
Message 9546 - Posted: 19 Jul 2004, 1:28:35 UTC

question for you guys. If you start bionic gui or cli as a service, will it start the s@h3.08 which actually does the crunching.Besides running from a reboot, does it have any other advantages besides that???
ID: 9546 · Report as offensive
Profile majorjc
Avatar

Send message
Joined: 24 Nov 01
Posts: 9
Credit: 175,577
RAC: 0
United States
Message 9549 - Posted: 19 Jul 2004, 1:36:58 UTC - in response to Message 9546.  
Last modified: 19 Jul 2004, 1:53:19 UTC

> question for you guys. If you start bionic gui or cli as a service, will it
> start the s@h3.08 which actually does the crunching.Besides running from a
> reboot, does it have any other advantages besides that???
>
>
Yes the boinc cli will start the seti crunching engine....I just verified this.

Another advantage for me is that my kids, or wife for that matter, can't exit the Boinc program just by right clicking on the tray icon.

My wife knows how to terminate services, but would'nt go to the trouble. My kids don't know anything about services.

I'm trying to keep it running on 5 computers in my house and running as a service just makes everything easy.

The big drawback to running it as a service is you cannot see your queue or messages or percent complete.

We need somebody to develop a Boinc Spy App we can use to spy on the cli version, it would be great if this Spy App could also view the client on remote computers over a LAN or WAN.

--
Major
</img>
ID: 9549 · Report as offensive
Profile JigPu
Avatar

Send message
Joined: 16 Feb 00
Posts: 99
Credit: 2,513,738
RAC: 0
Message 9555 - Posted: 19 Jul 2004, 1:54:38 UTC - in response to Message 9546.  

> question for you guys. If you start bionic gui or cli as a service, will it
> start the s@h3.08 which actually does the crunching.Besides running from a
> reboot, does it have any other advantages besides that???
>
>
Yes, just like the Boinc GUI, it will automatically start up S@H (or any other program for other projects) automatically. Other than crunching while logged in, I can't think of any other use.

BTW: Does anybody here know how to pass startup parameters to the boinc_cli when running as a service? I monitor my networked boxes with RPC calls (it's simpler than file sharing, and gives me more info =)), and I need to start BOINC as a service with the -allow_remote_gui_rpc flag.

_______________________________

ID: 9555 · Report as offensive
DanB
Volunteer tester

Send message
Joined: 26 Mar 01
Posts: 8
Credit: 350,383
RAC: 0
United States
Message 9566 - Posted: 19 Jul 2004, 2:34:12 UTC - in response to Message 9555.  

> BTW: Does anybody here know how to pass startup parameters to the boinc_cli
> when running as a service?
For the people that do not mind messing things up. I solved this by editing the registry. I do not remember the key, but after installing cli service I searched the registry with regedit to find boinc_cli.exe. I then just added the options I wanted.


For gui, have you looked at boincview ,http://boincview.amanheis.de/. With boincview you can look by local files, or by remote gui (-allow_remote_gui_rpc)
ID: 9566 · Report as offensive
Profile JigPu
Avatar

Send message
Joined: 16 Feb 00
Posts: 99
Credit: 2,513,738
RAC: 0
Message 9582 - Posted: 19 Jul 2004, 3:52:34 UTC - in response to Message 9566.  
Last modified: 19 Jul 2004, 3:53:46 UTC

> For the people that do not mind messing things up. I solved this by editing
> the registry. I do not remember the key, but after installing cli service I
> searched the registry with regedit to find boinc_cli.exe. I then just added
> the options I wanted.
>
Didn't work for me =( Adding options to BOINC's entry in the registry just results in XP waiting a few seconds, and then declaring that the service didn't respond to the control in a timely fassion.

I'm using BoincView btw. Great program, just love the additional stuff RPC allows me to do with the remote boxes =)

_______________________________

ID: 9582 · Report as offensive

Message boards : Number crunching : Running Boinc as a WinXP 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.