Automount startup problem

From: Douglas C. Stephens <stephens_at_ameslab.gov>
Date: Fri, 08 Sep 2000 10:35:05 -0500

I have a DU4.0D system with aggregate patch kit duv40das0005-19991007
applied. I am trying to startup using the automount daemon to let me
use loopback nfs mounts so I can work around certain chroot() restrictions
I need in my FTP services. My problem is that the automount daemon
never successfully starts. It always dies on startup with the following
messages in the syslog:

Sep 8 09:44:17 alloy automount[2208]: gethostbyaddr failed, h_errno 1
Sep 8 09:44:17 alloy automount[2208]: No file systems to serve

The first message indicates to me that the automounter is getting
confused about which local addresses to bind to. This might be a factor
because this host has a 10BaseT and a FDDI network interface, but the
10BaseT is no configured and is "down", so only the FDDI is configured
and "up". Further, the FDDI interface has several alias IP address as
well as its primary address. I tried configuring the 10BaseT interface
with an IP address and bringing it "up", but nothing changed. Then I
tried adding entries to my /etc/hosts file for the IP alias addresses.
The gethostbyaddr message went away, but the second message remained and
the automounter still failed to start.

I found some old messages in the archive for this list that said maybe I
should abandon trying to get automount to work and go to AMD instead.
Opinions?

I've appended below the configs I'm using for /etc/exports, my
automounter maps, and my automounter command line args in case maybe
there's just a stupid syntax error.

I'll summarize any answers I get. Thanks in advance.

/etc/exports:
-------------
/var/users/ftp/stephens -access=localhost
/var/users/ftp/longuser -access=localhost

/etc/auto.master:
-----------------
/- auto.anonftp -rw,nosuid

/etc/auto.anonftp:
------------------
/var/users/stephens/public localhost:/var/users/ftp/stephens
/var/users/longuser/public localhost:/var/users/ftp/longuser

/etc/rc.config (automount stuff):
---------------------------------
AUTOMOUNT="1"
export AUTOMOUNT
AUTOMOUNT_ARGS="-m -f /etc/auto.master"
export AUTOMOUNT_ARGS

--
Douglas C. Stephens             | Network/DNS/Unix/WinNT/VMS Administrator
System Support Specialist       | Postmaster / Webmaster
Information Systems             | Phone: (515) 294-6102
Ames Laboratory, US DOE         | Email: stephens_at_ameslab.gov
Received on Fri Sep 08 2000 - 15:36:13 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT