From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 22:27:41 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 C15A616A420 for ; Tue, 14 Feb 2006 22:27:41 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA9C43D45 for ; Tue, 14 Feb 2006 22:27:40 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F98e0-0000xu-Mb for freebsd-questions@freebsd.org; Tue, 14 Feb 2006 23:27:37 +0100 Received: from n250.camo-route.com ([216.113.24.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Feb 2006 23:27:36 +0100 Received: from ugob by n250.camo-route.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Feb 2006 23:27:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ugo Bellavance Date: Tue, 14 Feb 2006 17:27:24 -0500 Lines: 55 Message-ID: References: <20060214213202.GA69337@catflap.slightlystrange.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: n250.camo-route.com User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <20060214213202.GA69337@catflap.slightlystrange.org> X-Enigmail-Version: 0.94.0.0 Sender: news Subject: Re: Samba port 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: Tue, 14 Feb 2006 22:27:41 -0000 Daniel Bye wrote: > On Tue, Feb 14, 2006 at 03:31:02PM -0500, Ugo Bellavance wrote: >> Hi, >> >> I'm rather new to FreeBSD (I usually use linux and I'm trying Fbsd. I >> upgraded my samba port yesterday, but after, I couldn't reconnect to it. >> I found out that the upgrade (using cvsup/portupgrade) removed smb.conf >> and stopped smb and cups? Why is it this way? It is not the only port >> that gets stopped on an upgrade. Is that normal? Shouldn't it at least >> try to restart? > > portupgrade (and portmanager) will try to restart upgraded daemons > (smbd, exim, or whatever) in order that they run the new code. Maybe it tried, but the config for samba disappeared. I don't know why it didn't restart cups though. > As far > as I am aware, an upgraded port should not touch an existing config > file. Did you upgrade from version 2 to version 3? This might account > for it, but I can't remeber if I had similar problems making that > particular journey. No, it was just a security upgrade. > > Anyway, for clues, you can try starting samba directly: > > # /usr/local/etc/rc.d/samba.sh start > > and see what debuggibg you get. I got it now, I copied the samba conf file, restarted cups, then samba. > > Welcome to FreeBSD, btw. Hope you stick around! Hard to tell. Very different from linux. I try to learn FreeBSD since it seems interesting, but I'm meeting many problems that I don't get in linux. For example, with yum, up2date or apt, such an upgrade would have been w/o issue. > > HTH, > > Dan > -- Ugo -> Please don't send a copy of your reply by e-mail. I read the list. -> Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies.