Mailing List Archive

[Bug 65360] New: DefaultRuntimeDir error, 500
https://bz.apache.org/bugzilla/show_bug.cgi?id=65360

Bug ID: 65360
Summary: DefaultRuntimeDir error, 500
Product: Apache httpd-2
Version: 2.4.41
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_auth_digest
Assignee: bugs@httpd.apache.org
Reporter: bajcsielias78@gmail.com
Target Milestone: ---

I updated apache2 with sudo apt upgrade, then apache couldn't start, because of
DefaultRuntimeDir

therealone@compaq:~$ apache2
[Mon Jun 07 06:30:48.491316 2021] [core:warn] [pid 22224] 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

Tried starting with sudo apache2ctl start, it started, but internal server
error.

[Sun Jun 06 15:35:50.339516 2021] [mpm_event:notice] [pid 854:tid
139798139325504] AH00491: caught SIGTERM, shutting down [Sun Jun 06
15:35:53.121416 2021] [mpm_event:notice] [pid 3100:tid 140138304855104]
AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal
operations
[Sun Jun 06 15:35:53.121729 2021] [core:notice] [pid 3100:tid 140138304855104]
AH00094: Command line: '/usr/sbin/apache2' [Sun Jun 06
15:35:54.604603 2021] [core:alert] [pid 3101:tid 140138197804800] [client
192.168.1.7:59106] /var/www/html/.htaccess: Invalid command 'always', perhaps
misspelled or defined by a module not included in the server configuration
[Sun Jun 06 15:35:54.737099 2021] [core:alert] [pid
3101:tid 140138164233984] [client 192.168.1.7:59110] /var/www/html/.htaccess:
Invalid command 'always', perhaps misspelled or defined by a module not
included in the server configuration, referer:
https://192.168.1.8/download_canary_build.html [Sun Jun 06
15:35:55.916539 2021] [core:alert] [pid 3101:tid 140138289510144] [client
192.168.1.7:59116] /var/www/html/.htaccess: Invalid command 'always', perhaps
misspelled or defined by a module not included in the server configuration
[Sun Jun 06 15:35:56.051634 2021] [core:alert] [pid
3101:tid 140138189412096] [client 192.168.1.7:59120] /var/www/html/.htaccess:
Invalid command 'always', perhaps misspelled or defined by a module not
included in the server configuration, referer:
https://192.168.1.8/download_canary_build.html
[Sun Jun 06 15:35:58.668675 2021] [core:alert] [pid 3101:tid 140138147448576]
[client 192.168.1.7:59126] /var/www/html/.htaccess: Invalid command 'always',
perhaps misspelled or defined by a module not included in the server
configuration [Sun Jun 06 15:35:58.797576 2021]
[core:alert] [pid 3101:tid 140138130663168] [client 192.168.1.7:59130]
/var/www/html/.htaccess: Invalid command 'always', perhaps misspelled or
defined by a module not included in the server configuration, referer:
https://192.168.1.8/download_canary_build.html

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org