AuthenticationSupport service missing while restarting aem instance | Community
Skip to main content
Level 3
Feb 25, 2022 4:31 AM UTC
Solved

AuthenticationSupport service missing while restarting aem instance

Getting the following error while restarting the aem instance.

*ERROR* [org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
*ERROR* org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

 

Kindly help me on this. Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Feb 25, 2022 11:30 AM UTC

This is just a symptom. The underlying root cause is that the repository service cannot be started; there are 2 main reasons for that:

 

* The Oak repository is not starting. You should find error messages earlier in the log.

* Repoinit scripts fail to execute. Also these leave error messages in the logs.

 

Can you provide us more information?

3 replies

Raja-Karuppsamy
New Participant
Feb 25, 2022 1:42 PM UTC

@dolly

1. Check whether your Apache Sling Authentication Service Bundle is active or not (http://localhost:4502/system/console/bundles/)- if not active then try to activate it manually.
2. Stop the AEM instance - Go to folder crx-quickstart/repository/remove folder index -> Start the AEM
3. Go for a re-indexing - http://www.wemblog.com/2011/12/how-to-rebuild-index-in-cq5-wem.html
4. Check the ERROR log - if you are seeing any memory related logs (Java Heap Space (java.lang.OutOfMemoryError: Java heap space)

 

Regards,

Raja

Translate
joerghoh
joerghohAccepted solution
Employee
Feb 25, 2022 11:30 AM UTC

This is just a symptom. The underlying root cause is that the repository service cannot be started; there are 2 main reasons for that:

 

* The Oak repository is not starting. You should find error messages earlier in the log.

* Repoinit scripts fail to execute. Also these leave error messages in the logs.

 

Can you provide us more information?

Translate
VeenaVikraman
New Participant
Feb 25, 2022 8:50 AM UTC

This looks like a very common issue. It happens with me most of the time. 

Translate