Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.