From owner-freebsd-questions@FreeBSD.ORG Wed May 7 10:56:44 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 AA24537B401 for ; Wed, 7 May 2003 10:56:44 -0700 (PDT) Received: from ohm.excelsus.com (ohm.excelsus.com [216.54.3.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D3F43F93 for ; Wed, 7 May 2003 10:56:43 -0700 (PDT) (envelope-from weldon@excelsus.com) Received: from ohm.excelsus.com (localhost.excelsus.com [127.0.0.1]) by ohm.excelsus.com (8.12.9/8.12.8) with ESMTP id h47HucnX066526 for ; Wed, 7 May 2003 13:56:38 -0400 (EDT) Received: from localhost (weldon@localhost)h47HucPi066523 for ; Wed, 7 May 2003 13:56:38 -0400 (EDT) X-Authentication-Warning: ohm.excelsus.com: weldon owned process doing -bs Date: Wed, 7 May 2003 13:56:38 -0400 (EDT) From: Weldon Godfrey To: freebsd-questions@freebsd.org Message-ID: <20030507134713.X39887-100000@ohm.excelsus.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: /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, 07 May 2003 17:56:44 -0000 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