LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


OS: RHEL4 AS4

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/auto.direct

2> Create /etc/auto.direct 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"


Problem:
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration