Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS and autofs trouble with FC5

Reply
Thread Tools Display Modes

NIS and autofs trouble with FC5

 
 
Steve Rottinger
Guest
Posts: n/a

 
      11-08-2006, 01:22 PM
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

 
Reply With Quote
 
 
 
 
Mike Anonymous Coward
Guest
Posts: n/a

 
      11-09-2006, 04:25 PM
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.
 
Reply With Quote
 
Steve Rottinger
Guest
Posts: n/a

 
      11-09-2006, 06:28 PM
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems w/ autofs and NIS d_dave Linux Networking 0 06-07-2006 07:14 PM
autofs 4.1.3 problem pranay.tembhekar@gmail.com Linux Networking 4 03-23-2006 03:53 AM
Autofs problem titi Linux Networking 1 03-22-2006 09:02 AM
WAG54G and ZoneAlarm..... trouble trouble trouble... MP Wireless Internet 4 07-28-2004 10:42 AM
autofs question rihad Linux Networking 0 01-16-2004 09:45 AM



1 2 3 4 5 6 7 8 9 10 11