Tuesday, September 28, 2021

Re: apache-httpd-2.4.49 fails with mod_ssl (solved)

On 2021/09/28 02:08, Mike Fischer wrote:
> Hi!
>
> Sorry to bother you during the final phase of getting the 7.0 release out the door. But this has just come up and I wanted to give a heads-up to other users of Apache httpd on OpenBSD:
>
> I have just run pkg_add -u on a fully patched amd64 6.9 system:
> OpenBSD xxxxxx 6.9 GENERIC.MP#4 amd64
>
> apache-httpd-2.4.48 was updated to apache-httpd-2.4.49
>
> Afterwards I ran:
> # apachectl restart
>
> But Apache failed to start leaving the following message in the error.log:
> [Tue Sep 28 01:46:12.819779 2021] [mpm_prefork:notice] [pid 63110] AH00173: SIGHUP received. Attempting to restart
> httpd2:/usr/local/lib/apache2/mod_ssl.so: undefined symbol 'ap_hook_ssl_bind_outgoing'
> httpd2: Syntax error on line 143 of /etc/apache2/httpd2.conf: Cannot load /usr/local/lib/apache2/mod_ssl.so into server: Cannot load specified object
>
> Line 143 of the httpd2.conf contains:
> LoadModule ssl_module /usr/local/lib/apache2/mod_ssl.so
>
> mod_ssl.so was updated:
> 304 -rw-r--r-- 1 root bin 289196 Sep 27 19:22 /usr/local/lib/apache2/mod_ssl.so
>
>
> The solution was to run the following:
> # rcctl restart apache2
>
> httpd2 is now running again.
>
>
> HTH
> --
> Mike Fischer
> fischer+obsd@lavielle.com
>

Is this just a one-off after upgrading or is it an ongoing problem?

(I think it probably does want a proper stop+start, as "rcctl apache2
restart" does, rather than just a HUP after an upgrade..).

No comments:

Post a Comment