Hi,
I restarted the server by stopping it, checked if any process is running and then started it again. It showed that it is started but the server is not up. I checked the logs and it shows the following error:
GET / HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
I checked the memory usage and it is fine(47% used)
Does anybody have an idea why this error is coming and why the server is not up?
Solved! Go to Solution.
After deleting index if its not recoverable then there are some issue with your tar balls.
The best way to recover using oak-run
java -jar /tmp/oak-run-*.jar checkpoints /crx-quickstart/repository/segmentstore
java -Dtar.memoryMapped=true -Xms8g -Xmx8g -jar /tmp/oak-run-*.jar check -d1 -p /crx-quickstart/repository/segmentstore
[main] INFO o.a.j.o.p.s.f.t.ConsistencyChecker – Found latest good revision 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684
4) Revert the repository to this revision by editing ./crx-quickstart/repository/segmentstore/journal.log and deleting all lines after the line containing the latest good revision.
I.e. after 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684 The bad one (which is bd57b402-6579-4f00-a9b7-24b30a954db0:261492)
5)Save journal.log file.
6) Delete the file ‘repo.lock’ and restart server.
Are you using S3 DataStore ?
Views
Replies
Total Likes
Hi Kautuksahni,
This has been done already but still it is showing the same. Is there a possibility that the AEM JAR is corrupted?
Views
Replies
Total Likes
After deleting index if its not recoverable then there are some issue with your tar balls.
The best way to recover using oak-run
java -jar /tmp/oak-run-*.jar checkpoints /crx-quickstart/repository/segmentstore
java -Dtar.memoryMapped=true -Xms8g -Xmx8g -jar /tmp/oak-run-*.jar check -d1 -p /crx-quickstart/repository/segmentstore
[main] INFO o.a.j.o.p.s.f.t.ConsistencyChecker – Found latest good revision 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684
4) Revert the repository to this revision by editing ./crx-quickstart/repository/segmentstore/journal.log and deleting all lines after the line containing the latest good revision.
I.e. after 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684 The bad one (which is bd57b402-6579-4f00-a9b7-24b30a954db0:261492)
5)Save journal.log file.
6) Delete the file ‘repo.lock’ and restart server.
I'm getting this error on running, java -jar /tmp/oak-run-*.jar checkpoints /crx-quickstart/repository/segmentstore
Unable to access jarfile /tmp/oak-run-*.jar