Problem getting automount started
Hi all,
I have a problem with the automount service, whenever i am trying to start it, it fails. [ root@removed etc]# service autofs start Starting automount: failed to load map: "/usr/sbin/automount --timeout` /misc file /etc/auto.misc" failed to load map: "/usr/sbin/automount --timeout600 /au[FAILED]/etc/auto.indirect rsize2768,wsize2768,tcp" I don't understand what could be the problem. The files envolve the automount proccess look fine. [ root@removed etc]# service autofs start Starting automount: failed to load map: "/usr/sbin/automount --timeout` /misc file /etc/auto.misc" failed to load map: "/usr/sbin/automount --timeout600 /au[FAILED]/etc/auto.indirect rsize2768,wsize2768,tcp" [ root@removed etc]# cat /etc/auto.master # $Id: auto.master.nis,v 1.9 2006/06/22 16:47:21 brilong Exp $ # Format of this file: # mountpoint map options # For details of the format look at autofs(8). # # NOTE: touch /etc/auto.master.nooverwrite if you do not want # RPM upgrades of ecs-autofs-files overwriting auto.master /misc /etc/auto.misc --timeout` /auto /etc/auto.indirect rsize2768,wsize2768,tcp #/users yp:auto_home rw,hard,intr,rsize2768,wsize2768,tcp ----------- [ root@removed etc]# cat /etc/auto.master # $Id: auto.master.nis,v 1.9 2006/06/22 16:47:21 brilong Exp $ # Format of this file: # mountpoint map options # For details of the format look at autofs(8). # # NOTE: touch /etc/auto.master.nooverwrite if you do not want # RPM upgrades of ecs-autofs-files overwriting auto.master /misc /etc/auto.misc --timeout` /auto /etc/auto.indirect rsize2768,wsize2768,tcp #/users yp:auto_home rw,hard,intr,rsize2768,wsize2768,tcp [ email@removed etc]# cat /etc/auto.misc # $Id: auto.misc,v 1.3 2005/03/15 18:02:13 brilong Exp $ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage #kernel -ro,soft,intr ftp.kernel.org:/pub/linux cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom # the following entries are samples to pique your imagination #floppy -fstype=ext2 :/dev/fd0 #e2floppy -fstype=ext2 :/dev/fd0 #jaz -fstype=ext2 :/dev/sdc1 ----------- [ root@removed etc]# cat /etc/sysconfig/autofs # Define custom options in /etc/sysconfig/autofs # Use LOCALOPTIONS for defining variables, e.g. OSREL # Use LDAPAUTOMASTER to define an alternative ldap master map # Define UNDERSCORETODOT as 1 to convert # auto_home to auto.home and auto_mnt to auto.mnt # Mount options, e.g. rsize=8192, should go in auto.master or # the auto_* map entry for a specific mount point # LOCALOPTIONS="" LDAPAUTOMASTER="" # UNDERSCORETODOT changes auto_home to auto.home and auto_mnt to auto.mnt UNDERSCORETODOT=1 DISABLE_DIRECT=1 # Only source one master map if set to 1. This would mimic Sun behaviour. # The default is 0 to maintain backwards compatibility. ONE_AUTO_MASTER=0 # List of directories to be ghosted, separated by white space. GHOSTDIRS="" DAEMONOPTIONS="--timeout600" Someone has an idea?? Thanks!!!! |
Hey There,
The first thing that comes to mind, looking at auto.master is perhaps trying indirect maps instead of direct maps, changing Quote:
Quote:
Quote:
Another simple way to get around this would be to just have Quote:
Best wishes, Mike |
Hi,
Thanks for the replay! 1. I tried to edit the .nmaster file as you wrote - didn't worked.. BTW, tried to write the auto.master this way : /misc YourMountOptions /etc/auto.misc /auto YourMountOptions /etc/auto.indirect and it didn't worked. 2. I found the problem the auto.indirect file was bad writen. It was an old file that the machine got from a nis server.. Any way thsnks..:) |
Cool,
Glad to hear that it's all working well now :) , Mike |
All times are GMT -5. The time now is 12:10 AM. |