Hi Mike,
I found the problem. A regular mount was also failing when I was
pointed to the new NIS server. I tried to determine which NIS maps
that mount depended upon; then, I noticed that I neglected to copy our
"group" file over to the new NIS server! Once I did this, everything
began to work properly.
Thanks for your help.
-Steve
Mike Anonymous Coward wrote:
> On Wed, 08 Nov 2006 06:22:19 -0800, Steve Rottinger wrote:
>
> > Hi,
> >
> > We have been successfully using NIS with autofs for several years.
> > However, recently when I upgraded one of our servers, and my desktop
> > client machine to use Fedora Code 5, things started to fall apart.
> > We have an "auto.home" file that is provided by our NIS server. If
> > the NIS server is running on our old server (running EL 1), everything
> > works great from all client machines. However, if the FC5 server is
> > handling NIS, when I attempt to access an autofs directory from my FC5
> > client, ie: /home/steve, I get the following error reported to the log
> > on my client machine:
> >
> > Nov 8 08:55:59 steve-pc3 automount[14242]: >> mount: special device
> > /mnt/users/software/steve does not exist
> > Nov 8 08:55:59 steve-pc3 automount[14242]: failed to mount /home/steve
> >
> > It appears that the server "marge:" is being stripped from the mount
> > device.
> >
> > The line in auto.home is the same as it has always been:
> > steve marge:/mnt/users/software/steve
> >
> > ypcat auto.home displayes the correct auto.home file.
> >
> > Interestingly, if I attempt to access /home/steve from another client,
> > not running FC5, for instance an old Solaris machine, everything works
> > fine.
> >
> > Anyone have any ideas?
> >
> > Thanks in advance,
> >
> > -Steve
>
> So on the client you get
> # ypcat -k auto.master
> /home auto.home
>
> # ypcat -k auto.home
> steve marge:/mnt/users/software/steve
> (there is only one string of white spaces in there)
>
> # nslookup marge
> works
>
> .. a manual mount works? (Cut/Paste it to make sure it is spelled the same)
> mkdir /tmp/steve
> mount marge:/mnt/users/software/steve /tmp/steve
>
> just to be sure automount is up top date
> # service autofs reload
> # ps -ef | grep auto.home
> automount --timeout=60 /home yp auto.home
> ... actually I dont have that running, it should be about that.
>
> # cd /home/steve
> still fails... same error?
>
> Maybe be really sure?
> # ypcat -k auto.home | od -c
>
> but it works on non FC5 machines... I don't know.
|