Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Oct 1998 02:36:53 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        stable@FreeBSD.ORG
Subject:   Warning: apache13 upgrade requires pkg_delete
Message-ID:  <10076.907288613@axl.training.iafrica.com>

next in thread | raw e-mail | index | archive | help


Hi folks,

I haven't looked into this one very closely, so I'll just tell you my
conclusion, followed by a bit of supporting evidence.

If you plan to upgrade ports/www/apache13 from anything pre- 28 Sept, be
sure to kill httpd and pkg_delete the existing apache13 package first.

I didn't and here's what happened:

Everything continued as normal UNTIL...

At 02:00, syslogd tried to rotate my apache logs. This includes sending
a SIGHUP to the controlling httpd.

Apache died and left the following turd in /var/log/httpd-error.log:

[Fri Oct 2 02:00:01 1998] [notice] SIGHUP received. Attempting to restart
Syntax error on line 26 of /usr/local/etc/apache/httpd.conf: 
Cannot load /usr/local/libexec/apache/mod_mime_magic.so into server:
Undefined symbol "_ap_log_rerror" in httpd:/usr/local/libexec/apache/mod_mime_magic.so

Trying to start apache on the command-line produced less helpful output
about being unable to load a module called ``(null)''. :-)

After a pkg_delete, build and install from ports, apache started up and
carried on working as before. I hope this saves someone some blood /
sweat / window panes.

Cioa,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10076.907288613>