View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: AutoFs
PostPosted: Sun Mar 18, 2007 10:26 am 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
I have been trying to get Autofs to work on my current Knoppmyth box, but no luck so far. After following the Wiki I can not seem to get it right, but I dont get any errors in the terminal when I start it ether. My question is where is the log file that I should be looking at to see whats going on?

Thanks!

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 11:14 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See the general guidelines on what files contain what messages here: http://www.knoppmythwiki.org/index.php?page=CheckingLogFiles

An old trick is to simply do an ls -trla /var/log before and after the thing you're looking for logs on. This isn't 100% because sometimes things are in subdirectories like /var/log/mysql or /var/log/mythtv but it's a pretty good first cut.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 2:38 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
Try grep mount /var/log/*

this will search through all files in /var/log and spit out any lines that contain the word "mount". Learn grep, it's your friend.

A quick search on my box brings up a automount failure in /var/log/syslog.

Hope that helps...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 3:46 pm 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
Thank you! I found this.

/var/log/daemon.log.0:Mar 17 17:57:52 mythtv automount[16932]: lookup(yp): map auto.smba.mnt: Local domain name not set

So I opened webmin and went to samba and checked, the workgroup name was set. So am I on the wrong track here?


srahrens wrote:
Try grep mount /var/log/*

this will search through all files in /var/log and spit out any lines that contain the word "mount". Learn grep, it's your friend.

A quick search on my box brings up a automount failure in /var/log/syslog.

Hope that helps...

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 3:58 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
ok so you're trying to mount a samba share - that's important information. :) in the future more specifics will enable people to give you more assistance.

so have you tried mounting the samba shares manually yet w/ smbmount? This command should take the same syntax as that listed in your auto.mnt file, so if smbmount works then you know your auto.mnt file is probably cool. If not, then you need to get samba going before using autofs to mount it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 4:57 pm 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
Opps, Sorry, but thanks I will try that!

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu