From owner-freebsd-stable Thu Oct 1 17:37:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02841 for freebsd-stable-outgoing; Thu, 1 Oct 1998 17:37:17 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02834 for ; Thu, 1 Oct 1998 17:37:14 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh (helo=axl.training.iafrica.com) by axl.training.iafrica.com with local-esmtp (Exim 2.02 #1) id 0zOtDK-0002cZ-00 for stable@freebsd.org; Fri, 2 Oct 1998 02:36:54 +0200 From: Sheldon Hearn To: stable@FreeBSD.ORG Subject: Warning: apache13 upgrade requires pkg_delete Date: Fri, 02 Oct 1998 02:36:53 +0200 Message-ID: <10076.907288613@axl.training.iafrica.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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