Samba's nmbd fails to start

From: Gerggee George (rtgg@mailbox.hu)
Date: Wed Jun 12 2002 - 06:36:42 EDT


Hi!

We've a AlphaServer 4100 with Tru64 5.1PK3. ASU is installed on the
system, but not started. I want to use Samba, because we don't have
license for ASU.
smb.conf looks like:

# Samba config file created using SWAT
# from ntxy.x.y.com (x.x.x.x)
# Date: 2002/05/30 12:41:53

# Global parameters
[global]
        workgroup = XY
        netbios name = GLOBAL
        server string = Samba Server
        encrypt passwords = Yes
        log file = /usr/local/samba/var/log.%m
        max log size = 50
        local master = No
        dns proxy = No
        valid users = u051841

[globus]
        comment = Globus
        path = /globus
        writeable = Yes
        max connections = 5

I can start the smbd daemon(with "smbd -D"), but when I want to start
nmbd it fails. The log.nmb says:

[2002/06/11 15:43:04, 1] nmbd/nmbd.c:(757)
  Netbios nameserver version 2.0.7 started.
  Copyright Andrew Tridgell 1994-1998
[2002/06/11 15:43:04, 0] lib/util_sock.c:(862)
  bind failed on port 137 socket_addr=10.16.1.126 (Address already in
use)
[2002/06/11 15:43:04, 0] nmbd/nmbd_subnetdb.c:(142)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 10.16.1.126 for port 137.
Error was Ad
dress already in use
[2002/06/11 15:43:04, 0] nmbd/nmbd.c:(817)
  ERROR: Failed when creating subnet lists. Exiting.

Then I want to check this port with
lsof -k /vmunix -i tcp:139
says:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
smbd 10924 root 16u IPv4 0x3f588500 0t0 TCP *:139 (LISTEN)

lsof -k /vmunix -i tcp:137
says nothing is listening
lsof -k /vmunix -i udp:137
says nothing is listening

netstat -a |grep netbios
says:
no namelist: unable to connect to kloadsrv daemon.

What is the next step?

--------------------------------------------------
http://www.mailbox.hu - Mert levelezni kell...



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:43 EDT