EC2 instance not loading Apache envvars file

Asked

Viewed 39 times

1

Today at dawn I had a small problem with one of the instances of my application. I saw that the Apache was using a lot of memory, and I decided to restart it with a /etc/init.d/apache2 restart. However, apache did not go up because some variables it uses (for the user and log file) were not being loaded.

At the end of the day, I saw that the file /etc/apache2/envvars was not being loaded, so I had to put his own variables in the Apache configuration file. At the end of the day, the question remains: why has this file not been loaded anymore?

  • Did you find a solution? Poste as an answer to help other people.

1 answer

0


Solved.

I was trying to run the process with the wrong user - and so the file variables /etc/apache2/envvars were not being loaded.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.