LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba: Problem after 3.0.9 upgrade (https://www.linuxquestions.org/questions/linux-software-2/samba-problem-after-3-0-9-upgrade-262166/)

zyzzx 12-03-2004 10:56 AM

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

hob 12-04-2004 09:57 AM

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

zyzzx 12-06-2004 05:52 PM

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.

Tinkster 12-06-2004 06:23 PM

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


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