From owner-freebsd-questions@FreeBSD.ORG  Fri May 28 23:44:14 2004
Return-Path: <owner-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 9517B16A4D7
	for <freebsd-questions@freebsd.org>;
	Fri, 28 May 2004 23:44:14 -0700 (PDT)
Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E4D8043E50
	for <freebsd-questions@freebsd.org>;
	Fri, 28 May 2004 23:17:15 -0700 (PDT)	(envelope-from conrads@cox.net)
Received: from localhost.no.no.cox.net ([68.11.70.23])
	by lakermmtao08.cox.netESMTP
	<20040529061626.YNQO5121.lakermmtao08.cox.net@localhost.no.no.cox.net>;
	Sat, 29 May 2004 02:16:26 -0400
Received: from ip68-11-70-23.no.no.cox.net (localhost [127.0.0.1])
	i4T6GQrT001223;	Sat, 29 May 2004 01:16:26 -0500 (CDT)
	(envelope-from conrads@ip68-11-70-23.no.no.cox.net)
Received: (from conrads@localhost)i4T6GLYQ001222;
	Sat, 29 May 2004 01:16:21 -0500 (CDT)	(envelope-from conrads)
Message-ID: <XFMail.20040529011621.conrads@cox.net>
X-Mailer: XFMail 1.5.5 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <000001c44537$396673f0$1568a8c0@edsdell8200>
Date: Sat, 29 May 2004 01:16:21 -0500 (CDT)
From: Conrad Sabatier <conrads@cox.net>
To: Edward Carmody <ecarmody@optonline.net>
cc: freebsd-questions@freebsd.org
Subject: Re: Problems after CVSUP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: conrads@cox.net
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 29 May 2004 06:44:14 -0000


On 29-May-2004 Edward Carmody wrote:
> Not quite a newbie, but not very good either, apparently. :(  I did a cvsup
> last night, following instructions from the handbook, and hosed up my box.
> 
> =================================
> [ecarmody@oberon /home/ecarmody] $ uname -a
> FreeBSD oberon.hudsonvalleynetworks.com 5.2.1-RELEASE-p7 FreeBSD
> 5.2.1-RELEASE-p7 #0: Thu May 27 19:57:55 EDT 2004
> root@:/usr/obj/usr/src/sys/GENERIC  i386
> [ecarmody@oberon /home/ecarmody] $
> =================================
> 
> I should not be running 5.2.1-RELEASE due to my inexperience, I know, but
> need to in order to support my IDE controller.  I was using the box for www,
> sendmail, tacacs, ntp, syslog, samba, for my home network, and just trying
> to learn UNIX a la FreeBSD.  
> 
> My immediate issues are these:
> At boot, ntpd hangs, holding up the rest of the startup process.  If I kill
> it with a ctrl-c, sendmail then does some funky things, and also hangs.  
> 
> ===================
> /var/log/ntp shows:
> [root@oberon /var/log] # cat ntp.log 
> 28 May 23:53:37 ntpd[609]: ntpd exiting on signal 15
> 28 May 23:56:37 ntpd[409]: ntpd exiting on signal 2
> [root@oberon /var/log] #
> 
> which I think is from me killing it via ctrl-c
> ===================
> 
> So, to workaround temporarily, I commented out ntpd_enable="YES" in rc.conf.
> Ntpd obviously doesn't hold up my boot anymore but sendmail does.  
> 
> ===================
> Starting sendmail.
> safefile(etc/mail/services.switch, uid=0, gid=0, flags=6480, mode=400):
> safedirpath(/etc/mail, uid=0, gid=0 flags =6580, level=0, offset=0):
>       [dir /etc/mail] OK
>       No such file or directory
> 
> Then I get similar lines for /etc/mail/submit.cf, etc/mail/relay-domains,
> The last line is:
> Recipient names must be specified
> 
> I can't seem to find the output I'm seeing in /var/log/messages or
> /var/log/maillog, so I've hand-typed in the bit above.
> 
> /var/log/maillog has lots of:
> May 29 00:00:05 oberon sm-msp-queue[436]: i4S2ug7P087593: to=root,
> ctladdr=root (0/0), delay=1+01:03:23, xdelay=00:00:00, mailer=relay,
> pri=4980184, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused
> by [127.0.0.1]
> 
> which also started after my cvsup last night.  
> ===================
> 
> 
> Not sure what else to provide.  Any direction on how to 'shoot and fix this
> wins a free beer next time you're in NYC.  Thanks...

Did you forget to run mergemaster?

When updating via cvsup, you should *always* do the following:

1) cvsup
2) make buildworld
3) make buildkernel
4) make installkernel
5) reboot in single-user mode
6) run mergemaster -p
7) make installworld
8) run mergemaster

Then, double-check /etc/rc.conf against /etc/defaults/rc.conf to see if there
are any important changes in startup functionality.  Then, and only then,
should it be safe to reboot.

If you've merged in any changes under /etc/mail, you should also cd /etc/mail
and make all install before rebooting as well.

HTH

-- 
Conrad Sabatier <conrads@cox.net> - "In Unix veritas"