Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

AuthenticationSupport service missing while restarting aem instance

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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?

View solution in original post

0 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Employee Advisor

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?

Avatar

Community Advisor

@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