From owner-freebsd-isp Sun Feb 9 19:28:58 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5081F37B401 for ; Sun, 9 Feb 2003 19:28:56 -0800 (PST) Received: from usenet.isot.com (usenet.isot.com [63.161.224.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F35E43FF7 for ; Sun, 9 Feb 2003 19:27:35 -0800 (PST) (envelope-from freebsd@isot.com) Received: (from www@localhost) by usenet.isot.com (8.11.6/8.11.6) id h1A3Xbv05185; Sun, 9 Feb 2003 21:33:37 -0600 (CST) (envelope-from freebsd@isot.com) X-Authentication-Warning: usenet.isot.com: www set sender to freebsd@isot.com using -f Received: from 63.161.239.63 ( [63.161.239.63]) as user freebsd@isot.com by webmail.isot.com with HTTP; Sun, 9 Feb 2003 21:33:37 -0600 Message-ID: <1044848017.3e471d91321cd@webmail.isot.com> Date: Sun, 9 Feb 2003 21:33:37 -0600 From: itchibahn Reply-To: song@isot.com To: Jez Hancock Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Local package initialization References: <1044818277.3e46a965d3e52@webmail.isot.com> <20030209200034.GA25652@users.munk.nu> In-Reply-To: <20030209200034.GA25652@users.munk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 63.161.239.63 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I had only one script in rc.d, apache.sh. As you suggested, I made in not executable, and it skipped right thru "Local package initialization". Thanks. Quoting Jez Hancock : > On Sun, Feb 09, 2003 at 01:17:57PM -0600, itchibahn wrote: > > I'm running FreeBSD 4.6-RELEASE, and getting stuck at the end of boot > process: > > > > "Local package initialization" > > > > When this is reached, it sets there forever. I have to CTRL-C and > continues to > > login prompt. Any ways to fix this? Thanks. > In addition to what Jeff said in his post, you might want to try changing > the > order in which your local rc initilization scripts are run. > > As an example, if the files in /usr/local/etc/rc.d dir looks like this: > > -rwxr-x--- 1 root wheel 181 Dec 23 22:05 000.mysql-client.sh* > -r-xr-xr-x 1 root wheel 248 Dec 14 09:26 000.pkgtools.sh* > -r-xr-xr-x 1 root wheel 307 Jan 19 16:32 100.apache.sh* > -rwxr-x--x 1 root wheel 316 Nov 11 01:19 200.idled.sh* > -rwxr-x--- 1 root wheel 181 Dec 23 22:05 300.mysql.sh* > -rwxr-xr-x 1 root wheel 1742 Jan 14 18:03 999.ipfw.sh* > > Then the scripts will be run in the order: > > mysql-client > pkgtools > apache > idled > ipfw > > This is useful for various reasons, two that come to mind are: > > One application may depend on another application or module being loaded > first and so the order they start is important (this is the case with > mysql-client here I think). > > One application may take a long time to start up and cause others to > hang (could be your situation). > > You could also try stopping all of your local rc scripts from loading > at boot (either rename the rc files to something other than '.sh' or > just make them not executable - chmod -x /usr/local/etc/rc.d/*.sh). > This should resolve the problem, and then you can add scripts back > one by one and see which one is causing the problem. > > Hope that helps, > > Jez > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > ------------------------------------------------- This mail sent through ISOT. To find out more about ISOT, visit http://isot.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message