Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7694134
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类: LINUX

2005-07-12 21:09:59

使用autofs出现的问题以及解决办法。注意执行权限!!!

Re: [SOLVED][autofs] lookup(program): lookup for foo failed


  • From: Michael B Allen
  • To: fedora-list redhat com
  • Subject: Re: [SOLVED][autofs] lookup(program): lookup for foo failed
  • Date: Sat, 14 May 2005 22:41:04 -0400

On Sat, 14 May 2005 20:51:28 -0400
Michael B Allen wrote:

> /mnt/foo if accessed. However with FC3 this simply does not work. I get:
>
> May 14 20:44:00 quark automount[9844]: lookup(program): lookup for foo failed

I made an error. I accedentally created the auto.foo map file with
executable permissions. If you do this the autofs init script will
interpret it as a "program" and attempt to execute it rather then parse
it as a regular map file. Simply doing chmod -x on it and restarting
autofs fixes the problem.

Needless to say the autofs documentation is in need of some work.

Mike

阅读(1671) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~