Windows Service failing to start


hello everyone,

 

i'm trying run cq 5.6.1 service on windows server 2008 r2 sp1 64-bit.

 

i've replaced prunsrv in instsrv.bat prunsrv_amd64.

 

installing service seems fine, uninstalling.

 

this kind of entry see in c:\cq\5.6.1\publish\crx-quickstart\logs\commons-daemon.2013-07-11.log file after try start service:

 

[2013-07-11 15:45:10] [info]  commons daemon procrun (1.0.8.0 64-bit) started

[2013-07-11 15:45:10] [info]  running 'cq5' service...

[2013-07-11 15:45:10] [info]  starting service...

[2013-07-11 15:45:10] [error] failed creating java

[2013-07-11 15:45:10] [error] cannot create file when file exists.

[2013-07-11 15:45:10] [error] servicestart returned 1

[2013-07-11 15:45:10] [error] cannot create file when file exists.

[2013-07-11 15:45:10] [info]  run service finished.

[2013-07-11 15:45:10] [info]  commons daemon procrun finished

 

the corresponding entry in event log shows following:

 

<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <system>

    <provider name="service control manager" guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" eventsourcename="service control manager" />

    <eventid qualifiers="49152">7024</eventid>

    <version>0</version>

    <level>2</level>

    <task>0</task>

    <opcode>0</opcode>

    <keywords>0x8080000000000000</keywords>

    <timecreated systemtime="2013-07-11t19:45:10.423634500z" />

    <eventrecordid>7164</eventrecordid>

    <correlation />

    <execution processid="516" threadid="1356" />

    <channel>system</channel>

    <computer>cqpub-02</computer>

    <security />

  </system>

  <eventdata>

    <data name="param1">cq5</data>

    <data name="param2">%%0</data>

  </eventdata>

</event>

 

this same behavior exhibited across 3 separate servers each own installation of cq (one author , 2 publish).

 

any ideas going wrong or can find more detailed information , trying create "java" file?  start-service.bat used @ all?

 

thanks!

garth

hi,

 

is java_home set?

echo %java_home%

 

 

something went wrong @ installing service... how did install it?

best way me fill in vars in instsrv.bat , run without parameter install service

 

ps:

theres little bug in instsrv.bat option

set jvm_mx=16384m

isnt handled script. have add param jvm_options underneath



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?