From owner-freebsd-questions@FreeBSD.ORG Fri Dec 28 12:57:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1AF016A477 for ; Fri, 28 Dec 2007 12:57:53 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 79E3B13C4E1 for ; Fri, 28 Dec 2007 12:57:51 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 57298 invoked by uid 79); 28 Dec 2007 12:57:48 -0000 Received: from 189.70.60.10 by recife.ipad.com.br (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.92rc2/5270. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:0(189.70.60.10):SA:0(-2.1/2.9):. Processed in 3.993857 secs); 28 Dec 2007 12:57:48 -0000 X-Spam-Status: No, hits=-2.1 required=2.9 X-Antivirus-IPAD-Mail-From: mlobo@digiart.art.br via recife.ipad.com.br X-Antivirus-IPAD: 1.25-st-qms (Clear:RC:0(189.70.60.10):SA:0(-2.1/2.9):. Processed in 3.993857 secs Process 57284) Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.60.10) by ipad.com.br with SMTP; 28 Dec 2007 12:57:44 -0000 From: Mario Lobo Organization: DigiArt To: Kris Kennaway Date: Fri, 28 Dec 2007 10:01:34 -0300 User-Agent: KMail/1.9.7 References: <200712280853.59966.mlobo@digiart.art.br> <4774EAB8.6030304@FreeBSD.org> In-Reply-To: <4774EAB8.6030304@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712281001.34605.mlobo@digiart.art.br> Cc: User Questions Subject: Re: Problem in /usr/local/etc/rc.d [SOLVED] 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: Fri, 28 Dec 2007 12:57:53 -0000 On Friday 28 December 2007 09:23:20 Kris Kennaway wrote: > Mario Lobo wrote: > > Hello; > > > > here is a snip of dmesg: > > > > --------------------------------------------- > > Starting sshd. > > Starting cron. > > Local package initialization: > > Starting Init.... > > Starting Samba.... > > Removing stale Samba tdb files: > > . > > . > > . > > . > > . > > . > > . > > done > > Starting Init.... > > Starting Samba.... > > Removing stale Samba tdb files: > > . > > . > > . > > . > > . > > . > > . > > done > > --------------------------------------------- > > i have only 2 scripts in /usr/local/etc/rc.d: > > init.sh, which starts vsftpd and a dyndns client > > and samba.sh. > > > > As you can see, the scripts in that directory are beeing ran twice !. I > > looked up and down the server (/etc/init.d specially), trying to see why > > this is happening and I can't find anything !. > > > > Would anybody have a suggestion on what I should look for? > > > > Thanks, > > > > P.S. - I wish you all a happy 2008 ! My guts keep telling me that this is > > going to be a great year for FreeBSD !! > > Check your /etc/rc.conf settings, e.g. local_startup or whatever > controls rc.d directories. Either /usr/local is listed twice or it > still lists /usr/X11R6 after it was replaced by a symlink to /usr/local. > In the latter case this should have been taken care of by the xorg > upgrade process. > > Kris Right on the spot Kris !! i had local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. on /etc/defaults/rc.conf Thanks !! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)