Date: Tue, 9 Sep 2003 04:03:01 -0400 From: David Banning <david@skytracker.ca> To: admin <admin2@enabled.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.8 local startup issues Message-ID: <20030909080301.GA42144@skytrackercanada.com> In-Reply-To: <20030909053406.M35653@enabled.com> References: <20030909053406.M35653@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030909080301.GA42144>