Summary: | www-servers/apache-2.4.1-r2 /etc/init.d/apache2 start complains about Config variable ${SVN_REPOS_LOC} is not defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, asturm, chris, dean.w.parshall, evan.teran, mail, proxy-maint, pva |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 468302 |
Description
Juergen Rose
2012-04-03 19:39:57 UTC
See bug 410607 for the larger issue. I've just upgraded to apache-2.4.3 and got the same trouble: * apache2 has detected an error in your setup: [Sun Oct 14 00:23:42.746236 2012] [core:warn] [pid 5272:tid 140626338662208] AH00111: Config variable ${SVN_REPOS_LOC} is not defined [Sun Oct 14 00:23:42.746353 2012] [core:warn] [pid 5272:tid 140626338662208] AH00111: Config variable ${SVN_REPOS_LOC} is not defined apache2: Syntax error on line 153 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load modules/libphp5.so into server: /usr/lib64/apache2/modules/libphp5.so: undefined symbol: unixd_config To Comment2: The issues with libphp5.so and unixd_config disappeared for after adding authn_core authz_core lbmethod_byrequests slotmem_shm unixd to APACHE2_MODULES in make.conf and reemerging apache-2.4.3, php-5.4.7 and virtual/httpd-php-5.4-r1. I can confirm this bug. Its Gentoo specific /usr/portage/dev-vcs/subversion/subversion /etc/apache2/modules.d/47_mod_dav_svn.conf confirmed with apache 2.4.4-r1. Nothing done ? Yes, same here, suggestion from comment 3 didn't help. Seems like apache realy wants to replace variables in its configuration, even if the variable is in a comment and inside a disabled block. I got rid of the warning by removing the commented out example from /etc/apache2/modules.d/47_mod_dav_svn.conf Ran acrossed this while troubleshooting an unrelated issue. The problem appears to be shell expansion related.. if you escape the curly braces apache parses it just fine. if you replace with $\{SVN_REPOS_LOC\} or $SVN_REPOS_LOC it works as intended. I confirm that comment 8 works. If you edit the file modules.d/47_mod_dav_svn.conf and remove the curly braces or escape them the warning disappears. This bug was probably fixed upstream in Apache httpd 2.4.11: <https://bz.apache.org/bugzilla/show_bug.cgi?id=56503>. Yes, looks good to me, got it running now. (though, looks like an upgrade 2.2 to 2.4 should trigger a php rebuild?) should be fixed in 2.4.12 |