AuthenticationSupport service missing. Cannot authenticate request | Community
Skip to main content
November 30, 2015
Solved

AuthenticationSupport service missing. Cannot authenticate request

  • November 30, 2015
  • 11 replies
  • 21332 views

Hi,

I had setup my local instance to interact with AWS S3 using this tutorial. http://cq-ops.tumblr.com/post/88962236474/how-to-configure-aem6-datastore-for-amazon-s3 and https://docs.adobe.com/docs/en/aem/6-1/deploy/platform/data-store-config.html.

However, when i start the instance i see the exception 

30.11.2015 17:22:49.720 *ERROR* [qtp2026726933-60] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
30.11.2015 17:22:53.491 *ERROR* [qtp2026726933-61] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
30.11.2015 17:22:53.492 *ERROR* [qtp2026726933-61] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependenci

The S3 logs are coming up as 

 

[senuser@marshall-assets-biztech01-assets-i-19c7a9c6 logs]$ cat error.log | grep 's3'
30.11.2015 17:16:00.074 *INFO* [OsgiInstallerImpl] crx-ext-s3 BundleEvent INSTALLED
30.11.2015 17:16:00.074 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Installed bundle crx-ext-s3 [248] from resource TaskResource(url=fileinstallad09f60708c0fb5aee04cdf46857bff9:/app/crx-quickstart/install/15/crx-ext-s3-1.0.44.jar, entity=bundle:crx-ext-s3, state=INSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:36:42:11:, Bundle-SymbolicName=crx-ext-s3, Bundle-Version=1.0.44], digest=1436426738000)
30.11.2015 17:16:00.075 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Set start level for bundle crx-ext-s3 [248] to 15
30.11.2015 17:16:00.094 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Started bundle crx-ext-s3 [248]
30.11.2015 17:16:17.130 *INFO* [FelixStartLevel] crx-ext-s3 BundleEvent RESOLVED
30.11.2015 17:16:17.897 *INFO* [FelixStartLevel] crx-ext-s3 BundleEvent STARTING
30.11.2015 17:16:17.901 *INFO* [FelixStartLevel] crx-ext-s3 BundleEvent STARTED

 

The Day CQ upgragde bundle is coming up as a fragment inside system bundles. Anything that i can be doing wrong?

I have not changed any repository.xml file settings i.e. no but only the s3 config that is residing within the install directory of crx-quickstart.

<DataStore class="com.day.crx.cloud.s3.ds.S3DataStore">
    <param name="config" value="$\{rep.home\}/aws.properties"/>
    <param name="secret" value="123456789"/>
</DataStore>

Will appreciate any response.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

Some Quick pointers:-

1. Make sure all bundles are installed and running?Start any bundles that do not have the “ACTIVE” status and this should resolve the issue.  Verify the same from http://dev.day.com/content/dam/day/onlinetool/COI.html

2. Check all your XML config files for CQ, especially if you remember editing one, "Content is not allowed in prolog" is a common error when the XML is malformed, or you have whitespace before the opening element of an XML file.

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__ebqm-hi_folks_imrun.html

Link:- http://blogs.adobe.com/dmcmahon/2012/06/18/cq-5-5-update-1-service-unavailable-authenticationsupport-service-missing-cannot-authenticate-request/

Link:- https://edivad.wordpress.com/2013/04/02/aemcq5-authenticationsupport-service-missing/

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

11 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 30, 2015

Hi 

Some Quick pointers:-

1. Make sure all bundles are installed and running?Start any bundles that do not have the “ACTIVE” status and this should resolve the issue.  Verify the same from http://dev.day.com/content/dam/day/onlinetool/COI.html

2. Check all your XML config files for CQ, especially if you remember editing one, "Content is not allowed in prolog" is a common error when the XML is malformed, or you have whitespace before the opening element of an XML file.

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__ebqm-hi_folks_imrun.html

Link:- http://blogs.adobe.com/dmcmahon/2012/06/18/cq-5-5-update-1-service-unavailable-authenticationsupport-service-missing-cannot-authenticate-request/

Link:- https://edivad.wordpress.com/2013/04/02/aemcq5-authenticationsupport-service-missing/

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni