From owner-freebsd-questions@FreeBSD.ORG Mon May 14 14:45:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27B1E16A400 for ; Mon, 14 May 2007 14:45:39 +0000 (UTC) (envelope-from apatewna@yahoo.gr) Received: from deliver.hol.gr (deliver.hol.gr [62.38.3.214]) by mx1.freebsd.org (Postfix) with ESMTP id 87C4913C457 for ; Mon, 14 May 2007 14:45:38 +0000 (UTC) (envelope-from apatewna@yahoo.gr) Received: from auth-smtp.hol.gr (takeit02.mail.dc.hol.net [192.168.20.72]) by deliver.hol.gr (8.12.11/8.11.6) with ESMTP id l4EEjZ5s023825 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256 bits) verified OK); Mon, 14 May 2007 17:45:35 +0300 Received: from [192.168.1.20] (ppp140-137.dsl.hol.gr [89.210.140.137]) (authenticated bits=0) by auth-smtp.hol.gr (8.13.1/8.12.11) with ESMTP id l4EEjYK0000301; Mon, 14 May 2007 17:45:34 +0300 Message-ID: <46487610.7010601@yahoo.gr> Date: Mon, 14 May 2007 17:45:36 +0300 From: Apatewna User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Howard Goldstein References: <1137737091.20070511003530@ghirai.com> <464397FD.7020002@queue.to> In-Reply-To: <464397FD.7020002@queue.to> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.90/3243/Mon May 14 13:49:49 2007 on takeit02.mail.dc.hol.net X-Virus-Status: Clean Cc: ghirai@ghirai.com, freebsd-questions@freebsd.org Subject: Re: startup scripts not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: apatewna@yahoo.gr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 14:45:39 -0000 O/H Howard Goldstein έγραψε: >> None of the scripts work, they show the same behavior, >> and i ran them as root. > > I don't have any of those installed but most of the local rc.d scripts > need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts > and see if they need them to. You can also run these with -x to see > what's happening (eg., sh -x /usr/local/etc/rc.d/apache22 start) > Since the original question has been answered I'll just add a little more detail. Whenever you install some software that has a run script in /usr/local/etc/rc.d, there is an easy way to figure out which parameters need to be enabled in /etc/rc.conf. Just run the script with the "rcvar" parameter. (eg /usr/local/etc/rc.d/apache22 rcvar) The same applies for system services (sshd, inetd) that have their start scripts in /etc/rc.d -- RTFM and STFW before anything bad happens _________________________________________ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user