Date: Sun, 9 Feb 2003 20:00:34 +0000 From: Jez Hancock <jez.hancock@munk.nu> To: freebsd-isp@FreeBSD.ORG Subject: Re: Local package initialization Message-ID: <20030209200034.GA25652@users.munk.nu> In-Reply-To: <1044818277.3e46a965d3e52@webmail.isot.com> References: <1044818277.3e46a965d3e52@webmail.isot.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209200034.GA25652>