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

Avatar

Avatar
Level 1
apoorva_arza
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
apoorva_arza
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
apoorva_arza
Level 1

31-10-2020

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

586 likes

Total Posts

734 posts

Correct reply

246 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

586 likes

Total Posts

734 posts

Correct reply

246 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

02-11-2020

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.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

273 likes

Total Posts

165 posts

Correct reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

273 likes

Total Posts

165 posts

Correct reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile
ChitraMadan
MVP

31-10-2020

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.

 

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

01-11-2020

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