From owner-freebsd-questions@FreeBSD.ORG Thu Jul 13 12:21:03 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 EAC5C16A4E6 for ; Thu, 13 Jul 2006 12:21:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDFE43D6E for ; Thu, 13 Jul 2006 12:20:59 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 17233 invoked from network); 13 Jul 2006 12:20:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Jul 2006 12:20:59 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 699C228449; Thu, 13 Jul 2006 08:20:58 -0400 (EDT) To: Alex Push References: From: Lowell Gilbert Date: Thu, 13 Jul 2006 08:20:58 -0400 In-Reply-To: (Alex Push's message of "Tue, 11 Jul 2006 10:51:36 -0400") Message-ID: <441wspr905.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: termcap problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 12:21:04 -0000 Alex Push writes: > Hi All, > > I recently got FreeBSD 6.1-RELEASE on my server, and a couple of days > ago I started getting this message when I ssh in: > csh: Cannot open /etc/termcap > csh: using dumb terminal settings > > This yields a very limited terminal -- I can execute basic commands, > but can't open vi/vim ("vi: No terminal database found"), etc. > > I checked /etc/termcap, and it is a symlink to /usr/share/misc/ > termcap, and that file *does* exist. I don't think it's a permissions > problem since both termcap and termcap.db are readable to all users (- > r--r--r--). I rebuilt the termcap.db file (in /usr/share/misc/ > termcap) by running "cap_mkdb termcap", but this didn't fix the > terminal. > > I also tried rebuilding and reinstalling the termcap source from /usr/ > src/share/termcap, but I am still getting this error, and it's making > my box pretty unusable. > > Any thoughts? Thanks a lot in advance. Any chance that the sshd or user shell are chroot'd?