From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sunway Newsgroups: gmane.emacs.help Subject: Re: error when using tramp Date: Wed, 28 May 2008 23:41:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <80f3d67b-b75b-4b58-a07d-eb64b437811a@l28g2000prd.googlegroups.com> 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 1212046849 23231 80.91.229.12 (29 May 2008 07:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 07:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 09:41:30 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 1K1clN-00067H-EP for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2008 09:41:29 +0200 Original-Received: from localhost ([127.0.0.1]:57674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1ckb-000543-Ok for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2008 03:40:41 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 123.127.134.57 Original-X-Trace: posting.google.com 1212043293 13092 127.0.0.1 (29 May 2008 06:41:33 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 29 May 2008 06:41:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l28g2000prd.googlegroups.com; posting-host=123.127.134.57; posting-account=ngAdqwoAAAA0uK1OfC15kE5UvDiCOvxy User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.27 (X11; Linux i686; U; zh-cn),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 localhost.localdomain:8080 (squid/2.6.STABLE18) Original-Xref: news.stanford.edu gnu.emacs.help:158990 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:54354 Archived-At: On May 29, 2:30=A0pm, Michael Albinus wrote: > 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 =A0problem 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. it works, thanks