Solved

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

Posted on 2006-11-03
3
1,071 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.
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

739 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