LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-19-2009, 02:02 PM   #1
rhel5
Member
 
Registered: Mar 2009
Location: Bay Area, CA
Distribution: Redhat Enterprise Linux
Posts: 59

Rep: Reputation: 15
Question AutoMount not being Pushed on NIS-help plz


Can anyone with NIS Knowledge help me out please??? _ Thanks in advance!

I have just configured a new auto mount point on my Solaris 9 NIS Server. We use this to push out the auto mount configurations.

It gets stuck with the message "updated auto.natools" after running the make command in /var/yp. If I use CTRL + C to kill it, it says "*** auto.natools.time removed."

All of the autmount point maps work fine except the auto_natools. I already compared the Makefile and auto mount maps with others and they seem to be correct. Here's my steps:

I edited the auto_master file

root@nis94 # cat /etc/auto_master
# Master map for automounter
#
+auto_master
#/net -hosts -nosuid
#/net -hosts -nosuid,nobrowse
#/dsdhome auto.home
#/xfn -xfn
/tools auto_tools
/natools auto_natools
/mnt auto_home

I created the /etc/auto_nahome

root@nis94 # cat /etc/auto_natools
* -rw filesserver2:/new/tools/&

I edited the Makefile in /var/yp

all: passwd group hosts networks rpc services protocols \
aliases publickey netmasks c2secure \
auto.master auto.home auto.tools auto.natools

auto.natools.time: $(DIR)/auto_natools
-@if [ -f $(DIR)/auto_natools ]; then \
sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_natools \
sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_natools \
| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.natools; \
touch auto.natools.time; \
echo "updated auto.natools"; \ <- It seems to get stuck after this part
if [ ! $(NOPUSH) ]; then \
$(YPPUSH) auto.natools; \
echo "pushed auto.natools"; \
else \
: ; \
fi \
else \
echo "couldn't find $(DIR)/auto_natools"; \
fi

auto.natools: auto.natools.time

$(DIR)/auto_natools:

Last edited by rhel5; 09-19-2009 at 02:16 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automount and NIS james.farrow Fedora 0 10-26-2005 01:48 PM
Maximun NIS Map number for automount jeanpba Linux - Networking 0 02-25-2005 03:26 AM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 12:55 PM
NIS automount zapperabhi Linux - Software 0 01-31-2004 03:25 AM
Strange NIS/automount problem mbs_lq Linux - General 3 07-09-2003 09:26 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration