Yesterday I upgraded our WebDAV host (iocage jail) to 12.2.p10 and the
This morning the WebDAV resource was reported as unreachable. Investigation showed that the apache24 service on that host was stopped. Running
The main error log contained this entry:
The entries immediately after this one were those concerned with starting the service later that morning.
The referenced file exists and has a recent date so I infer that this was created by the recent upgrade to Apache.
The reported undefined symbol seems to be present in that file:
The trigger for this appears to be the nightly log rotation by
apache24
software to 2.4.51 via pkg
. Both the jail and the service restarted without error following the upgrades.This morning the WebDAV resource was reported as unreachable. Investigation showed that the apache24 service on that host was stopped. Running
service apache24 configtest
reported OK. Restarting the service was successful with no errors reported.The main error log contained this entry:
Code:
Fri Oct 15 00:00:01.149902 2021] [mpm_prefork:notice] [pid 53755] AH00171: Graceful restart requested, doing restart
httpd: Syntax error on line 23 of /usr/local/etc/apache24/httpd.conf:
Cannot load libexec/apache24/mod_dav.so into server: /usr/local/libexec/apache24/mod_dav.so:
Undefined symbol "ap_parse_strict_length"
The entries immediately after this one were those concerned with starting the service later that morning.
The referenced file exists and has a recent date so I infer that this was created by the recent upgrade to Apache.
Code:
# ll /usr/local/libexec/apache24/mod_dav.so
-rwxr-xr-x 1 root wheel 107304 Oct 9 21:12 /usr/local/libexec/apache24/mod_dav.so
The reported undefined symbol seems to be present in that file:
Code:
# strings /usr/local/libexec/apache24/mod_dav.so | grep -i ap_parse_strict_length
ap_parse_strict_length
The trigger for this appears to be the nightly log rotation by
newsyslog
. The questions are: What is causing this error. How is it fixed?