|
From: John C. <jm...@mu...> - 2007-07-20 16:02:27
|
Thanks, I hadn't added the "part of operating system" right. Since this machine is behind a firewall, on a private network, I added "Everyone" *and* several other users individually. Unfortunately, "Start" still fails. When you ask which account I use, I just use my normal login account to do the Start. Is there something else I should be doing? Is there something in the conf file that sets an account (I don't see anything like this)? On the question of what the service does this is a test service, and it doesn't do much -- it checks the last-modified time of a file and *may* invoke COMMAND to do a copy -- but when started as a service, it doesn't even appear to be able to write an entry in its log. If I attempt to add the service again, not using the install script, just "wrapper.exe -i <conf-file>", with "c:\" as the working directory, I do get a log entry about the service already being installed. -jmc Hubert Felber writes: > What account do you use for the service to run? > Does it run with "localSystem" account? If not, then .... > > Start the Local Security Settings console from the Administrative Tools group. > 2. Navigate to User Rights Assignments under Local Policies. > 3. Verify that the Service account has explicitly been given the following rights: > * Log on as a service > * Act as part of the operating system > > Depending on what your service does it might be necessary to assign more rights. > > > > >>> John Chandler <jm...@mu...> 19.07.2007 22:08 >>> > On Windows XP, I've configured a wrapper.conf file such that I can > start my app from a command window and it runs with no problem. I run > the install script, and the app appears to have been installed as a > service. It's configured to start up automatically, and no complaints > appear anywhere, until I try to Start this service. Then I get the > message, > > "Could not start the <MyApp> service on Local Computer./ Error 5: > Access is denied." > > Essentially the same message appears when I use "net start". If I > look at the Properties of the service, and copy the command to a > Command window, the expected thing happens if I leave the "-s" in > place, but if I change to a "-t" I again get "Access is denied" but > this comes from the Wrapper logger. If I change the flag to "-c", > everything appears to work fine. > > I don't know how to get either the Wrapper or Windows (which is where > I suspect the problem lies, but I can't be sure) to be any more > expansive as to what resource I'm being denied access to. Does anyone > have any clues or suggestions? > > Thanks. > > -jmc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |