[OpenAFS] AFS Client for Linux trying to contact server at localhost instead of address in CellServDB

Derek Atkins warlord@MIT.EDU
03 Oct 2003 14:03:15 -0400


What do you get from "hostname"?

-derek

"Eggert, Richard W, II (Rich), GVSOL" <rweggert@att.com> writes:

> Both machines have only the following line in /etc/hosts (besides a
> comment saying not to remove the line):
> 
> 127.0.0.1       localhost.localdomain   localhost
> 
> 
> Rich Eggert
> Senior Technical Associate 2
> Technology Leadership Program 2
> AT&T Government Solutions
> 
> 
> -----Original Message-----
> From: Neulinger, Nathan [mailto:nneul@umr.edu]
> Sent: Friday, October 03, 2003 1:29 PM
> To: Eggert, Richard W, II (Rich), GVSOL; openafs-info@openafs.org
> Subject: RE: [OpenAFS] AFS Client for Linux trying to contact server at
> localhost instead of address in CellServDB
> 
> 
> Do you have a goofy hosts file - i.e. one that has a real hostname on
> the 127.0.0.1 line?
> 
> 
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-6679
> UMR Information Technology             Fax: (573) 341-4216
> 
> 
> > -----Original Message-----
> > From: Eggert, Richard W, II (Rich), GVSOL [mailto:rweggert@att.com] 
> > Sent: Friday, October 03, 2003 12:26 PM
> > To: openafs-info@openafs.org
> > Subject: [OpenAFS] AFS Client for Linux trying to contact 
> > server at localhost instead of address in CellServDB
> > 
> > 
> > The first one bounced, so I'll try this again with different 
> > settings....
> > 
> > 
> > >  -----Original Message-----
> > > From: 	Eggert, Richard W, II (Rich), GVSOL  
> > > Sent:	Friday, October 03, 2003 1:16 PM
> > > To:	'openafs-info@openafs.org'
> > > Subject:	AFS Client for Linux trying to contact server 
> > at localhost instead of address in CellServDB
> > > 
> > > Despite spending 5 years using AFS on CMU's machines, this 
> > is my first time trying to install the software myself.  I've 
> > run into a problem that has me stumped, and I'm wondering if 
> > someone could give me some advice.
> > > 
> > > Here's the scenario:
> > > 
> > > I've set up an AFS cell (using a bogus Internet domain name 
> > as my cell name) for sharing my personal files among my home 
> > computers (yes, I know it's overkill).  After much banging my 
> > head against the wall, I managed to install the client and 
> > server software on an Athlon machine running Red Hat Linux 9, 
> > located at 192.168.1.103 on my home network (which uses a 
> > Linksys wireless router as its gateway to my cable Internet 
> > connection).  The client software seems to be playing nicely 
> > with the server (I'm able to access the mounted volumes as 
> > well as authenticate).  It may not be relevant, but I will 
> > also note that I ran into problems getting BOS to load runntp 
> > (I think it may have been conflicting with another time 
> > server process installed with Linux by default), so I 
> > disabled it.  This machine is the only server on the network.
> > > 
> > > I installed the client software (using all the relevant 
> > rpm's from the website except the server, krb5, and src ones) 
> > on another machine running Red Hat Linux 8 at 192.168.1.100.  
> > To simplify debugging, I backed up the sample CellServDB file 
> > on the client and replaced it with just the following, which 
> > is essentially identical to what's on the server:
> > > 
> > > >richard_eggert.comcast.net             #My cell
> > > 192.168.1.103                                   #192.168.1.103
> > > 
> > > I also updated ThisCell appropriately.
> > > 
> > > However, the initialization script fails to mount /afs.  I 
> > found the following in /var/log/messages:
> > > 
> > > Oct  3 01:06:39 localhost kernel: afs: Lost contact with 
> > file server 127.0.0.1 i
> > > n cell richard_eggert.comcast.net
> > > Oct  3 01:06:39 localhost kernel: afs: Lost contact with 
> > file server 127.0.0.1 i
> > > n cell richard_eggert.comcast.net
> > > 
> > > 
> > > I have absolutely no idea why it would be trying to access 
> > a file server at the localhost IP address, and therefore 
> > don't know how to fix it.
> > > 
> > > Does anyone have any ideas?
> > > 
> > > 
> > > 
> > > 
> > > Rich Eggert
> > > Senior Technical Associate 2
> > > Technology Leadership Program 2
> > > AT&T Government Solutions
> > > 
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> > 
> 

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available