CQ 5.5 Update 1: Service unavailable – AuthenticationSupport service missing. Cannot authenticate request.

Issue

CQ 5.5 Update 1 is now available on PackageShare.  If you have installed CQ 5.5 Update 1 you may encounter the following error in the error.log after restarting the CQ instance:

*ERROR* [0:0:0:0:0:0:0:1%0 [1340016598398] GET / HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.

Reason

After installing the Update 1 package, an info dialog appears which advises to “restart the instance”.  If you restart the instance immediately after the dialog appears, you will run into this problem.  Even after the dialog appears, the package keeps on installing behind the scenes.  This process is interrupted if the instance is restarted at this point.

You should wait until the installation has completed before restarting CQ5, checking the activity in error.log.  Once the error.log becomes quiet (after approx. 5 mins) it is safe to restart the instance.

Solution

After installing Update 1 check that all OSGi bundles have the status “ACTIVE” in the OSGi console.  Start any bundles that do not have the “ACTIVE” status and this should resolve the issue.

If the issue persists, you may have to reinstall CQ5 from a fresh copy, install the update 1 package, restart (wait until error.log shows no more activity) and finally reinstall your installed packages manually.

reference: (CQ5-18534)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 5.3/10 (12 votes cast)
CQ 5.5 Update 1: Service unavailable - AuthenticationSupport service missing. Cannot authenticate request., 5.3 out of 10 based on 12 ratings

8 Responses to CQ 5.5 Update 1: Service unavailable – AuthenticationSupport service missing. Cannot authenticate request.

  1. Pingback: CQ5 Error “AuthenticationSupport service missing. Cannot authenticate request.” » Biztech Enterprise Solutions

  2. Jason Floyd says:

    Will the upgrade actually complete if you’ve restarted before it was done? I had to start up CRX manually in the OSGi bundles interface and things started working again, but I’m concerned it didn’t fully upgrade.

  3. Jason Floyd says:

    Can you elaborate on “error.log becomes quiet” ? I’m still seeing various log entries 15 minutes after the package was installed every minute or so that are similar to:

    *INFO* [OsgiInstallerImpl] org.apache.sling.servlets.resolver Service [ServletResourceProvider for Servlets at [/libs/foundation/components/primary/sling/servlet/errorhandler/default.servlet, /libs/foundation/components/primary/sling/servlet/errorhandler/default],1640] ServiceEvent UNREGISTERING

  4. Unhappy CQ User says:

    Thank you for wasting 2 hours of my life.

  5. Pingback: CQ5 Error “AuthenticationSupport service missing. Cannot authenticate request.” » BizTech Enterprise Solutions NZ