Getting an AuthenticationSupport service missing. Cannot authenticate request.

Avatar

Avatar

abn93

Avatar

abn93

abn93

08-09-2020

I have AEM 6.5.4 and I am unable to login to the AEM publish instance over the 4503 port. When I try logging into the crx/de page, I am getting the below message :

HTTP ERROR 503

Problem accessing /crx/packmgr/index.jsp. Reason:

    AuthenticationSupport service missing. Cannot authenticate request.

I am also unable to check the bundles state as I keep getting a pop up box to login even after entering the correct credentials. I have also tried the following but to no avail:

 

1) Stopped aem java process.

2) Removed the /crx-quickstart/repository/index folder.
3) Ran a consistency check but could not find any good revisions (Used oak-run-1.10.8.jar) :
java -Xmx6000m -jar oak-run-*.jar check --bin=-1 /path/to/crx-quickstart/repository/segmentstore

4) Removed all ./crx-quickstart/repository/segmentstore/*.bak files.

5) Ran the checkpoint clean-up to remove orphaned checkpoints:

java -Xmx6000m -jar oak-run-*.jar checkpoints /path/to/crx-quickstart/repository/segmentstore rm-unreferenced

6) Finally compacted the repository:

java -Xmx6000m -jar oak-run-*.jar compact /path/to/crx-quickstart/repository/segmentstore/

 

The compaction failed with the below error:

13:38:33.737 [main] ERROR o.a.j.o.s.SegmentNotFoundExceptionListener - Segment not found: 0a8221f8-e84d-4c6c-a91d-ee87067e9f1e. SegmentId age=29ms
org.apache.jackrabbit.oak.segment.SegmentNotFoundException: Segment 0a8221f8-e84d-4c6c-a91d-ee87067e9f1e not found

 

7) Started AEM and it throws the same error on the crx/de page.

 

Also, the error.log file shows the below error:

08.09.2020 13:10:50.627 *ERROR* [qtp249820188-60] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
08.09.2020 13:10:50.628 *ERROR* [qtp249820188-60] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

 

Please let me know how this can be resolved.

 

@Shashi_Mulugu 


View Entire Topic

Avatar

Avatar

ChitraMadan

MVP

Avatar

ChitraMadan

MVP

ChitraMadan
MVP

08-09-2020

Hi @abn93 ,

 

Try to delete these 2 files and start the instance again:

 

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

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