Unable to setup and run Dispatcher on Linux VM based on Azure Cloud | Community
Skip to main content
Level 2
December 3, 2021

Unable to setup and run Dispatcher on Linux VM based on Azure Cloud

  • December 3, 2021
  • 2 replies
  • 1230 views

Hi All,

 

We are facing an issue while trying to setup Dispatcher on Linux VM based on Azure Cloud. Added the environment details below for reference.

Seems like its unable to recognise the environment variables in httpd file under /etc/sysconfig. Does anyone have any idea what could be wrong?

 

 

Environment Details:

AEM - 6.5.5

Dispatcher
Standard D2 v3 (2 vcpus)
memory - 16GB
space - 512GB
Local Firewalled  , Azure NSG
Azure NIC
RedHat Ent - 8.2 x64
dispatcher-apache2.4-linux-x86_64-ssl1.1-4.3.3.tar.gz
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

joerghoh
Adobe Employee
Adobe Employee
December 4, 2021

Unfortunately this question does not provide information which are necessary to better understand what is going wrong. I understand that you assume that environment variables defined in /etc/sysconfig are not reflected in the dispatcher config.

 

Which documentation are you following? What are the environment variables you find not getting reflected in the dispatcher?

 

Level 2
December 5, 2021

There are environment level variables related to author and publisher that we define in httpd file under sysconfig such as AUTHOR_IP, AUTHOR_PORT, AUTHOR_DEFAULT_HOSTNAME, AUTHOR_DOCROOT, PUBLISH_IP, PUBLISH_PORT, PUBLISH_DEFAULT_HOSTNAME and PUBLISH_DOCROOT which we use throughout in our config files such as vhost etc. 

 

I am following the way its been setup in AMS servers. Its just this time that its not working on the VM based Linux environment. We've tried changing permissions, stopping firewall but its unable to parse them and throw error whenever we validate the dispatcher syntax to reflect the changes.

joerghoh
Adobe Employee
Adobe Employee
December 7, 2021

Do you startscript for httpd source this file?

Raja-Karuppsamy
Community Advisor
Community Advisor
December 26, 2021

@anuraggoswami3 Please try to include the /etc/sysconfig path in your httpd configuration (httpd.conf) or Update your environment variables under /etc/httpd/conf.d/variable/ (custom or global file) and include file path in your vhost file or httpd.conf file..

 

Like : Include conf.d/variables/custom.vars 

 

Regards,

Raja