Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Dispatcher

Avatar

Level 5

Hi i am setting up dispatcher on my machine but i am getting below error:

I have followed following link:

AEM Dispatcher setup for Linux | TO THE NEW Blog

http://www.aemcq5tutorials.com/tutorials/set-up-dispatcher-in-aem/

18 Replies

Avatar

Level 10

the first snapshot points at line #4 and line #132 of dispatcher.any. Check the syntax at these two lines

second snapshot points to /var/www/html/xwlhire. you haven't provided write permissions to the user on 'xelhire' folder.

If you are not sure of the user name do  ps -ef |grep httpd to find the user name and then provide write permissions to user via chmod

third snapshot - click on EDIT > turn on enable checkbox and save > Click on test connection and see if it works?

you may have to check if localhost is defined as 127.0.0.1 in /etc/hosts otherwise define it.

Avatar

Level 5

thanks for letting me know all these things now i am not able to understand that my dispatcher is running well or not. Can you please tell me how can i assure?

Avatar

Level 5

can you please also let me know that which things i need to change in dispatcher.any file. I am not able to understand where should i chnage in config or where not

Avatar

Level 10

Could you share the latest error/screenshots? Were you able to make the modifications mentioned above?

Avatar

Administrator

shivangim98577885 did you get this working?



Kautuk Sahni

Avatar

Level 10

Please consult with the official Adobe documentation on this subject -- Installing Dispatcher

Avatar

Level 10

Also - for ppl reading this thread and wanting more information on this subject - watch this GEMS Session - Dispatcher - New features and best practices

Avatar

Level 5

Screenshot from 2019-01-31 11-45-17.png

I am not able to understand which things i need to change in dispatcher.any file.

Avatar

Level 10

Could you share line #4, 132, 42?

the last line is just a warning that you have allowed /glob * in dispatcher.any file, it won't break the app but you should consider to use whitelisting - deny all and allow specifics

Avatar

Level 5

no i am not getting documentroot line in apache.conf file

Avatar

Level 5

i am not getting what things i need to allow or deny in the dispatcher.any file. can you help me?

Avatar

Level 10

The screenshots show just the warnings as mentioned by [W]

you should be able to access AEM server without any issues. The warning is at line #77 for allowing /glob *  but that wouldn't restrict you to access AEM

Avatar

Level 10

This seems to be apache configuration warnings, nothing related to dispatcher. Could you share httpd.conf? Validate the hostname is set, appropriate write permissions are allocated to root/apache user, change log level and check virtual host config

something (probably # of threads or timeout) is shutting it down and then it gets back up & running again with new pid.

check this -

Apache is OK, but what is this in error.log - [mpm_prefork:notice]? - Server Fault

https://ubuntuforums.org/showthread.php?t=1404405