Can't get the list of loaded modules with apache2 -M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ServerRoot

The 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux