Hi, I have Apache 2.4.48 installed in Ubuntu 20.04 by adding the ondrej-ppa. When I do
sudo apache2 -M
(and other apache2 commands as well) I get
[Mon Jul 26 19:03:15.930435 2021] [core:warn] [pid 10739] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 82 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRootThe envvars file does define those variables and I didn't touch it from installation. The only thing I did is to add to the apache2.conf file a global ServerName directive, because it was complaining by reloading that it couldn't find the fully qualified domain name.
Now it reloads and restarts fine, but I get that error. The error log only shows my restarts and reloads, nothing else. I didn't find anything useful on the net. How could I go about troubleshooting this?
Thanks,
Andrea
Manxa 1876, S.L. Ctra. Les Tries, 85.17800 Olot (Girona) Tel. 972 27 45 30 www.manxa.com |
Manxa Industrial Manxa Ferros Manxa Ferreteria i Parament de la Llar |
El contingut d’aquest correu electrònic i els seus annexos és estrictament confidencial. En el cas que no siguis el destinatari i hagis rebut aquest missatge per error, preguem que ho comuniquis al remitent i procedeixis a la seva eliminació, sense difondre, emmagatzemar o copiar el seu contingut. Imprimeix aquest correu només si és necessari.
El contenido de este correo electrónico y sus anexos es estrictamente confidencial. En el caso de que no seas el destinatario y hayas recibido este mensaje por error, rogamos lo comuniques al remitente y procedas a su eliminación, sin difundir, almacenar o copiar su contenido. Imprimir este correo solo si es necesario.
The content of this email and its attachments is strictly confidential. If you are not the recipient and you have received this message by mistake, please notify the sender and proceed to its elimination, without spreading, storing or copying its content. Print this email only if necessary.
Le contenu de cet e-mail et de ses pièces jointes est strictement confidentiel. Dans le cas où vous n'êtes pas le destinataire et avez reçu ce message par erreur, veuillez en informer l'expéditeur et procéder à sa suppression, sans diffuser, stocker ou copier son contenu. Imprimez cet e-mail uniquement si nécessaire.