From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 01:03:06 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 1F0D616A4BF for ; Tue, 9 Sep 2003 01:03:06 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2545B43FD7 for ; Tue, 9 Sep 2003 01:03:05 -0700 (PDT) (envelope-from david@skytracker.ca) Received: from 3s1.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h898CLWI005801 for ; Tue, 9 Sep 2003 04:12:21 -0400 Received: (from root@localhost) by 3s1.com (8.12.8p1/8.12.8) id h89833e3042271 for freebsd-questions@freebsd.org; Tue, 9 Sep 2003 04:03:03 -0400 (EDT) (envelope-from david@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.8p1/8.9.3) with ESMTP id h89833uZ042229 for ; Tue, 9 Sep 2003 04:03:03 -0400 (EDT) Received: by 3s1.com (tmda-sendmail, from uid 1000); Tue, 09 Sep 2003 04:03:03 -0400 (EDT) Date: Tue, 9 Sep 2003 04:03:01 -0400 To: admin Message-ID: <20030909080301.GA42144@skytrackercanada.com> References: <20030909053406.M35653@enabled.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030909053406.M35653@enabled.com> User-Agent: Mutt/1.4.1i From: David Banning X-Delivery-Agent: TMDA/0.80 (Determine) X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.8 local startup issues 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: Tue, 09 Sep 2003 08:03:06 -0000 On Mon, Sep 08, 2003 at 09:34:06PM -0800, admin wrote: > running: > FreeBSD 4.8-STABLE > > okay I am having a strange issue. > > after the last reboot after my FreeBSD machine became unreachable - and > required a power cycle. mostly all processes listed in /usr/local/etc/rc.d > did not start. this only happens very rarely and has happens after FreeBSD > crashed or is not brought down very cleanly. can somebody recommend a way to > auto run these scripts - and make sure these files get executed on boot up. I am no script pro but something like this should do the job; #!/bin/sh if ! ps a | grep mysqld; then /bin/sh /usr/local/etc/rc.d/mysql-server.sh start fi