SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Service will not run...

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Service will not run...
Author Message
seanc217



Joined: 23 May 2007
Posts: 272

Post Service will not run... Reply with quote
Hi I am running multi-platform editions 273 on a windows 2003 box.
I am trying to setup the shceduler to run as a service however when I try this I get:

E:\Program Files\24x7_Scheduler>24x7srv.exe /agent
Starting 24x7 Scheduler service... Please wait.
Unable to start 24x7 Scheduler service. StartServiceCtrlDispatcher failed - The
service process could not connect to the service controller.


In the Event view I get:

The description for Event ID ( 0 ) in Source ( 24x7 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Stop Reason: 1063
StartServiceCtrlDispatcher failed..

Any Ideas?

Thanks
Mon Jan 05, 2009 4:14 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
I think the /agent switch cannot be used alone. You need to specify user and password for the service account on the command line. For more info, please run "24x7srv /?" without double quotes
Mon Jan 05, 2009 4:46 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I tried this with a local account I created with admin privs as such:

E:\Program Files\24x7_Scheduler>24x7srv.exe srv_etl xxxxxxx /agent
Starting 24x7 Scheduler service... Please wait.
Unable to start 24x7 Scheduler service. StartServiceCtrlDispatcher failed - The
service process could not connect to the service controller.

Same thing.
Mon Jan 05, 2009 4:54 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
Do you see the 24x7 Scheduler service name in the services list?

If you do, what do you see in the read-only "path to executable" property?
Mon Jan 05, 2009 4:59 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
No there is no service installed after the error.
I am rebooting the box now to see if this will help fix the issue.

I will let you know either way.

Thanks.
Mon Jan 05, 2009 5:05 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
A reboot did not help.
I see the same thing.

Any ideas?
Mon Jan 05, 2009 5:10 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I got it.

I was not putting the /install in the command so you need to run it like this:

24x7srv.exe /install tdab-marlg-cp01\srv_etl xxxxxxx /agent

Thanks!
Mon Jan 05, 2009 5:32 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
Try creating service registration manually using the registry editor.

Save the below code as 24x7mp.reg file and then double-click the file to load it into the registry

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\24x7jscheduler]
"Type"=dword:00000010
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
  20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,32,00,34,00,78,00,37,00,5f,00,53,\
  00,63,00,68,00,65,00,64,00,75,00,6c,00,65,00,72,00,5c,00,32,00,34,00,78,00,\
  37,00,73,00,72,00,76,00,2e,00,65,00,78,00,65,00,00,00
"DisplayName"="24x7 Scheduler Multi-platform Edition"
"ObjectName"="LocalSystem"
"Description"="Enables scheduling and running automated tasks on this and other computers."
"AppParameters"="nogui"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\24x7jscheduler\Enum]
"0"="Root\\LEGACY_24X7JSCHEDULER\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\24x7jscheduler\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00



Restart the system after this change and verify that the values in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\24x7jscheduler key look good. If, needed, open service properties and correct wrong settings (account, password, start mode, file path)

Hope this helps.
Mon Jan 05, 2009 5:37 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
One morte thing, if you want to run it in agent mode, change

"AppParameters"="nogui"

to

"AppParameters"="nogui /agent"
Mon Jan 05, 2009 5:38 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.