LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-16-2005, 04:40 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Rep: Reputation: 31
can't load /etc/samba/smb.conf


Whenever I try to use smb4k or lisa I get the following error

can't load /etc/samba/smb.conf

when I ran testparm I got the following output :

root@darkstar:/usr/local/bin# testparm
Load smb config files from /etc/samba/smb.conf
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Error loading services.
root@darkstar:/usr/local/bin#


whats wrong here?
 
Old 10-16-2005, 07:10 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I'll guess that the file doesn't exist since that's what the error says but maybe you can confirm:
ls -l /etc/samba/smb.conf
 
Old 10-16-2005, 09:33 AM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Original Poster
Rep: Reputation: 31
Ok that's right it does not exit ....what should I do ....just search for a smb.conf example file and edit it than insert it ??
 
Old 10-16-2005, 10:05 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
If you install the samba packages for your distro it should include a default config file, they are probably alos required to provide libraries to smb4k. If you have installed them then check that there aren't any smb.conf files like smb.conf.orig smb.conf.rpmnew etc in the /etc/samba directory. If so, just copy these to /etc/samba/smb.conf
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 12:54 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
How to edit /etc/samba/smb.conf dazzyboi Linux - Newbie 3 07-26-2004 04:36 PM
samba smb.conf lukalinuix Linux - Networking 5 06-21-2004 06:32 AM
/etc/samba/smb.conf tsitras Linux - Newbie 2 04-09-2004 08:33 PM


All times are GMT -5. The time now is 01:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration