Solved

Solaris NIS: Auto.direct not mounting “ksh: /mountpoint: not found”

Posted on 2006-11-03
3
1,062 Views
Last Modified: 2013-12-19
Hey!

So, I cannot get the auto.direct to function with an otherwise working NIS.  I inherited this setup, so I am be unfamiliar with parts of it.

Basically, we have automount maps for /home, /share and “auto direct”.  

The home and share works flawlessly, but the auto.direct was filled with mounts that were no longer available (all to a non-existent server.)

I emptied out all the non-existent mounts and added a couple of existing ones, pushed out the map but the mounts won’t work.

When I “ypcat –k auto.direct” on any of the client machines, it shows the correct changes...but when I go to /mountpoint...I get a “/mountpoint: not found” error.  

It doesn’t matter if I mkdir a “/mountpoint” dir on the client (Solaris in this case) or not.

It also doesn’t matter if I restart “/etc/init.d/autofs” or “/etc/init.d/nscd” (solaris client)

Here’s what the auto.master looks like:
/-   auto.direct
/home   auto.home
/share   auto.share

What am I missing?

Thanks!
M
0
Comment
Question by:Mike R.
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 17878655
To use auto_direct, please have a look at the instructions in the following doc:
http://docs.hp.com/en/5990-7199/ch03s06.html

(It is for HP-UX, it can also apply to Solaris).

also please check your /etc/nsswitch.conf to make sure automount use "nis"
eg:
automount: files nis

Here're some NIS FAQ/How-To  docs:
http://www.unix.org.ua/orelly/networking_2ndEd/nfs/ch09_02.htm
http://mleahu.home.cern.ch/mleahu/doc/unix/net/nis%20faq.htm
http://yolinux.com/HOWTO/NIS-HOWTO.html
http://www.softpanorama.org/Net/NIS/nis_maps.shtml
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question