Skip to main content
Level 2
Oct 16, 2015 2:28 AM UTC
Solved

503 error - AuthenticationSupport service missing. Cannot authenticate request.

I uninstalled LiveCycle from my windows machine and restarted it. Now when I try to start CQ6 I get this error when trying to load up any page. Even http://localhost:4502

Problem accessing /. Reason:

    AuthenticationSupport service missing. Cannot authenticate request.

I see the following in my error.log

01.05.2015 22:27:24.577 *ERROR* [FelixStartLevel] com.adobe.granite.repository.impl.SlingRepositoryManager start: Uncaught Throwable trying to access Repository, calling stopRepository() java.lang.IllegalStateException: Segment 55c759a2-2ced-4d9e-af48-45209e6aa829 not found at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readSegment(FileStore.java:541) at org.apache.jackrabbit.oak.plugins.segment.SegmentTracker.getSegment(SegmentTracker.java:106) at org.apache.jackrabbit.oak.plugins.segment.SegmentId.getSegment(SegmentId.java:97) at org.apache.jackrabbit.oak.plugins.segment.Record.getSegment(Record.java:68) at org.apache.jackrabbit.oak.plugins.segment.MapRecord.getEntry(MapRecord.java:138) at org.apache.jackrabbit.oak.plugins.segment.MapRecord.getEntry(MapRecord.java:170) at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.hasChildNode(SegmentNodeState.java:326)

 

How can I resolve this? I can't even access any pages! 

Love_Sharma
Love_SharmaAccepted solution
Level 4
Sep 30, 2022 2:29 PM UTC

For future visitors, Deleting repoinit folder from my AEM instance fixed this issue for me. Either you can run below command

 rm -rf crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit OR delete the folder manually. 

 

19 replies

Runal_Trivedi
Level 6
Oct 16, 2015 2:28 AM UTC

Check whether your Apache Sling Authentication Service Bundle is active or not. You can check at localhost:4502/system/console/bundles, if it is not active then try to activate it manually.

If the bundle is active and you still get the issue then other solution is to re-index your repository.

Refer to following article for How to re-index AEM Repository: http://www.wemblog.com/2011/12/how-to-rebuild-index-in-cq5-wem.html

Translate
Mar 3, 2022 2:36 AM UTC

How to restart bundle manually?

Translate
Level 4
Apr 19, 2016 3:35 PM UTC

Hello Team,

I am facing exactly same problem as above. I am thinking to re--index my repository but I am unable to access crx/de..It says service unavailable.

How do I move forward ?

Thanks,

Vish

Translate
Adobe Employee
Apr 21, 2016 9:35 PM UTC

Hi,

the error is a symptom of a problem in your repository. Most likely during startup there was an exception much earlier, if you find the original exception, it will help you determine the root cause.

Regards,

Opkar

Translate
Love_Sharma
Love_SharmaAccepted solution
Level 4
Sep 30, 2022 2:29 PM UTC

For future visitors, Deleting repoinit folder from my AEM instance fixed this issue for me. Either you can run below command

 rm -rf crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit OR delete the folder manually. 

 

Translate
Oct 20, 2022 1:37 PM UTC

This worked for me

Translate
Level 2
Dec 11, 2023 8:28 PM UTC

For future visitors:  I received this error when attempting to start AEM 6.5.15 with Java 21.1.  Presently only Java 11 is supported.  Make sure you are using a supported java version.  

Translate
Jan 16, 2024 4:50 AM UTC

this one was the one for me! 

Translate
May 3, 2024 4:09 AM UTC

So for me, it was a completely different resolution. I am extremely new to AEM so I might not use the rigth terms here, but this might help someone else. 
My project was using AEM version 6.5.17 and after installing everything, it would throw this error. After searching on google for a couple of hours, I then found this link: `http://localhost:4502/system/console/bundles` . Upon restart, I went to this link, which gave me a new error with the following: -

 

HTTP ERROR 500 java.lang.NoClassDefFoundError: java/security/acl/Group

URI: /system/console/bundles

STATUS: 500

MESSAGE: java.lang.NoClassDefFoundError: java/security/acl/Group

SERVLET: org.apache.felix.http.base.internal.dispatch.DispatcherServlet-74708cc2

CAUSED BY: java.lang.NoClassDefFoundError: java/security/acl/Group

CAUSED BY: java.lang.ClassNotFoundException: java.security.acl.Group

 

 

Upon googling this, it turns out this was occurring because I was using the latest version of Java. The above 'library' is deprecated in the latest versions of Java, which is why a downgrade to Java 11 is required. You can use sdkman to switch changing versions of java, atleast on a Mac. Upon downgrading to Java 11, it worked.

Translate