You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/06/07 06:39:32 UTC

[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


[Bug 65360] DefaultRuntimeDir error, 500

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65360

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

-- 
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


[Bug 65360] DefaultRuntimeDir error, 500

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65360

--- Comment #3 from TheRealOne <ba...@gmail.com> ---
The contents of .htaccess are just calling HSTS headers and a 404 page calling

-- 
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


[Bug 65360] DefaultRuntimeDir error, 500

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65360

--- Comment #2 from TheRealOne <ba...@gmail.com> ---
Aparently the module for Headers was not loaded, tho for some reason if I don't
start apache2ctl without sudo it simply doesn't work, and when restarting, the
service isn't called automatically

-- 
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


[Bug 65360] DefaultRuntimeDir error, 500

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65360

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
What's the contents of /var/www/html/.htaccess?

-- 
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