Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Error getting the default node var/linkchecker

Avatar

Level 2

Hi all,

 

In my AEM project, there is an url link which is located in /etc/designs/properties/global.properties. I have updated that link and then I got the following error.

 

*ERROR* [sling-default-13447-com.day.cq.rewriter.linkchecker.impl.LinkInfoStorageImpl.2950] com.day.cq.rewriter.linkchecker.impl.LinkInfoStorageImpl Error getting the default node var/linkchecker. Please make sure it exists

 

linkchecker.JPG

 

I checked the var/linkchecker. The folder is there.

 

Please help.

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @Snow123 Could you please recheck the link which you have modified if it valid or invalid or any syntax error (Try reverting to old URL and see if it is visible on linkchecker), It seems to be break on step-2 as per adobe standard document. 

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/external-link...

  1. Whenever a content author saves any link to a page, an event handler is triggered.
  2. The event handler traverse all content under /content and checks for new or updated links and adds them to a cache for the Link Checker.
  3. The Day CQ Link Checker Service then executes on a regular schedule to check the entries in the cache for valid syntax.
  4. The syntax-validated links then appear in the External Link Checker window. However they will be in a Pending state.
  5. The Day CQ Link Checker Task then executes on a regular basis to validate the links by making a GET call.
  6. The Day CQ Link Checker Task then updates the entries in the External Link Checker window with the results of the GET calls.

 

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @Snow123,

 

Check the answer here to get the location of the stored links: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-linkchecker/td-p/31536...

 

Find the link that is giving an error and try to fix it. If you feel that the link you have added is correct and it is still throwing the error, try adding x-cq-linkchecker="skip" attribute to the link to skip the link checking.

 

Reference link: http://www.wemblog.com/2011/10/how-to-make-sure-that-links-are-always.html

 

Hope this helps!

 

Thanks,
Kiran Vedantam.

Avatar

Level 2

Hi @Snow123 - Could you please verify your link on http://localhost:4502/etc/linkchecker.html

Change domain as per your environment.  It will provide you better understanding how the values are getting fetched from /var/linkchecker and link checker list is updated. 

Also you can refer to below article from one of the community member if it helps in investigating further.

http://www.aemcq5tutorials.com/tutorials/aem-link-checker-comprehensive-guide/

Thanks

Avatar

Level 2

Hi @VKumar2 ,

 

My link doesn't exist in http://localhost:4502/etc/linkchecker.html . How can I register my link in it? Actually, I didn't change domain.  I only changed the param value of the URL existing in AEM file.

Avatar

Correct answer by
Level 2

Hi @Snow123 Could you please recheck the link which you have modified if it valid or invalid or any syntax error (Try reverting to old URL and see if it is visible on linkchecker), It seems to be break on step-2 as per adobe standard document. 

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/external-link...

  1. Whenever a content author saves any link to a page, an event handler is triggered.
  2. The event handler traverse all content under /content and checks for new or updated links and adds them to a cache for the Link Checker.
  3. The Day CQ Link Checker Service then executes on a regular schedule to check the entries in the cache for valid syntax.
  4. The syntax-validated links then appear in the External Link Checker window. However they will be in a Pending state.
  5. The Day CQ Link Checker Task then executes on a regular basis to validate the links by making a GET call.
  6. The Day CQ Link Checker Task then updates the entries in the External Link Checker window with the results of the GET calls.