Skip to contentSkip to conversation

Autofs Error Messages

DISCUSSION Thanh Tran 1 participant 1 message Jun 18, 2009 Kernel automounter

lore
Share & tools
lore

Thanh Tran

author
#0 lore raw

The execute bit was set on the file. I chmod -x and it works now. Thanks.

Quoted 42 lines · Ian Kent

From: Ian Kent <[email protected]>
Subject: Re: [autofs] Autofs Error Messages
To: "Thanh Tran" <[email protected]>
Cc: [email protected]
Date: Thursday, June 18, 2009, 12:53 PM

Quoted 1 line · Thanh Tran

I've been having problems w/ automount.  It does

not detect my usb

Quoted 1 line

drive.  Looking at the system logs, my kernel

seems to see the usb

Quoted 1 line

stick insertion just fine.  The automount log

indicates it's running.

Quoted 3 lines

I get the following message.

automount[900]: attempting to mount entry

/mnt/usbdrive/usbdrive

Quoted 1 line

automount[900]: lookup(program): lookup for usbdrive

failed

Quoted 1 line

automount[900]: failed to mount

/mnt/usbdrive/usbdrive

Quoted 6 lines

The auto.master:

/mnt/usbdrive /etc/auto.usbdrive

The auto.usbdrive: usbdrive

-fstype=vfat,uid=500,gid=500,umask=002

Quoted 3 lines

:/dev/sdb1

I've done a quick internet search on the issue and the

advice I got

Quoted 1 line

was to check the auto.usbdrive file.  It seems OK

to me.  Any other

Quoted 1 line

suggestions?  Thanks in advance.

Looks like /etc/auto.usbdrive is executable and autofs is trying to
execute it instead of reading it.

Ian