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

SOLVED

AEM restart issue. AuthenticationSupport service missing. Cannot authenticate request.

apoorva_arza
Level 1
Level 1

I am facing the classic HTTP error 503 while restarting my AEM instance.

Error logs state the following

Possible reason is missing repository service. Check AuthenticationSupport dependencies

 

I have checked that my bundle "Apache Sling Authentication Service (org.apache.sling.auth.core)" is active

I have followed the steps mentioned in this post

I have given the instance a good one hour to start completely

None of the above steps helped fix my issue.

 

Please suggest any methods you're aware of to troubleshoot this issue. I'm so stuck.

 

1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @apoorva_arza,

Please check all the available existing error.log files(logs rotated with previous days) in your local instance before you get to notice the exact log statement - "AuthenticationSupport service missing".

Share the initial statement that logged as "Error" level. 

Recently ran into the issue in one of my local instance and the original/initial cause was  Java Heap Space (java.lang.OutOfMemoryError: Java heap space) which then eventually lead to "AuthenticationSupport service missing" - While setting up the new instance, I missed to configure the JVM options in start.bat and was using the default one.

View solution in original post

5 Replies
ChitraMadan
Community Advisor
Community Advisor

Hi @apoorva_arza ,

 

Try to delete below 2 files and restart the instance:

 

/author/crx-quickstart/repository/segmentstore/repo.lock

/author/crx-quickstart/launchpad/felix/cache.lock

 

If this also don't work, try deleting the index folder and restarting again, which will build your indexes again and might take some time to start.

 

apoorva_arza
Level 1
Level 1

Hi @ChitraMadan, thanks for your answer. The above two solutions did not work for me unfortunately.

Arun_Patidar
Community Advisor
Community Advisor

I did not do anything, just deleted below file and it works.
/author/crx-quickstart/launchpad/felix/cache.lock

 

saibul
Level 4
Level 4

/publish/crx-quickstart/launchpad/felix/cache.lock doesn't help me

 

Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @apoorva_arza,

Please check all the available existing error.log files(logs rotated with previous days) in your local instance before you get to notice the exact log statement - "AuthenticationSupport service missing".

Share the initial statement that logged as "Error" level. 

Recently ran into the issue in one of my local instance and the original/initial cause was  Java Heap Space (java.lang.OutOfMemoryError: Java heap space) which then eventually lead to "AuthenticationSupport service missing" - While setting up the new instance, I missed to configure the JVM options in start.bat and was using the default one.

View solution in original post