LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-03-2004, 10:56 AM   #1
zyzzx
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10.0
Posts: 3

Rep: Reputation: 0
Question Samba: Problem after 3.0.9 upgrade


Hey, my first post! To start, thanks for all the great info I've found on this site. I installed Slackware on an old laptop a few months ago, my first time using Linux, and I'm hooked! I've learned more in 2 months fiddling with Linux than years on Windows. I love it. My wife doesn't see me as much anymore though.

So, obviously I'm completely new, and I have a problem. I recently upgraded Samba from 3.0.7 to 3.0.9 and an error immediately crept up. First, samba refused to start at boot and a manual start produced this:

ERROR: Could not determine network interfaces, you must use a interfaces config line

I updated my smb.conf file with interfaces = eth0 192.168.2.16. That allowed samba to start but I still get "WARNING: no network interfaces found" in the log and when I use smbclient. It chews a few seconds and eventually I can access my shares Ok, also my fstab entry mounts Ok too, but I always get this warning in the log.

Everything worked fine before the upgrade. Any ideas what I broke?

My [global] smb.conf file:

workgroup = THECOMPLEX
server string = Samba Server
security = user
hosts allow = 192.168.2. 127.
load printers = yes
log file = /var/log/samba.%m
max log size = 300
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = eth0 192.168.2.16
 
Old 12-04-2004, 09:57 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
By default Samba listens on of all the network interfaces on the systems, including the "loopback" interface (called lo) which has the IP address 127.0.0.1.

It sounds like Samba is unable to automatically figure out what network interfaces are on the system. So three thoughts:

a) Are you using DHCP on an interface ? (a modem or ADSL connection is also a network interface).
b) Double-check the configuration of the network interfaces for other anomalies.
c) Are you compiling Samba from source ? (if so try the Samba lists).

Not a Slackware user, so I can't help with configuring interfaces the Slackware way.

Hope that helps
 
Old 12-06-2004, 05:52 PM   #3
zyzzx
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply hob. I think I must have installed my Samba Package incorrectly. I've reversed course and gone back to my previous version until I can figure out what I did.
 
Old 12-06-2004, 06:23 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
First thing I'd check is to verify that both versions use
the same installation directories for all files, and that all
files had been replaced, including config-files.



Cheers,
Tink
 
  


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
Samba 3.0.4 with winbind and active directory upgrade problem jhibbets Red Hat 0 08-16-2004 11:24 AM
how to upgrade from samba 2.0 to 3.0 bahadur Linux - Software 1 04-05-2004 08:10 AM
problem with samba upgrade freemanatomic Linux - Software 0 02-27-2004 03:21 AM
Samba Upgrade antken Linux - Networking 0 04-09-2003 02:40 PM
Samba upgrade dvong3 Linux - Newbie 0 03-21-2003 02:42 AM


All times are GMT -5. The time now is 08:05 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