Highlighted

AuthenticationSupport service missing. Cannot authenticate request.

Avatar

Avatar

katkoorj

Avatar

katkoorj

katkoorj

14-07-2016

Hi All, I'm facing the issue while starting the AEM server(6.0 version). Before that i have trying to fix the huge amount of the disk space issue. For that i have installed the Adobe Service Package(AEM 6.0 Service Pack 1-1.0.zip) and did the Reducing the repository size activity(run the oak-run.jar). After that i'm trying to start the authoring server but i'm getting the below error

AuthenticationSupport service missing. Cannot authenticate request.

Here is the logfile: 

Attached the full logfile.

14.07.2016 17:01:38.221 *ERROR* [qtp2112089107-30] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
14.07.2016 17:01:38.221 *ERROR* [qtp2112089107-30] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check Authentication

I have checked the Felix console and all bundle are active. 

Kindly help me on this. Thanks in advance. 

Replies

Highlighted

Avatar

Avatar

tc94524330

Avatar

tc94524330

tc94524330

14-07-2016

Hi,

If your problem still not resolved, restart the server once and make sure all bundles are up.Check the logs while start up to see whether you have any stack traces for any bundle dependency missing or so. I have seen scenarios like these where bundle looks started but in logs there will be a Null pointer. 

You mentioned logs are attached but i don't see any attachment.  

Just a suggestion: i am not sure whether you did it on production authoring or Dev Authoring but important thing is always take a clone or backup of the instance and start it in different port and install hot fixes. By this way you can be pretty sure what issues you will face while you are installing hot fixes. Try these hot fixes in your local also. 

Highlighted

Avatar

Avatar

srikanth427

Avatar

srikanth427

srikanth427

14-07-2016

Stop AEM instance and delete Index files in crx-quickstart folder. restart Instance. This happen when your instance shutdown abnormally. sometimes it corrupts indexes.

Highlighted

Avatar

Avatar

Tuhin_Ghosh

Avatar

Tuhin_Ghosh

Tuhin_Ghosh

14-07-2016

Agreeing 100% with what Srikanth said.

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

14-07-2016

Hi

Please 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 AEM 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.

Also, this could be the case, where you might have corrupted the indexes [Solution:- Stop AEM instance and delete Index files in crx-quickstart folder. restart Instance], please refer to :- https://forums.adobe.com/thread/1026290?start=0&tstart=0

Last, check if bundles's dependencies are not present or packages dependencies are met or not.

 

Thanks and Regards

Kautuk Sahni

Highlighted

Avatar

Avatar

Syed_Abdul_Kare

Avatar

Syed_Abdul_Kare

Syed_Abdul_Kare

18-10-2017

Just to add more, you can find the all the index files under crx-quickstart\repository\index

Highlighted

Avatar

Avatar

LincolnLDlamini

Avatar

LincolnLDlamini

LincolnLDlamini

15-05-2018

Thanks srikanth427 this helped me out

Highlighted

Avatar

Avatar

BattiniSravan

Avatar

BattiniSravan

BattiniSravan

10-08-2020

Even after deleting the index files, I see the same error.