tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Steve Herber <herber@thing.com>
Subject: automount without NIS weird error
Date: Thu, 25 Jul 2002 17:06:23 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0207251543410.31662-100000@thing.com> (raw)
In-Reply-To: <5.1.1.2.2.20020725015816.01bc2ef8@pop.myrealbox.com>

I thought this was going to be an easy System Admin 101 level exercise but I
have wasted too much time on it already.  Maybe someone in the group will
notice what I have missed.  Thanks.

I have a computer running Tru64 5.1a that has been part of a NIS domain
and it has been using NIS automounts.  I turned off NIS, rcmgr set
NIS_CONF NO, took yp out of the /etc/svc.conf file, took the + entries
from /etc/{passwd,group}, and rebooted.  NIS is off and the automounts
don't work as expected.

I created auto.master and the other map files, auto.projects, auto.uns, and
auto.tmp.  Here is auto.master:

root@mirko / 505 > cat /etc/auto.master
/net    -hosts
/-      auto.tmp
/projects       auto.projects
/uns    auto.uns

root@mirko / 506 > 

root@mirko /etc 515 > ls -l auto*
-rw-r--r--   1 root     system        50 Jul 25 15:41 auto.master
-rw-r--r--   1 root     system       452 Jul 25 14:25 auto.projects
-rw-r--r--   1 root     system        53 Jul 25 14:24 auto.tmp
-rw-r--r--   1 root     system       400 Jul 25 14:26 auto.uns
lrwxr-xr-x   1 root     system        43 May 22 10:45 autopush.conf ->
../cluster/members/{memb}/etc/autopush.conf
root@mirko /etc 516 > 


These are the AUTOFS entries in /etc/rc.config:

AUTOFS="1"
AUTOFSMOUNT_ARGS="-v -m -f /etc/auto.master"
AUTOFSD_ARGS="-v"

When the system starts these errors are in syslog.dated/current/user.log:


less /var/adm/syslog.dated/current/user.log 
Jul 25 16:45:56 mirko autofsmount[612]: intercept /net mounted
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.tmp failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: mapfile_getline: yp_first +auto.tmp:
args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.projects failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: check_indirect: mapfile_getline:
yp_first +auto.projects: args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: intercept /projects mounted
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.uns failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: check_indirect: mapfile_getline:
yp_first +auto.uns: args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: intercept /uns mounted
/var/adm/syslog.dated/current/user.log (END) 

I don't mind a few warnings, but with the -m option, to autofsmount
is supposted to tell it to ignore NIS, yet that does not seem to be
happening.  Only /net works at all.  All the other mount points won't
respond.  Any suggestions?

Thanks,


-- 
Steve Herber	herber@thing.com	work: 206-261-0307
Systems Engineer, AMCIS, UoW		home: 425-454-2399





      reply	other threads:[~2002-07-26  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  5:59 Fwd: Help upgrading CPU in a PC164 motherboard Melvin T Melvin
2002-07-26  0:06 ` Steve Herber [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox