running boinc_cli.exe as a Windows service ??

Message boards : Number crunching : running boinc_cli.exe as a Windows service ??
Message board moderation

To post messages, you must log in.

AuthorMessage
Goner

Send message
Joined: 4 Jun 99
Posts: 10
Credit: 34,310
RAC: 0
Netherlands
Message 39955 - Posted: 25 Oct 2004, 12:09:07 UTC
Last modified: 25 Oct 2004, 12:10:01 UTC

hi,

just stopped the GUI and installed BOINC as a service in Windows 2000.
everything looks OK, but BOINC stopped writing to stdout.txt and stderr.txt ?! any way to see what's happening ?? (apart from using a monitor util)

tia,
Goner - SETI@Netherlands
ID: 39955 · Report as offensive
Ken Phillips m0mcw
Volunteer tester
Avatar

Send message
Joined: 2 Feb 00
Posts: 267
Credit: 415,678
RAC: 0
United Kingdom
Message 39961 - Posted: 25 Oct 2004, 12:37:19 UTC - in response to Message 39955.  

> hi,
>
> just stopped the GUI and installed BOINC as a service in Windows 2000.
> everything looks OK, but BOINC stopped writing to stdout.txt and stderr.txt ?!
> any way to see what's happening ?? (apart from using a monitor util)
>
> tia,
> Goner - SETI@Netherlands
>

Goner,

As far as I know, the CLI running as a service, still writes to the status files.
You should check that the service is running, do a CTRL-ALT-DEL, click task manager and look in processes list for 'Boinc_cli.exe', if it's there that's fine, also look for 'Setiathome_405_windows.......' which should be running at about 95 to 99 percent, so far so good; but, if you don't see the 'Boinc_cli' listed, then the service hasn't been started, reasons could be - a failed install, or simply that you have not started it.
Using the win2k 'services' admin tool which should be lurking somewhere in your start menu, bring up the list of services, near to the top it should list 'BOINC' and it's probably not running, so right click on boinc, select start, once that's done, right click on boinc again, select properties, and check that boincs' startup is automatic, and that the log-on is as the localsystem account.

To check it, I use Boincview, which is very easy to use and set-up, you could also use boincspy, but I could not get this to work for some reason.

Best wishes,


Ken Phillips

BOINC question? Look here



"The beginning is the most important part of the work." - Plato
ID: 39961 · Report as offensive
Goner

Send message
Joined: 4 Jun 99
Posts: 10
Credit: 34,310
RAC: 0
Netherlands
Message 39964 - Posted: 25 Oct 2004, 12:56:48 UTC

Ken,

thanks for the input !

i already checked and boinc_cli and setiathome_4.05 are both running fine.
funny thing is that other files, like client_state.xml are still being updated, but not the stdout.txt & stderr.txt ...

btw ; i'm using BoincLogX to check my clients and i see progress, so the service is working OK.

ID: 39964 · Report as offensive
Ken Phillips m0mcw
Volunteer tester
Avatar

Send message
Joined: 2 Feb 00
Posts: 267
Credit: 415,678
RAC: 0
United Kingdom
Message 39970 - Posted: 25 Oct 2004, 13:11:03 UTC - in response to Message 39964.  

> Ken,
>
> thanks for the input !
>
> i already checked and boinc_cli and setiathome_4.05 are both running fine.
> funny thing is that other files, like client_state.xml are still being
> updated, but not the stdout.txt & stderr.txt ...
>
> btw ; i'm using BoincLogX to check my clients and i see progress, so the
> service is working OK.
>
That is strange, I run Boinc cli on all my boxes, but, have never had reason to check those files, and having just done so; mine too are not being updated, they haven't been touched since I also dropped the GUI, perhaps, Boinc_CLI does not use them? Anyway, I don't care because, they're all continuing to crunch their little hearts out for the sake of science, and results for three projects are flowing freely, it almost makes me feel good 8-)

Bye now,


Ken Phillips

BOINC question? Look here



"The beginning is the most important part of the work." - Plato
ID: 39970 · Report as offensive
Goner

Send message
Joined: 4 Jun 99
Posts: 10
Credit: 34,310
RAC: 0
Netherlands
Message 39977 - Posted: 25 Oct 2004, 13:43:12 UTC

well, as you say, the BOINC service runs fine ... that's what matters.

still strange, according to this info there should be some logging :

http://boinc.berkeley.edu/service.php

"Messages are logged to the 'eventlog' - check there periodically for error and status messages."

can't find any 'eventlog' either ... also nothing in the Windows 'Event Viewer'.
ID: 39977 · Report as offensive
George

Send message
Joined: 20 Sep 99
Posts: 6
Credit: 109,086
RAC: 0
United Kingdom
Message 40005 - Posted: 25 Oct 2004, 16:06:09 UTC

Is there a simple idiots guide to setting up Boinc Seti as a service?

Cheers

George
ID: 40005 · Report as offensive
Ingleside
Volunteer developer

Send message
Joined: 4 Feb 03
Posts: 1546
Credit: 15,832,022
RAC: 13
Norway
Message 40060 - Posted: 25 Oct 2004, 19:11:35 UTC
Last modified: 25 Oct 2004, 19:13:21 UTC

The service will currently not log any info, so the only way to get this info is to use a monitoring-tool.

Previously it was logging to the NT "Application"-log, but because it was logging everything and many users complained of this very fast filling up the complete log-file, so they disabled the logging for now till can make it user-configurable.


As for installing as service, exit from the gui.
Open up a cmd-prompt and change to the boinc-directory.

boinc_cli -install

And it should be installed as service.

BTW, make sure to remove any shortcut to the gui from startup-folder...

Note, if XP, you must very likely also go into the service control panel and change the user the BOINC-service is running as to "localsystem".

And start the service, or reboot. :)

BTW, some win2k-users have complained of the service refusing to install for some reason.
ID: 40060 · Report as offensive
George

Send message
Joined: 20 Sep 99
Posts: 6
Credit: 109,086
RAC: 0
United Kingdom
Message 40274 - Posted: 26 Oct 2004, 10:54:55 UTC - in response to Message 40060.  

> boinc_cli -install
>
> And it should be installed as service.

Ahh, that simple..... Thanks for the info!

George
ID: 40274 · Report as offensive

Message boards : Number crunching : running boinc_cli.exe as a Windows 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.