From owner-freebsd-questions@FreeBSD.ORG Sat Mar 4 19:05:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5AD1316A420 for ; Sat, 4 Mar 2006 19:05:58 +0000 (GMT) (envelope-from amitabhkant@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD42C43D48 for ; Sat, 4 Mar 2006 19:05:57 +0000 (GMT) (envelope-from amitabhkant@gmail.com) Received: by nproxy.gmail.com with SMTP id d4so623769nfe for ; Sat, 04 Mar 2006 11:05:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Qr1fQwi3pMhXWDs5Lf4Y91F1p2GC2YWJqMFLzHhEJ2brCP7h4m4EF/YzI9CetCw6yMqqxR0jjA7iUvNzBbaKG01sjrQpFh+gmvg7Z9agjOoDZAUyRDauC/jNlsb3+19au7uGbDFqu8zjH5amfFt9Bog9riOxAAj9Lv8QMUADZGU= Received: by 10.48.244.5 with SMTP id r5mr1186387nfh; Sat, 04 Mar 2006 10:59:36 -0800 (PST) Received: by 10.49.11.9 with HTTP; Sat, 4 Mar 2006 10:59:36 -0800 (PST) Message-ID: <84b68b3d0603041059n4c9e47a6kd0e8c61e9d3c16f8@mail.gmail.com> Date: Sun, 5 Mar 2006 00:29:36 +0530 From: "Amitabh Kant" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Problems with mysqld running from /etc/rc.local in FreeBSD6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 19:05:58 -0000 Hi Please excuse me for my ignorance, as I am fairly new to FreeBSD. I have a FreeBSD 6.0 running on a test system. I successfully installed mysql5 server from the ports collection. Now to make it start during the boot process, I created a file "/etc/rc.local" and entered the complete path of the mysqld_safe (/usr/bin/mysqld_safe if I am not wrong) in the same file. I later realised that this is not the correct way to start mysql daemon, but the problem is that I did not make any changes to the /etc/rc.local file. Now when I reboot the machine, the boot process simply stops after starting mysqld daemon. It will not go away even after trying Ctrl-C or Ctrl-Q or Ctrl-Break. I tried sshing into the machine from another system, but it seems that sshd is not up yet, so I can't just login and change the /etc/rc.local file. It is pinging the test machine without problems, so atleast the network interface is up. How do I go about wither bypassing the commands written in the "/etc/rc.local" file or editing "/etc/rc.local" file to comment out the offending mysqld line. If it is of any significance, I am running a software Raid1 setup on my test system. Thanks for your help Amitabh