From owner-freebsd-questions Wed Aug 21 23:53: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FD6E37B400 for ; Wed, 21 Aug 2002 23:53:00 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id E170643E4A for ; Wed, 21 Aug 2002 23:52:58 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 24751 invoked from network); 22 Aug 2002 06:52:57 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 22 Aug 2002 06:52:57 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 17DFD70; Thu, 22 Aug 2002 08:52:57 +0200 (CEST) Date: Thu, 22 Aug 2002 08:52:57 +0200 From: Roman Neuhauser To: "Henning, Brian" Cc: " (E-mail)" Subject: Re: apache - single user mode Message-ID: <20020822065257.GX21595@freepuppy.bellavista.cz> Mail-Followup-To: "Henning, Brian" , " (E-mail)" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Henning, Brian" > To: " (E-mail)" > Subject: apache - single user mode > Date: Wed, 21 Aug 2002 11:51:16 -0500 > > I am having problems with my apache2 web server. I would like to turn > it off for now to give me some time to figure out what the problem is. > My machine hangs on startup with the error: domain name not being > found. I need to boot into single user mode, so i here is what i am > going to do. > > boot -s > > fsck -p > mount -u / > mount -a -t /ufs > swapon -a > > my problem is when i get my machine back up. what do i need to do to > turn apache off so it can boot like normal? 1) you don't need to flip the switch to get rid of the "cannot find my own domain name" message. just hit ^C when it appears. 2) scripts in /usr/local/etc/rc.d/ must meet two conditions to be launched at startup: 1. be executable 2. their names must end with .sh change either of these attributes, and apache won't be started. -- FreeBSD 4.6-STABLE 8:49AM up 1 day, 14:42, 9 users, load averages: 0.00, 0.00, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message