From owner-freebsd-questions@FreeBSD.ORG Fri Dec 28 12:23:22 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 11C0216A46B for ; Fri, 28 Dec 2007 12:23:22 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5E32313C457; Fri, 28 Dec 2007 12:23:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4774EAB8.6030304@FreeBSD.org> Date: Fri, 28 Dec 2007 13:23:20 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Mario Lobo References: <200712280853.59966.mlobo@digiart.art.br> In-Reply-To: <200712280853.59966.mlobo@digiart.art.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Problem in /usr/local/etc/rc.d 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:23:22 -0000 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