AEM 6.5 HTTP 503 Error AuthenticationSupport service missing. Cannot authenticate request
Hello Members,
I have a AEM 6.5 OSGi framework on-premise Author and Publisher instances running in Windows OS. It was working fine for a long time. We took a snapshot of the Windows server and we used the Window's Services to restarted the Author and Publisher instances. The Publisher instance is running fine, but the Author instance is not. The error.log in Author instance shows the following error:
19.03.2021 15:27:41.963 *ERROR* [qtp1031644809-61] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request. 19.03.2021 15:27:41.964 *ERROR* [qtp1031644809-61] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
The URL to server:port/aem/start.html displays the following error message in the browser:
HTTP ERROR 503 Problem accessing /aem/start.html. Reason: AuthenticationSupport service missing. Cannot authenticate request.
The link to crx - http://server:port/crx/de/index.jsp is displaying the following error:
HTTP ERROR 503 Problem accessing /crx/de/index.jsp. Reason: Service Unavailable
http://server:port/crx/packmgr/index.jsp gives the following error:
Problem accessing /crx/packmgr/index.jsp. Reason:
AuthenticationSupport service missing. Cannot authenticate request.
I do see that the Author's crx-quickstart/repository only has cache, diff-cache and index folders. It does not have the segmentstore, datastore and blobids folders, but these 3 folders exist in the Publisher instance.
I did try to rename the index folder and restarted the Author instance, but it did not create a new index folder. The user has full permissions to the folder.
Our team tried to revert back to previous state by using the snapshot and server backup from last month, but the issue is the same.
I can access the /system/console/memoryusage and it uses only 10% of memory.
The below links work in Author and all the bundles are active. The login is like a pop-up near the browser tab, and it is not the usual login page that is used to access these links.
http://server:port/system/console/slinglog
http://server:port/system/console/bundles
1. Is there any suggestion on what to try next to recover from this issue.
2. Are the segmentstore, datastore and blobids folders needed in Author's crx-quickstart/repository? If yes, is it possible to upload specific packages or drop it in a specific folder structure
3. Are there any specific steps to be taken to backup crx repository when server is backed up, or a snapshot is taken?
Thanks in advance for the response,
Leena
