Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Can't start cq5 service under windows 7 64bit

Avatar

Level 2

One year ago I installed successfully CQ5 as a windows service under Windows 7 32bit. After that I've switched to Windows 7 **64bit**. Currently I have a project using CQ5 so I install again it (under Window 64bit). CQ5 starts fine with `crx-quickstart/bin/start.bat` using command line. Also I don't see any problem when installing as service with the command `instsrv.bat cq5`:

    Installing service cq5
        runs in   E:\servers\cq5-server\author\crx-quickstart
        uses      E:\servers\cq5-server\author\crx-quickstart\opt\helpers\\..\..\app\cq-quickstart-5.5.0-standalone.jar
        starts    org.apache.sling.launchpad.app.Main
        redirects output to: E:\servers\cq5-server\author\crx-quickstart\logs\startup.log

But when I run `net start cq5`, I get an error as below:

    The cq5 service is starting.
    The cq5 service could not be started.

    A service specific error occurred: 0.

    More help is available by typing NET HELPMSG 3547.

And checking log file commons-daemon.2013-09-01.log, I see:

    [2013-09-01 23:26:36] [info]  Commons Daemon procrun (1.0.8.0 64-bit) started
    [2013-09-01 23:26:36] [info]  Running 'cq5' Service...
    [2013-09-01 23:26:36] [info]  Starting service...
    [2013-09-01 23:26:36] [error] Failed creating java 
    [2013-09-01 23:26:36] [error] The system cannot find the file specified.
    [2013-09-01 23:26:36] [error] ServiceStart returned 1
    [2013-09-01 23:26:36] [error] The system cannot find the file specified.
    [2013-09-01 23:26:36] [info]  Run service finished.
    [2013-09-01 23:26:36] [info]  Commons Daemon procrun finished

Could anyone let me know what I'm wrong?  
I'm following the instructions at [Installing and Starting Adobe Experience Manager as a Windows Service] http://dev.day.com/docs/en/cq/current/getting_started/download_and_startworking.html

p/s: for better format, you can see at http://stackoverflow.com/questions/18560472/cant-start-cq5-service-under-windows-7-64bit

Thank a lot!

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi you guy! 

Today I fixed the problem. I post on StackOverFlow here http://stackoverflow.com/a/19011530/1521627 . I hope that it would work for you :D

Best regards,

Tuan Dang

View solution in original post

17 Replies

Avatar

Level 10

You are following a similar procedure that is documented here:

http://dev.day.com/docs/v5_2/html-resources/cq5_guide_system_administrator/ch03s04.html#sect_windows...

And this is not starting on Win7? 

I will check to see if we have a known issue. 



 

Avatar

Employee

Did you remember to change the instances of 'prunsrv' in the instsrv.bat file before running it?

This is Step 2 as listed in the "Installing and starting Adobe Experience Manager as a Windows service" section of Download and Start Working.

[img]64-bit_Windows_AEM-service.png[/img]

If not, you'll need to run 'instsrv.bat -uninstall' to remove the service, edit the .bat, then re-run it.

Avatar

Level 2

I followed the document at http://dev.day.com/docs/en/cq/current/getting_started/download_and_startworking.html#Installing and Starting Adobe Experience Manager as a Windows Service

where there are some notes for Windows 64bit. And it is not starting.

Please help me check it. Thank you a lot!!!

Avatar

Level 10

Have you read all the information located in this AEM topic: "INSTALLING AND STARTING ADOBE EXPERIENCE MANAGER AS A WINDOWS SERVICE" -- see: 

http://dev.day.com/docs/en/cq/current/deploying/installing_cq.html#Installing%2520and%2520Starting%2...

 

Be sure to follow the heap size recommendation. 

  • To prevent the process from forking into more than one process, increase the maximum heap size and the PermGen JVM parameters. Locate the set jvm_options command and set the value as follows:

    set jvm_options=-XX:MaxPermSize=256M;-Xmx1792m

    Avatar

    Level 10

    If you followed all the instructions in the AEM docs and its not working -- according to this AEM topic:

    http://dev.day.com/docs/en/cq/current/deploying/checklists.html#Troubleshooting

    It recommends opening a ticket.  

    Avatar

    Level 2

    I'm sorry for my bad English!

    Do you mean that I should create a ticket at http://dev.day.com/docs/en/cq/current/deploying/checklists.html#Troubleshooting ? If so, how to create? Could you please let me know?

    Thank a lot!

    Avatar

    Level 10

    See the instructions here:

    http://helpx.adobe.com/marketing-cloud/experience-manager.html

     

    [img]Ticket.png[/img]

    A ticket is a last resort. If you follow the docs (specified in this thread) and all the recommendations, and it still does not work, then there is a bug somewhere. 

    Avatar

    Former Community Member

    Tuan Dang wrote...

    Thank you very very much :D

     

    I have the same problem. Followed the instructions exactly and the service installs but just won't start.

    Did you raise a ticket ?

    Fraser.

    Avatar

    Level 2

    I tried again but couldn't login when clicking on the "Create a support ticket" link. I got same error as some days ago! :(

    Avatar

    Correct answer by
    Level 2

    Hi you guy! 

    Today I fixed the problem. I post on StackOverFlow here http://stackoverflow.com/a/19011530/1521627 . I hope that it would work for you :D

    Best regards,

    Tuan Dang

    Avatar

    Level 2

    Fraser Goffin wrote...

    Tuan Dang wrote...

    Thank you very very much :D

     

    I have the same problem. Followed the instructions exactly and the service installs but just won't start.

    Did you raise a ticket ?

    Fraser.

     

    I don't raise yet. I followed the above instruction but when I click on "create a support ticket" link, I am prompted to enter credentials! I entered Adobe ID but can't login

    [img]adobe require credentials.PNG[/img]

    Avatar

    Level 2

    Hi Fraser,

    Did you try to create a ticket about this problem?

    Best Regards,

    Tuan Dang

    Avatar

    Level 10

    Try again from this page:

    http://helpx.adobe.com/marketing-cloud/contact-support.html

    I just entered my Adobe credentials and got to this page where you can enter a ticket:

    [img]ticket.png[/img]

    Avatar

    Level 10

    Try this -- on that page -- you can click 'Chat with an agent' - click on that and let them know your problem with logging a ticket. Your Adobe Credentials should enable you to log a ticket. 

     

    [img]tic3.png[/img]

    Avatar

    Former Community Member

    Tuan Dang wrote...

    Hi Fraser,

    Did you try to create a ticket about this problem?

    Best Regards,

    Tuan Dang

     


    No, I assumed you were going to try again, so I didn't want to confuse things by creating 2 tickets for the same problem. Can you try again and if you still have a problem, let me know and I will do it.

    Fraser.

    Avatar

    Level 2

    Sorry but till I couldn't sign in to create a ticket.

    After login to the site (I see "Welcome Tuan Dang" on the top right hand), I click on Create a support ticket.

    A pop-up dialog is shown up, I enter my Adobe ID (my email) and password. But after some seconds, the pop-up is shown again to require me to enter credentials!!!

    Many thank for your help but I think I will stop finding a bug-fix for the problem!

    Thank you!!!!!!