[Tfug] Need help troubleshooting autofs problems

Glen Pfeiffer glen at thepfeiffers.net
Sun Jul 8 19:09:45 MST 2007


I am setting up my wife's desktop with autofs to mount a samba 
share. I can manually mount the share with smbmount, but it is 
not mounting with autofs, and I do not see any errors.

I am using this same setup successfully on another machine.

1. Does anybody have any experience with autofs that might help?
2. Can anyone point me to some other logs that might help?

I noticed the "autofs getmounts" output is different on this 
machine than the other.
	> /var/shared program ....
The other machine has "file" instead of program. I do not know 
what that's about either, but I have searched.

Here is all the relevant info that I know of:


----------------------------------------------
# cat /etc/auto.master
/var/shared     /etc/auto.shared --timeout=60

# cat /etc/auto.shared
glen   -fstype=smbfs,username=****,password=****,uid=1000,gid=1000 ://192.168.168.100/files

# /etc/init.d/autofs restart
Stopping automounter: done.
Starting automounter: done.

# /etc/init.d/autofs getmounts
/usr/sbin/automount --timeout=60 /var/shared program /etc/auto.shared

# cd /var/shared
# ls -al
total 4
drwxr-xr-x  2 root root    0 2007-07-07 19:02 .
drwxr-xr-x 16 root root 4096 2007-07-07 19:02 ..

# cd /var/shared/glen
bash: cd: glen: No such file or directory

# tail /var/log/syslog
Jul  7 18:36:13 localhost afpd[2566]: uam: loading (/usr/lib/netatalk/uams_clrtxt.so)
Jul  7 18:36:13 localhost afpd[2566]: uam: uams_clrtxt.so loaded
Jul  7 18:36:13 localhost afpd[2566]: uam: loading (/usr/lib/netatalk/uams_randnum.so)
Jul  7 18:36:13 localhost afpd[2566]: uam: uam not found (status=-1)
Jul  7 18:36:13 localhost afpd[2566]: uam: "Cleartxt Passwrd" available
Jul  7 18:36:14 localhost /usr/sbin/cron[2752]: (CRON) INFO (pidfile fd = 3)
Jul  7 18:36:14 localhost /usr/sbin/cron[2753]: (CRON) STARTUP (fork ok)
Jul  7 18:36:14 localhost /usr/sbin/cron[2753]: (CRON) INFO (Running @reboot jobs)
Jul  7 18:51:46 localhost automount[2946]: lookup(program): lookup for glen failed
Jul  7 18:51:46 localhost automount[2946]: failed to mount /var/shared/glen

# tail /var/log/messages
Jul  7 18:35:15 localhost kernel: lp0: using parport0 (interrupt-driven).
Jul  7 18:35:15 localhost kernel: ppdev: user-space parallel port driver
Jul  7 18:35:22 localhost lpd[2545]: restarted
Jul  7 18:35:22 localhost kernel: NET: Registered protocol family 5
Jul  7 18:36:06 localhost papd[2564]: restart (2.0.3)
Jul  7 18:36:06 localhost papd[2564]: CUPS support enabled (1.1)
Jul  7 18:36:07 localhost kernel: Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Jul  7 18:36:07 localhost kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jul  7 18:36:07 localhost kernel: NFSD: starting 90-second grace period
Jul  7 18:55:13 localhost -- MARK --

-- 
Glen





More information about the tfug mailing list