Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Skip: Deploy to dispatcher Reason: no dispatcher configuration packages

israel_sanchez
Level 2
Level 2

Hello all. Our project is running in the Adobe Cloud Manager, since the first implementation of the project all pipelines have run well but in the log, I can see the following error:

 

Skip: Deploy to dispatcher:dispatcher1uswest1 in xxx-prod [id:xxx]. Reason: no dispatcher configuration packages

 

 

I reviewed the project and could see the dispatcher module was missing in the main pom, then I added it, now when I run a new pipeline in the Adobe Cloud Manager I got the following error:

 

Deploy to instanceId=dispatcher2uswest1 failed with errorCode=10011001 message=Failed to start Apache due to syntax error in deployed configurations, AH00526: Syntax error on line 1 of /etc/httpd/conf.d/enabled_vhosts/aem_author.vhost:
Invalid command '../available_vhosts/aem_author.vhost', perhaps misspelled or defined by a module not included in the server configuration

 

In the mentioned file all look good, so can someone help me to fix this error?

Thanks in advance.

1 Accepted Solution
Albin_Issac
Correct answer by
Community Advisor
Community Advisor

If all the required configurations files are available inside the module, I suspect the issue is with symlinks, please refer to the following URL for more details on symlinks in dispatcher configurations - https://medium.com/tech-learnings/aem-dispatcher-configurations-symlinks-8f52f554ffa5

 

Regards

Albin I

www.albinsblog.com

View solution in original post

5 Replies
ibishika
Level 4
Level 4

Make sure that you have added the dispatcher module references to all the required places in the configs. Also check if the paths are correct.

kishorekumar14
Level 7
Level 7

Hi @israel_sanchez ,

 

When you enabled this dispatcher module and pushed to cloud for the first time, you pushed from a windows or linux ?

Albin_Issac
Correct answer by
Community Advisor
Community Advisor

If all the required configurations files are available inside the module, I suspect the issue is with symlinks, please refer to the following URL for more details on symlinks in dispatcher configurations - https://medium.com/tech-learnings/aem-dispatcher-configurations-symlinks-8f52f554ffa5

 

Regards

Albin I

www.albinsblog.com

View solution in original post

prashantonkar
Level 4
Level 4

This error usually comes because of the symlinks which are absent in your dispatcher conf.d/enabled_hosts folder. Symlinks are similar to shortcuts in windows. But seems like windows hates symlinks. If you have copied your dispather configs from some where else, then the symlinks wouldn't have copied. Its also difficult to manualy create symlinks. If you open the symlink files in github aem archetype repo it shows like this:

../available_vhosts/aem_author.vhost

This wont work.

What you need to do ? You can try below approaches:

1. Restore default dispatcher configs from backup (Adobe generally has this. You need to reach out to them). Then download the files from there using SSH. and use xcopy command in windows to copy symlink files.

2. In enabled hosts folder, copy paste the content from available_hosts folder.

kautuk_sahni
Community Manager
Community Manager

@prashantonkar  Good to see you back inside the AEM Community. Keep the great work of assisting others going. Looking forward to more contributions from you.