Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-22-2008, 09:53 AM   #1
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
cifs + autofs failed to lookup (program)


I want to mount a win3004 network-shared volume on my linux box via autofs.
I did as follows.

1> Add the following line under /etc/auto.master to create a mount map.

/mnt /etc/

2> Create /etc/ as follows.
lab01 -fstype=cifs,credentials=/etc/secret.file ://winbox-ip/net-vol

/etc/secret.file includes the username/password to access the winbox net-vol.

3> start autofs by "#service autofs start"

I tried to move to /mnt/lab01 but it shows "/mnt/lab01: No such device and address". Then, I tried to mount the net-vol manually as follows and it works fine.

# mount -t cifs -o credentials=/etc/secret.file //winbox-ip/net-vol /mnt/lab01

Also, I tail the /var/log/messages and it shows as follows.

automount[12157]: lookup(program):failed
Apr 24 17:39:32 localhost automount[12157]: failed to mount /mnt/lab01

Kindly please give me some ideas to troubleshoot the autofs + cifs problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS lookup failed DropHit Linux - General 1 12-29-2007 03:25 AM
Autofs ( loading autofs4 failed) thinker Linux - Software 0 04-19-2007 06:54 AM
problem with sendmail, IP address lookup failed mcd Linux - Networking 6 03-14-2005 08:14 AM
dns lookup failed s0393342 Linux - Networking 2 08-09-2004 07:59 AM
ERROR: Failed to lookup IP address for (domain name) aluminum Linux - Newbie 7 11-11-2003 08:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 PM.

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