PDA

View Full Version : Can't start SlimService from command line?



skieswideopen
2007-02-13, 10:06
Hi all,

I want to be able to start and stop slimserver at scheduled times so I can run a command line scan

6.5.1 runs as an NT Service.

When I execute "NET STOP SlimServer" the response is that the stop is successful. (The SlimTray seems to show that as true.

When I try to restart it the slimserver using "NET START SlimServer", it fails. Any idea why that might be?

I DO have admin rights on the machine.

Thanks!

Mark

byKnight
2007-02-13, 10:40
I have a similar problem. I have to try NET START SlimServer three times in a row before it will start.

skieswideopen
2007-02-13, 10:54
Thanks for the reply.

Are you saying it DOES work after 3 (or whatever tries?)

Mark

byKnight
2007-02-14, 06:24
Thanks for the reply.

Are you saying it DOES work after 3 (or whatever tries?)

Mark

Yes.

I made a batch file like this:


net stop SlimServer
net stop SlimServerSQL
net start SlimServerSQL
net start SlimServer
pause

I put this in my Startup folder. On login the "net start SlimServer" line reports "SlimServer service could not be started."

If I then manually execute the batch file, I get the same result.

If I then manually execute the batch file yet again, it reports (finally) SlimerServer service was started."

Slim Devices tech support suggested I completely wipe out all traces of SlimServer and reinstall. Haven't gotten around to that yet.