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

Re: apache2 error after upgrade Buster->Bookworm



I would like to get roundcube back working as Mutt although being ever so quick seems to have quite a lot of daunting options and not brave enough to try to send with.

~$ systemctl status apache2.service
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enab>
     Active: active (running) since Wed 2024-10-23 09:04:51 BST; 1 day 4h ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 4137 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SU>
    Process: 7294 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=>
   Main PID: 4141 (apache2)
      Tasks: 6 (limit: 2272)
     Memory: 10.4M
        CPU: 2.465s
     CGroup: /system.slice/apache2.service
             ├─4141 /usr/sbin/apache2 -k start
             ├─7299 /usr/sbin/apache2 -k start
             ├─7300 /usr/sbin/apache2 -k start
             ├─7301 /usr/sbin/apache2 -k start
             ├─7302 /usr/sbin/apache2 -k start
             └─7303 /usr/sbin/apache2 -k start

Oct 23 09:04:51 rapunzel systemd[1]: Starting apache2.service - The Apache HTTP>
Oct 23 09:04:51 rapunzel systemd[1]: Started apache2.service - The Apache HTTP >
Oct 24 00:00:02 rapunzel systemd[1]: Reloading apache2.service - The Apache HTT>
Oct 24 00:00:02 rapunzel systemd[1]: Reloaded apache2.service - The Apache HTTP>
lines 1-22/22 (END)

~$ apachectl -t -D DUMP_RUN_CFG
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

~$ apachectl -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 headers_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 proxy_module (shared)
 proxy_fcgi_module (shared)
 python_module (shared)
 reqtimeout_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)


~$ ls -l /etc/apache2/mods-enabled/
total 0
lrwxrwxrwx 1 root root 36 Mar 30  2018 access_compat.load -> ../mods-available/access_compat.load
lrwxrwxrwx 1 root root 28 Mar 30  2018 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 Mar 30  2018 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 authn_core.load -> ../mods-available/authn_core.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 authz_core.load -> ../mods-available/authz_core.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Mar 30  2018 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 Mar 30  2018 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 30 Mar 30  2018 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 Mar 30  2018 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 Mar 30  2018 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 Mar 30  2018 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 Mar 30  2018 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 29 Mar 30  2018 filter.load -> ../mods-available/filter.load
lrwxrwxrwx 1 root root 30 Jan  9  2019 headers.load -> ../mods-available/headers.load
lrwxrwxrwx 1 root root 27 Mar 30  2018 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 Mar 30  2018 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Mar 31  2018 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf
lrwxrwxrwx 1 root root 34 Mar 31  2018 mpm_prefork.load -> ../mods-available/mpm_prefork.load
lrwxrwxrwx 1 root root 34 Mar 30  2018 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 Mar 30  2018 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 28 Dec 14  2018 proxy.conf -> ../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 Dec 14  2018 proxy_fcgi.load -> ../mods-available/proxy_fcgi.load
lrwxrwxrwx 1 root root 28 Dec 14  2018 proxy.load -> ../mods-available/proxy.load
lrwxrwxrwx 1 root root 29 Jul 26  2019 python.load -> ../mods-available/python.load
lrwxrwxrwx 1 root root 33 Mar 30  2018 reqtimeout.conf -> ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 Mar 30  2018 reqtimeout.load -> ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 31 Mar 30  2018 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 Mar 30  2018 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 36 Mar 31  2018 socache_shmcb.load -> ../mods-available/socache_shmcb.load
lrwxrwxrwx 1 root root 26 Mar 31  2018 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 Mar 31  2018 ssl.load -> ../mods-available/ssl.load
lrwxrwxrwx 1 root root 29 Mar 30  2018 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 Mar 30  2018 status.load -> ../mods-available/status.load

On Thu, 24 Oct 2024 at 11:58, Michel Verdier <mv524@free.fr> wrote:
On 2024-10-23, aces and eights wrote:

> $ apache2 -V
> [Wed Oct 23 08:57:39.760030 2024] [core:warn] [pid 4112:tid 4112] AH00111:
> Config variable ${APACHE_RUN_DIR} is not defined
> apache2: Syntax error on line 80 of /etc/apache2/apache2.conf:
> DefaultRuntimeDir must be a valid directory, absolute or relative to
> ServerRoot
> Server version: Apache/2.4.62 (Debian)

Can you provide us

systemctl status apache2.service
apachectl -t -D DUMP_RUN_CFG
apachectl -t -D DUMP_MODULES
or
ls -l /etc/apache2/mods-enabled/


Reply to: