LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2012, 06:36 AM   #1
igor012
Member
 
Registered: Feb 2010
Posts: 89

Rep: Reputation: 2
Autofs problem - shares are not mounted


Hello,
I am experiencing some issues with autofs.

Autofs mounts the home folders and some other ones. The mapping is given by ldap.

It used to work perfectly but now it doesn't anymore. I didn't change anything on the server nor the client.

But, when I restart the service manually all the shares are mounted.

I am using - Opensuse 12.1 - kernel: 3.1.9-1.4-desktop

/etc/sysconfig/autofs
Code:
## Path:           System/File systems/Autofs
## Description:    General global options.
## Type:           string
## Default:        ""
## ServiceReload:  autofs
#
AUTOFS_OPTIONS=""

## Description:    Default mount options.
## Type:           string
## Default:        ""
#
# Default mount options which are appended or replaced to
# each map entry (see also APPEND_OPTIONS).
LOCAL_OPTIONS=""

## Description:    Append or replace options.
## Type:           string
## Default:        "yes"
#
# Determine whether LOCAL_OPTIONS are appended to map entry options
# or if the map entry options replace the global options
# (program default "yes", append options).
APPEND_OPTIONS="yes"

## Description:    Use AutoFS miscellaneous device (/dev/autofs).
## Type:           string
## Default:        "yes"
#
# Determine whether the AutoFS misc device (/dev/autofs) will be used
# for routing ioctl commands. Requires kernel support (2.6.28 and newer).
USE_MISC_DEVICE="yes"

## Description:    Default map name for the master map.
## Type:           string
## Default:        "auto.master"
#
DEFAULT_MASTER_MAP_NAME="auto.master"

## Description:    Set the default mount timeout.
## Type:           integer(0:)
## Default:        600
#
DEFAULT_TIMEOUT=600

## Description:    maps are browsable by default.
## Type:           string
## Default:        "yes"
#
DEFAULT_BROWSE_MODE="yes"

## Description:    Set default log level.
## Type:           string
## Default:        "none"
#
# "none", "verbose" or "debug"
#
DEFAULT_LOGGING="verbose"

## Description:    Define the default LDAP schema to use for lookups.
## Type:           string
## Default:        "auto.master"
#
# System default
#
#DEFAULT_MAP_OBJECT_CLASS="nisMap"
#DEFAULT_ENTRY_OBJECT_CLASS="nisObject"
#DEFAULT_MAP_ATTRIBUTE="nisMapName"
#DEFAULT_ENTRY_ATTRIBUTE="cn"
#DEFAULT_VALUE_ATTRIBUTE="nisMapEntry"
#
# Other common LDAP nameing
#
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="ou"
DEFAULT_ENTRY_ATTRIBUTE="cn"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
#
#DEFAULT_MAP_OBJECT_CLASS="automountMap"
#DEFAULT_ENTRY_OBJECT_CLASS="automount"
#DEFAULT_MAP_ATTRIBUTE="automountMapName"
#DEFAULT_ENTRY_ATTRIBUTE="automountKey"
#DEFAULT_VALUE_ATTRIBUTE="automountInformation"

## Description:    Set the default location for the SASL authentication configuration file.
## Type:           string
## Default:        "/etc/autofs_ldap_auth.conf"
#
DEFAULT_AUTH_CONF_FILE="etc/autofs_ldap_auth.conf"

## Description:    Set the map cache hash table size.
## Type:           integer
## Default:        1024
#
# Should be a power of 2 with a ratio roughly between 1:10 and 1:20
# for each map.
MAP_HASH_TABLE_SIZE=1024
/var/log/messages
Code:
Mar 21 12:01:18 workstation automount[3849]: Starting automounter version 5.0.6, master map auto.master
Mar 21 12:01:18 workstation automount[3849]: using kernel protocol version 5.02
Mar 21 12:01:18 workstation ntpd[3861]: ntpd 4.2.6p3@1.2290 Sat Oct 29 17:37:03 UTC 2011 (1)
Mar 21 12:01:18 workstation ntpd[3863]: proto: precision = 0.151 usec
Mar 21 12:01:18 workstation ntpd[3863]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Mar 21 12:01:18 workstation ntpd[3863]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: Listen and drop on 1 v6wildcard :: UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: Listen normally on 2 lo 127.0.0.1 UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: Listen normally on 3 eth0 192.168.240.113 UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: Listen normally on 4 eth0 fe80::be30:5bff:fead:7642 UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: Listen normally on 5 lo ::1 UDP 123
Mar 21 12:01:18 workstation ntpd[3863]: peers refreshed
Mar 21 12:01:18 workstation ntpd[3863]: Listening on routing socket on fd #22 for interface updates
Mar 21 12:01:18 workstation ntp[3814]: Starting network time protocol daemon (NTPD)..done
Mar 21 12:01:18 workstation automount[3849]: mounted indirect on /homes with timeout 600, freq 150 seconds
Mar 21 12:01:18 workstation automount[3849]: ghosting enabled
Mar 21 12:01:18 workstation automount[3849]: mounted indirect on /s with timeout 600, freq 150 seconds
Mar 21 12:01:18 workstation automount[3849]: ghosting enabled
Mar 21 12:01:19 workstation automount[3849]: mounted indirect on /dl with timeout 600, freq 150 seconds
Mar 21 12:01:19 workstation automount[3849]: ghosting enabled
Mar 21 12:01:19 workstation automount[3849]: mounted indirect on /s/city2 with timeout 600, freq 150 seconds
Mar 21 12:01:19 workstation automount[3849]: ghosting enabled
Mar 21 12:01:19 workstation automount[3849]: mounted indirect on /s/city1 with timeout 600, freq 150 seconds
Mar 21 12:01:19 workstation automount[3849]: ghosting enabled
Mar 21 12:01:19 workstation automount[3849]: mounted indirect on /s/city3 with timeout 600, freq 150 seconds
Mar 21 12:01:19 workstation automount[3849]: ghosting enabled
Mar 21 12:01:19 workstation autofs[3815]: Starting automount ..done
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [General] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [Xdmcp] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [X-*-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [X-*-Greeter] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of key 'UseTheme' in section [X-*-Greeter] of /usr/share/kde4/config/kdm/kdmrc
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [X-:*-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation kdm_config[3883]: Multiple occurrences of section [X-:0-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
Mar 21 12:01:19 workstation xdm[3865]: Starting service kdm..done
Mar 21 12:01:19 workstation acpid: 1 client rule loaded
Mar 21 12:01:19 workstation systemd[1]: Startup finished in 23s 142ms 95us (kernel) + 30s 145ms 60us (userspace) = 53s 287ms 155us.
Mar 21 12:01:20 workstation acpid: 1 client rule loaded
Mar 21 12:01:22 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:01:22 workstation automount[3849]: mounted /homes/user
Mar 21 12:04:13 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:06:43 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:09:13 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:11:43 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:14:13 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:15:51 workstation sshd[3981]: Accepted keyboard-interactive/pam for root from 192.168.240.99 port 46613 ssh2
Mar 21 12:15:51 workstation systemd-logind[953]: New user root logged in.
Mar 21 12:15:51 workstation systemd-logind[953]: New session 2 of user root.
Mar 21 12:15:54 workstation su: (to user) root on /dev/pts/0
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:54 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:54 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:55 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:55 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:55 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:55 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:55 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:55 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:55 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:55 workstation automount[3849]: mounted /homes/user
Mar 21 12:15:55 workstation automount[3849]: attempting to mount entry /homes/user
Mar 21 12:15:55 workstation automount[3849]: mounted /homes/user
Mar 21 12:16:43 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:19:13 workstation automount[3849]: 3 submounts remaining in /s
Mar 21 12:21:43 workstation automount[3849]: 3 submounts remaining in /s
/var/log/warn
Code:
Mar 21 11:17:20 vfxmaster121 automount[3860]: umount_autofs_indirect: ask umount returned busy /s
Mar 21 11:17:56 vfxmaster121 automount[4820]: key "city" not found in map source(s).
Mar 21 11:17:56 vfxmaster121 automount[4820]: key "city3" not found in map source(s).
Mar 21 11:17:56 vfxmaster121 automount[4820]: key "city2" not found in map source(s).
Mar 21 11:18:03 vfxmaster121 automount[4820]: >> Starting rpc.statd .....done
Mar 21 11:21:50 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:21:55 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:21:55 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:21:59 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:23:18 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:23:18 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:23:18 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:23:18 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:27:06 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:27:06 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:27:06 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:27:06 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:29:46 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:29:46 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:29:46 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:29:46 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:32:26 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:32:26 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:32:26 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:32:26 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:35:06 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 11:35:06 vfxmaster121 automount[4820]: add_host_addrs: hostname lookup failed: Name or service not known
Mar 21 11:35:06 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting l01.company.com:/mnt/md0
Mar 21 11:35:07 vfxmaster121 automount[4820]: >> mount.nfs: access denied by server while mounting linuxc.company.com:/mnt/gpfs2/Hshare
Mar 21 12:37:32 vfxmaster121 automount[1006]: lookup(ldap): couldn't connect to server default
Mar 21 12:37:32 vfxmaster121 automount[1006]: lookup(file): failed to read included master map auto.master
Mar 21 12:37:32 vfxmaster121 automount[1006]: no mounts in table
Mar 21 12:37:32 vfxmaster121 automount[1006]: bind_ldap_simple: lookup(ldap): Unable to bind to the LDAP server: (default), error Can't contact LDAP server
Mar 21 11:40:20 vfxmaster121 systemd[4072]: Failed at step EXEC spawning /etc/init.d/erreur_autofs: No such file or directory
Any ideas ?

Thank you
 
Old 03-21-2012, 09:34 AM   #2
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
I may have found out, I uninstalled a package systemd-sysvinit and instead zypper installed sysvinit. I don't know what the differences are between both packages.

I keep digging.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofs problem kingston Linux - Newbie 2 01-17-2011 12:24 AM
autofs problem on SuSe 10 sunilvadranapu SUSE / openSUSE 2 01-06-2009 07:31 AM
AUTOFS problem in Centos 5 sm0king_ac3 Linux - Newbie 1 08-10-2008 02:54 AM
autofs mounting problem vm_devadas Linux - Networking 2 12-21-2007 05:25 AM
autofs problem with hierarchical david1274 Linux - Enterprise 1 05-29-2004 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration