From owner-freebsd-isp Sun Feb 9 12: 0: 7 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 5C98037B401 for ; Sun, 9 Feb 2003 12:00:05 -0800 (PST) Received: from users.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D499743FA3 for ; Sun, 9 Feb 2003 12:00:01 -0800 (PST) (envelope-from munk@users.munk.nu) Received: from users.munk.nu (munk@localhost [127.0.0.1]) by users.munk.nu (8.12.6/8.12.6) with ESMTP id h19K0bAx027103 for ; Sun, 9 Feb 2003 20:00:38 GMT (envelope-from munk@users.munk.nu) Received: (from munk@localhost) by users.munk.nu (8.12.6/8.12.6/Submit) id h19K0Zvv027100 for freebsd-isp@FreeBSD.ORG; Sun, 9 Feb 2003 20:00:35 GMT Date: Sun, 9 Feb 2003 20:00:34 +0000 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Local package initialization Message-ID: <20030209200034.GA25652@users.munk.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <1044818277.3e46a965d3e52@webmail.isot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1044818277.3e46a965d3e52@webmail.isot.com> User-Agent: Mutt/1.4i 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 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