From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: error when using tramp Date: Thu, 29 May 2008 08:30:07 +0200 Message-ID: References: <5c1d39d4-9035-477f-8615-641c15a4889c@g16g2000pri.googlegroups.com> <42eea1e1-7f55-48b8-a7de-669ae971afc5@z16g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212042566 11431 80.91.229.12 (29 May 2008 06:29:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 06:29:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: sunway Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 08:30:07 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1beI-0002od-F6 for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2008 08:30:06 +0200 Original-Received: from localhost ([127.0.0.1]:45413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1bdW-00082I-Ts for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2008 02:29:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1bd8-00081w-NS for help-gnu-emacs@gnu.org; Thu, 29 May 2008 02:28:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1bd7-00081O-8q for help-gnu-emacs@gnu.org; Thu, 29 May 2008 02:28:54 -0400 Original-Received: from [199.232.76.173] (port=33571 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1bd7-00081K-6S for help-gnu-emacs@gnu.org; Thu, 29 May 2008 02:28:53 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]:46534) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1bd6-0007hG-5Z for help-gnu-emacs@gnu.org; Thu, 29 May 2008 02:28:52 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m4T6ShiU019576; Thu, 29 May 2008 08:28:45 +0200 In-Reply-To: (sunwayforever@gmail.com's message of "Wed, 28 May 2008 02:49:42 -0700 (PDT)") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54351 Archived-At: sunway writes: >> I think I have solved the prblem: >> I have inserted a bad item as "solaris-edu.unix-center.net >> solaris" =A0in /etc/hosts before...the problem is solved after I delete >> that line. >> >> however, I still wonder how that =A0bad item in /etc/hosts could affect >> tramp since it seems that tramp has successfully connected to the >> remote host. > > after restart emacs, the problem remains there... Tramp caches information about hosts. Maybe this information is stale, after you have changed host names etc. Please apply "M-x tramp-cleanup-all-buffers". If the problem remains, cleanup the Tramp buffers again, setup the debugging options as shown yesterday, rerun the test, and show the Tramp buffers. The debug buffer I've seen yesterday did contain only part of the connection trace, so I couldn't find out what went wrong. Best regards, Michael.