From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:20:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DBCE16A404 for ; Wed, 7 Mar 2007 21:20:37 +0000 (UTC) (envelope-from galvez@virginia.edu) Received: from d-137-145-155.bootp.virginia.edu (d-137-145-155.bootp.Virginia.EDU [137.54.145.155]) by mx1.freebsd.org (Postfix) with ESMTP id 5DA6F13C4B5 for ; Wed, 7 Mar 2007 21:20:34 +0000 (UTC) (envelope-from galvez@virginia.edu) Received: by d-137-145-155.bootp.virginia.edu (Postfix, from userid 501) id A74491A6CAB; Wed, 7 Mar 2007 09:02:59 -0500 (EST) Date: Wed, 7 Mar 2007 09:02:59 -0500 From: Mike Galvez To: eoghan Message-ID: <20070307140259.GA242@virginia.edu> References: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> <9888aa630703061345n2994c964m85b2148f170ffc3e@mail.gmail.com> <20070306225147.GJ246@virginia.edu> <9888aa630703061503i327d6076w3220f58997475eb1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9888aa630703061503i327d6076w3220f58997475eb1@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: Darwin Cc: freebsd-questions@freebsd.org Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:20:37 -0000 On Tue, Mar 06, 2007 at 11:03:34PM +0000, eoghan wrote: > On 3/6/07, Mike Galvez wrote: > > >> >> > > -----Original Message----- > >> >> > > From: owner-freebsd-questions@freebsd.org > >> >> > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > >> >> > > Sent: Tuesday, March 06, 2007 5:50 AM > >> >> > > To: freebsd > >> >> > > Subject: apache problem > >> >> > > > >> >> > > Hi > >> >> > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > >> >> > > upgrade from ports (in the past few days or so). Since then I > >> >> > > cant browse to localhost. Just get an unable to connect > >> >> > > message. The server seems to start with: > >> >> > > $sudo apachectl start > >> >> > > If I try it again I see its already running. > >> >> > > My error log shows: > >> >> > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > >> >> > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > >> >> > > configured -- resuming normal operations > >> >> > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > >> >> > > > >> >> > > I have tried the apache list but no real answers, and apache > >> >> > > was working fine for me before I upgraded. Has anyone else > >> >> > > noticed this since an upgrade to the 2.2.4 version from ports? > >> >> > > > >> >> > > Thanks > >> >> > > Eoghan > >> >> > > >> >> > I had the same problem. Here is how I fixed it: > >> >> > #apachectl stop > >> >> > # cd /usr/ports/www/apache22 > >> >> > #make clean > >> >> > # make deinstall > >> >> > # rm ./* > >> >> > Then do a cvsup ports all > >> >> > now once more > >> >> > #cd /usr/ports/www/apache22 > >> >> > # make (it will use your stored config) > >> >> > #make install > >> >> > #make clean > >> >> > #apachectl start > >> >> > >> >> Hi > >> >> Gret, thanks for that, I will give this a go. > >> >> Regards > >> >> Eoghan > >> >> > >> >all the best > >> >please let me know if it works 4U > >> >-- I have made a posting on ports@freebsd.org -- so the maintainer knows > >> >aboutthe problem. If this also works for you it should not be too > >> >difficult for someone to fix the port. > >> >David > >> > >> Hi > >> I have tried this and i still cant get it working. Also tried syntax > >> check and its checks out OK, as someone else suggested to do... any > >> further suggestions? > >> Thanks > >> Eoghan > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > >Hi, > > > >I was rebuilding one of my servers yesterday. I was having trouble getting > >ldap > >support to build, but I was also seeing the same issue you describe. The > >configtest reported no errors and Apache appeared to start and I could see > >it in > >the process list, but could not contact the server. Out of frustration i > >bounced > >the box and when it came back up Apache started as expected (minus ldap of > >course). > > > > > >-- > >Michael Galvez http://www.people.virginia.edu/~mrg8n > >Information Technology Specialist University of Virginia > > Hi > By bounced the box, do you mean restarted it? > Thanks > Eoghan Yes. Restart the OS. Even though I had killed all http processes, Apache 2.2.4 server would not restart correctly without restarting the OS. -Mike > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia