Squeak as an NT service
Raymond Asselin
raymondasselin at sympatico.ca
Fri Jan 26 02:26:39 UTC 2001
The 25/01/01 at 17:42, Tim Dawes <tdawes at soliloquy.com> wrote:
> Ok.
>
> I'm running a Swiki, and I can't login every time the machine re/starts.
> But, I'd like to be able apply patches and actually browse code while it's
> running.
> I guess my problem is this:
> "Allow Service to Interact with Desktop" is available only if the service is
> running as a LocalSystem account (as specified in the This Account box).
> But I can't run it as the LocalSystem account according to this error
> message:
> "Starting the service is failed.
> Error 5:Access is denied."
> Is there a way to run it as a LocalSystem account? Well, I guess this is an
> NT question now, rather than Squeak.
>
> Thanks Andreas.
> Tim.
>
> ----- Original Message -----
> From: "Raab, Andreas" <Andreas.Raab at disney.com>
> To: <squeak at cs.uiuc.edu>
> Sent: Thursday, January 25, 2001 5:09 PM
> Subject: RE: Squeak as an NT service
>
>
> > When you start Squeak as a service you cannot interact with it directly.
> > Services are started whether a user is logged on or not, so there's just
> no
> > window you can see. I'm not sure what you want to do - if you really want
> to
> > interact with Squeak then it might be better to put it into the Autostart
> > (which gets run when a user is logging on so there's a way of interacting
> > then). BTW, if you could explain a bit more about what you're trying to do
> I
> > might be able to give a couple of hints on how to achieve this.
> >
> > Cheers,
> > - Andreas
> >
> >
> > > -----Original Message-----
> > > From: Tim Dawes [mailto:tdawes at soliloquy.com]
> > > Sent: Thursday, January 25, 2001 1:48 PM
> > > To: squeak at cs.uiuc.edu
> > > Cc: recipient list not shown
> > > Subject: Re: Squeak as an NT service
> > >
> > >
> > > Yes I do.
> > > I've actually been able to get it to start now, but I can't
> > > interact with
> > > it.
> > > I've tried -headless and without.
> > > Tim.
> > >
> > > ----- Original Message -----
> > > From: "Raab, Andreas" <Andreas.Raab at disney.com>
> > > To: <squeak at cs.uiuc.edu>
> > > Cc: "recipient list not shown" <recipientlistnotshown:@disney.com;>
> > > Sent: Thursday, January 25, 2001 4:31 PM
> > > Subject: RE: Squeak as an NT service
> > >
> > >
> > > > Do you have administrator priviledges on the machine you're
> > > running this
> > > > on?! Installing a service on NT requires admin rights.
> > > >
> > > > Cheers,
> > > > - Andreas
> > > >
> > > > > -----Original Message-----
> > > > > From: Tim Dawes [mailto:tdawes at soliloquy.com]
> > > > > Sent: Thursday, January 25, 2001 1:30 PM
> > > > > To: squeak at cs.uiuc.edu
> > > > > Cc: recipient list not shown
> > > > > Subject: Squeak as an NT service
> > > > >
> > > > >
> > > > > Can anyone provide a tip on running squeak as an NT service?
> > > > > I've tried
> > > > > C:\squeak\2.8\squeak.exe -service: "Squeak" 2.7.image
> > > > > C:\squeak\2.8\squeak.exe -headless -service: "Squeak" 2.7.image
> > > > > And a few other combos. I always get the error message:
> > > > > "Starting the service is failed.
> > > > > Error 5:Access is denied."
> > > > >
> > > > > Thanks, Tim.
> > > > >
> > >
>
TIM,
I did it on an NT 4.0 Server.
In the comand line, you have to position you in the directory where squeak.exe is.
Like "C:\ cd \aNameForADirectoryWhereSqueakIs"
you type this: " squeak.exe -service: aNameForTheService squeak.image " and return.
NT will ask you if you want to start the service immediately...yes for sure
Valid that you use a port different than 80 for the Swiki, may be 8080 because
it seems that NT Server reserve this port for is own webServer.
Another note, do not put a 'racourci' (this is like an alias-sorry I don't know
the english word) in the startUp folder, this can cause you troubles if there is a problem
an that someone try to logon the alias in the startUp folder will try to launch the swiki
a second time.
Hope this help...
Raymond
More information about the Squeak-dev
mailing list
|