On Sat, 2003-01-18 at 20:22, L. Mark Stone wrote:
Samba won't start (bummer!)
I've RTFM, and the problem seems to be that SMB is not starting correctly.
/var/log/samba/log.nmbd shows:
[2003/01/18 23:05:32, 0] nmbd/nmbd.c:main(794) Netbios nameserver version 2.2.5-SuSE started. Copyright Andrew Tridgell and the Samba Team 1994-2002 [2003/01/18 23:05:32, 1] lib/debug.c:debug_message(258) INFO: Debug class all level = 2 (pid 957 from pid 957) [2003/01/18 23:05:32, 2] nmbd/nmbd.c:main(832) Becoming a daemon. [2003/01/18 23:05:32, 2] lib/interface.c:add_interface(81) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 [2003/01/18 23:05:32, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 [2003/01/18 23:05:32, 0] lib/util_sock.c:open_socket_in(804) bind failed on port 137 socket_addr = 192.168.0.1. Error = Cannot assign requested address [2003/01/18 23:05:32, 0] nmbd/nmbd_subnetdb.c:make_subnet(139) nmbd_subnetdb:make_subnet() Failed to open nmb socket on interface 192.168.0.1 for port 137. Error was Cannot assign requested address [2003/01/18 23:05:32, 0] nmbd/nmbd.c:main(872) ERROR: Failed when creating subnet lists. Exiting.
smb.conf reads:
# smb.conf is the main samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE # Date: 2002-11-19 [global] workgroup = lmstone.com server string = Bronxville Samba Server os level = 2 time server = yes unix extensions = yes encrypt passwords = yes log file = /var/log/samba/%m log level = 2 syslog = 0 add user script = /usr/sbin/useradd -g smbusers -c "remote smb user" -d /home/%u -m -s /bin/false %u unix password sync = yes printing = CUPS printcap name = CUPS socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY large readwrite = yes wins support = no local master = no interfaces = 127.0.0.1/8 192.168.0.1/24 bind interfaces only = yes client code page = 437 character set = ISO8859-1 veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [homes] comment = Home Directories valid users = %S browseable = yes writeable = yes create mask = 0640 directory mask = 0750 hide dot files = yes [cdrom] comment = Bronxville DVD path = /media/dvd locking = no [printers] comment = All Printers path = /var/tmp guest ok = yes printable = yes create mask = 0600 browseable = yes public = yes [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [A-Share] comment = Samba Share path = /home/rocks/A-Share browsable = yes guest ok = yes
I'm running SuSE 8.1. My machine gets assigned an IP address via DHCP of 192.168.0.247 by a D-Link DSL modem/router. The D-Link box has several ports, and I'd like to connect a work laptop running W2K, and have the laptop print to the Epson C80 connected to the Linux box. I'd also like to share files between the two machines as well.
Any ideas greatly appreciated! I feel like I'm missing something that's right under my nose!
Best regards to all, Mark
-- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
I have a SuSE 8.1 server running on a Win2K network and I found the easiest way to set it up was with Wibmin. (www.webmin.com) I don't see any obvious problems, althought I am not an expert. I used Webmin for the server and LinNeighborhood for the client setup. It was pretty easy. In fact, a colleague of mine switched to SuSE 8.1 from RedHat, and connected like I did with not problems. Art