From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 09:44:24 2003 Return-Path: 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 B38A116A4CE for ; Wed, 5 Nov 2003 09:44:24 -0800 (PST) Received: from mail.ohwy.com (ns1.ohwy.com [12.154.210.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1AA143FF3 for ; Wed, 5 Nov 2003 09:44:23 -0800 (PST) (envelope-from rduvall@onlinehighways.net) Message-ID: <005101c3a3c4$72e95e40$f901a8c0@ws21> From: "Rick Duvall" To: References: <015c01c3a32e$c9bd8610$f901a8c0@ws21> <44brrqc4bp.fsf@be-well.ilk.org> Date: Wed, 5 Nov 2003 09:44:22 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: /usr/local/etc/rc.d X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 17:44:24 -0000 I thought I had pasted an earlier post. Maybe I forgot to do that. here it is... On 5/7/03 10:56 AM, "Weldon Godfrey" wrote: > > I have a box running a version of FreeBSD 4.7-STABLE (on or before Fri Jan > 31 11:32:06 ). > > For some reason, all of the scripts in /usr/local/etc/rc.d don't run. > > * No errors are being seen during boot-up > * All the scripts end in .sh > * All are owned by root and mode 755 > * All are Borne shell scripts, all run from root's command line (when run > in the numeric-alpha order they appear in the directory) > * None except one does anything with start/stop, the one that takes > start/stop is a typical postgresql startup script. > * No over-ride for local_startup in /etc/rc.conf. /etc/defaults/rc.conf > has not been messed with > * /etc rc has not been messed with. I even stubbed the code from rc to > see if it would run scripts with the names listed in the directory, and it > will > * 1st script is A00_mysql.sh, it looks like this (would the ldconfig > cause a problem? I have never seen that done before): > #!/bin/sh > > /sbin/ldconfig -m /usr/local/mysql/lib/mysql/ > > sleep 2 > > /usr/local/mysql/bin/safe_mysqld --user=mysql & > > > Thanks in advance for any advice or what to check into next. > > Weldon > Try adding this to your /etc/rc.conf file: local_startup="/usr/local/etc/rc.d" Mike -- Michael K. Smith NoaNet 206.219.7116 (work) 206.579.8360 (cell) mksmith at noanet.net http://www.noanet.net _______________________________________________ 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" ----- Original Message ----- From: "Lowell Gilbert" To: "Rick Duvall" Cc: Sent: Wednesday, November 05, 2003 5:50 AM Subject: Re: /usr/local/etc/rc.d > "Rick Duvall" writes: > > > I am kind of curious as to if this issue has been resolved and what the > > final resolution was. I just started having the same exact issue as of > > today on my little FreeBSD box at home. I end up having to run the scripts > > in /usr/local/etc/rc.d manually after bootup. I am half tempted to just > > call the scripts in /etc/rc.local to get around it. But, it would be nice > > if it would just work like normal like it is supposed to. > > Hard to say, since most of us aren't seeing this. > If you actually *identified* the issue, it would be a lot easier to > determine if it had been solved. >