LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2003, 04:18 PM   #1
Arot
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Unhappy Samba and RH7.2


Hi I have installed samba succesfully (i think). Then I create an simple smb.conf like the one in the samba distribution and I put in the /usr/local/samba/bin. When I test my smb.conf, it gave me me "ERROR: lock directory /usr/cache/samba does not exisit. Btw, when I testparm it loads the smb.conf from /etc/samba/smb.conf instead of /usr/local/samba/bin. Can anyone one help me with these problems.

1. Why I got this message
2. Where Should I put my smb.conf

Thanks in advance.
 
Old 08-28-2003, 04:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
1) Probably becaues /usr/cache/samba doesn't exist.
2) It depends on the options given at compile time. Try moving them out one at a time - if samba doesn't start with one missing then that is where it should be.
 
Old 08-28-2003, 04:26 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well as I understand it, if you install samba via rpm then it will use /etc/samba/smb.conf so I'd edit that smb.conf file. Then try testparm again and see if it complains.
 
Old 08-28-2003, 05:10 PM   #4
Arot
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Well I didnt installed via rpm. is easier to install via rpm?? if I install again via rpm, will it cause any confusion to the samba program?? if it does what should I do. Thanks
 
Old 08-29-2003, 11:59 AM   #5
rld1025
LQ Newbie
 
Registered: Sep 2001
Posts: 12

Rep: Reputation: 0
Remove your install and install the RPMs for samba and configure the file /etc/samba/smb.conf. It should work like a charm (somewhat at least )
 
  


Reply



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
setting up a printer with cups on RH7 for windows with samba TreeHugger Linux - Networking 2 11-11-2004 11:31 AM
Samba on RH7.3 talking to W2K DC AutoBahn Linux - Networking 0 02-24-2004 05:44 PM
Help with Samba on RH7.2 Arot Linux - Newbie 2 08-27-2003 09:09 AM
Samba, RH7.3 and Windows 2000 whaase Linux - Networking 10 10-04-2002 07:41 PM
Samba and Swat in RH7 jfisk Linux - Newbie 5 11-01-2001 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 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
Open Source Consulting | Domain Registration