autofs hangs, CentOS6.2
Hello,
To access some scientific software, I have been running a script on a remote share accessed through autofs and automount. Everything was running fine for months when this script started to hang and it looks like automount is the problem. When trying to run the script I try to "execute" a symbolic link pointing to the real script at the remote location that automount should mount but this is what happens: Starting autofs : Code:
service autofs start Code:
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts Code:
automount[16308]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master dmesg output at this point : Code:
automount[15825]: segfault at 28 ip 00007f285e149862 sp 00007f28619e1960 error 4 in lookup_hosts.so[7f285e140000+1c000] Code:
automount[16806]: rpc_get_exports_proto Code:
abrtd: Sending an email... |
Sounds like a host lookup issue related to one of the mounts you have setup. Can you do a "host servername" on all the servers you have listed in your autofs config files without error?
|
Also what does your /etc/nsswitch.conf file look like?
|
autofs config files are mostly unmodified we only added the following to the auto.master:
Code:
/net /etc/auto.net network shares (should) get mounted when issuing a <command>, executable created as below: Code:
ln -s /hosts/server.somefed.gov/subdirs/command /usr/bin/command also, I can mount manually the "server.somefed.gov/subdirs" directory using a simple mount command: Code:
mount /hosts/server.somefed.gov/subdirs /mnt /etc/nsswitch.conf: Code:
# ps : sorry for the altered domain name(s), working for a federal research institute I don't want to have my rear kicked because some IT security guy thought I posted sensitive info. |
I'm stumped, I thought it might have been due to you using nis as opposed to DNS for lookups but you already have that set. I'll do some more thinking and bounce it off a few people but hopefully someone can post something behind me to help get you there. Your files look correct.
|
Downgrading autofs-5.0.5-54.el6.x86_64 to autofs-5.0.1-0.rc2.163.el5.x86_64 solved the problem.
|
All times are GMT -5. The time now is 05:54 AM. |