503 cq AuthenticationSupport service missing. Cannot authenticate request. | Community
Skip to main content
sai111
December 18, 2018
Question

503 cq AuthenticationSupport service missing. Cannot authenticate request.

  • December 18, 2018
  • 13 replies
  • 21110 views

Hi ,

Instance am working when I opened today suddenly started stating AuthenticationSupport service missing. Cannot authenticate request.

I find all the bundles are active , status of Apache Sling Authentication Serviceorg.apache.sling.auth.core is active and I tried deleting index folder under crx-quickstart/repository and restarting the server but nothing worked ,

Startup is happening but still authentication error persists

18.12.2018 21:32:36.438 *ERROR* [qtp1998025192-167] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.

18.12.2018 21:32:36.438 *ERROR* [qtp1998025192-167] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

Please help .. any pointers...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.

13 replies

Adobe Employee
December 18, 2018

Possible reason is missing Repository service. means that Oak repository service isn't registered successfully. In other words, repository isn't available to do authentication for Apache Sling. There might be numerous reasons behind repository not coming up.

Just check if you are starting the AEM as super/admin user.

Thanks

Wasil

sai111
sai111Author
December 18, 2018

Hi Thanks for the reply ...am starting aem as admin, yesterday my machine got shut abnormally and till last night everything is working fine ....that's the only thing which went wrong last day....will there be anything else which gets corrupted because of abnormal system shutdown which might have caused this???

Adobe Employee
December 18, 2018

You should refer to error.log and check for errors if anything could be fixed. If you have backup please restore.

Thanks

Wasil

sai111
sai111Author
December 18, 2018

Error.log is showing Authentication Service error apart from this there is no other error as no upgrade is done, I do not have current instance backup where I have my code that's the sole reason I need help to restore the instance  please

edubey
December 19, 2018
sai111
sai111Author
December 19, 2018

Bundles url is accessible and I do find all bundles are active from the start this issue happened

Adobe Employee
December 20, 2018

Create DEBUG logger for "org.apache.jackrabbit.oak.segment" in http://<host>:<port>/system/console/slinglog in a separate log file. Restart the instance, check what information we get there.

sai111
sai111Author
January 4, 2019
In the debug  log for oak segment I do see Segment not found error
org.apache.jackrabbit.oak.segment.SegmentNotFoundException
org.apache.jackrabbit.oak.segment.SegmentNotFoundException: Segment f5c15052-5c4c-4931-a8bd-e502ac2bb2fd not found
     at org.apache.jackrabbit.oak.segment.file.FileStore$8.call(FileStore.java:602)
     at org.apache.jackrabbit.oak.segment.file.FileStore$8.call(FileStore.java:542)
     at org.apache.jackrabbit.oak.segment.SegmentCache.getSegment(SegmentCache.java:95)
     at org.apache.jackrabbit.oak.segment.file.FileStore.readSegment(FileStore.java:542)
     at org.apache.jackrabbit.oak.segment.SegmentId.getSegment(SegmentId.java:125)
     at org.apache.jackrabbit.oak.segment.Record.getSegment(Record.java:70)
     at org.apache.jackrabbit.oak.segment.MapRecord.getEntry(MapRecord.java:160)
     at org.apache.jackrabbit.oak.segment.MapRecord.getEntry(MapRecord.java:192)
     at org.apache.jackrabbit.oak.segment.MapRecord.getEntry(MapRecord.java:192)
     at org.apache.jackrabbit.oak.segment.MapRecord.getEntry(MapRecord.java:192)
     at org.apache.jackrabbit.oak.segment.SegmentNodeState.getChildNode(SegmentNodeState.java:412)
     at org.apache.jackrabbit.oak.plugins.index.property.strategy.UniqueEntryStoreStrategy.count(UniqueEntryStoreStrategy.java:190)
     at org.apache.jackrabbit.oak.plugins.index.property.strategy.UniqueEntryStoreStrategy.count(UniqueEntryStoreStrategy.java:204)
     at org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexPlan.<init>(PropertyIndexPlan.java:148)
sai111
sai111Author
January 5, 2019

Other than backup is there anything in particular I can do under crx-quickstart to resolve this and get the instance back...because fully active nd working instance suddenly crashed but still I find all bundles r active ..please help