From owner-freebsd-current@FreeBSD.ORG Thu Jun 19 00:33:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D1D537B401 for ; Thu, 19 Jun 2003 00:33:49 -0700 (PDT) Received: from smtp801.mail.sc5.yahoo.com (smtp801.mail.sc5.yahoo.com [66.163.168.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 01C5243F3F for ; Thu, 19 Jun 2003 00:33:49 -0700 (PDT) (envelope-from derwood@naebunny.net) Received: from adsl-66-72-129-252.dsl.dytnoh.ameritech.net (HELO derwood2) (sir?slig@sbcglobal.net@66.72.129.252 with login) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 19 Jun 2003 07:33:48 -0000 From: "Darin" To: Date: Thu, 19 Jun 2003 03:33:48 -0400 Message-ID: <000201c33635$1f9a5340$1500a8c0@derwood2> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: FeeBSD 5.1 and localdaemons X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 07:33:49 -0000 Hello, This is my first try at FreeBSD. I've been able to get the install completed and that seems fine. I = started compiling ports in and have discovered a problem. I compiled in ProFTPD = and MySQL along with all their dependencies and found that they were not starting up when the box would boot up. I've checked /usr/local/etc/rc.d = and can see the scripts there for proftpd and mysql. I checked the /etc/defaults/rc.conf and the path for local_startup is set to /usr/local/etc/rc.d The execute bit is set for all the startup scripts = in /usr/local/etc/rc.d also.. I tried turning on the rc_debug option so = that I could see what happened in the dmesg. And I can see the following from = dmesg -a output: /etc/rc: DEBUG: run_rc_command: evaluating local_start().=20 Starting local daemons:=20 . But, the ProFTPD and MySQL still wont start.. I did some digging in the scripts in /etc/rc.d and found the local and localdaemons scripts.. After playing around a bit, I found that the localdaemons script is actually what executes the local scripts.. But = for whatever reason, local is not starting localdaemons. I can start both daemons manually by running their scripts manually, so theres no problem that I can see with the installation.. I tried adding a line to the /etc/rc.d/local script that called the localdaemons script.. When I rebooted, MySQL and ProFTPD start fine during boot.. Anyone have any = ideas on this one?? Darin -