SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Servicestop/start/getstatus

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Servicestop/start/getstatus
Author Message
Lee Hudspeth



Joined: 07 Sep 2000
Posts: 8

Post Servicestop/start/getstatus Reply with quote

I've been trying to use the SERVICEGETSTATUS and the SERVICESTOP/START commands but can not get them to work. I keep getting an error saying "Error getting service status. Not enough permissions or invalid service name." The service name is in the command exactly as shown in the Services listing and I'm in the administrator group on the workstation. If I try using an invalid service name, I get the correct error return code, but a valid service name gives me the permissions error and stops the script. I'm running NT4/SP5 with 24x7(ver2.3.4). Thanks for any help you can provide!

Thu Sep 07, 2000 6:10 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7840

Post Re: Servicestop/start/getstatus Reply with quote

What is the service name and under which account it is running?
Can you post here portion of your script where you call these statements?

: I've been trying to use the SERVICEGETSTATUS and the SERVICESTOP/START
: commands but can not get them to work. I keep getting an error saying
: "Error getting service status. Not enough permissions or invalid
: service name." The service name is in the command exactly as shown in
: the Services listing and I'm in the administrator group on the
: workstation. If I try using an invalid service name, I get the correct
: error return code, but a valid service name gives me the permissions error
: and stops the script. I'm running NT4/SP5 with 24x7(ver2.3.4). Thanks for
: any help you can provide!

Thu Sep 07, 2000 7:51 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.