From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 03:05:47 2005 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 4881216A4CE for ; Tue, 19 Apr 2005 03:05:47 +0000 (GMT) Received: from metroid.prideindesign.com (netblock-66-159-250-220.dslextreme.com [66.159.250.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A8D43D2D for ; Tue, 19 Apr 2005 03:05:44 +0000 (GMT) (envelope-from joshua.lewis@prideindesign.com) Received: from [192.168.1.101] (netblock-66-159-250-221.dslextreme.com [66.159.250.221]) by metroid.prideindesign.com (Postfix) with ESMTP id F3529AC81C for ; Mon, 18 Apr 2005 20:07:27 -0700 (PDT) User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Mon, 18 Apr 2005 20:05:37 -0700 From: Joshua Lewis To: "freebsd-questions@freebsd.org" Message-ID: Mime-version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Startup scripts question 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, 19 Apr 2005 03:05:47 -0000 How do startup scripts work? I added: mysql_enable=3D=B2YES=B2 But I don=B9t think it is working. I had rebooted my system the other day and my mail server stopped working (postfix reading from mysql tables) and I tried looking at my running processes: ps =ADax |grep sql=20 and nothing was returned. So I guessed mysql was not running. I tried: mysql start and I got a socket error. I usually get this error when SQL was not started properly. So I ran /usr/local/etc/rc.d/mysql-server.sh start And low and behold it was all working. So how do startup scripts work. Did = I add the wrong value to my /etc/rc.conf file? Or did I miss something somewhere? Does the entry in /etc/rc.conf correlate to the startup script. Should I change my rc.conf file to read mysql-server_enable=3D=B2YES=B2 Any advice would be welcome. Thanks for your time.