Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-03-2004, 11:56 AM   #1
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 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
Old 12-04-2004, 10:57 AM   #2
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

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, 06:52 PM   #3
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, 07:23 PM   #4
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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.



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 12:24 PM
how to upgrade from samba 2.0 to 3.0 bahadur Linux - Software 1 04-05-2004 09:10 AM
problem with samba upgrade freemanatomic Linux - Software 0 02-27-2004 04:21 AM
Samba Upgrade antken Linux - Networking 0 04-09-2003 03:40 PM
Samba upgrade dvong3 Linux - Newbie 0 03-21-2003 03:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration