Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 17:43:55 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        dave@atkinshome.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: samba/inetd - netbios-ns/udp: bind: Address already in use error messages
Message-ID:  <3CCDBE9B.70009@potentialtech.com>
References:  <20020429135656.16198.h010.c001.wm@mail.atkinshome.com.criticalpath.net>

next in thread | previous in thread | raw e-mail | index | archive | help
dave@atkinshome.com wrote:
> On Mon, 29 April 2002, Bill Moran wrote
>>Have you checked /usr/local/etc/rc.d for a startup script?
>>
> 
> there is no /usr/local/etc.

I've never seen a FreeBSD system without /usr/local/etc - unless
you manually removed it.

> I checked /etc/rc.conf and /etc/defaults/rc.conf. Are
> there any other startup locations to check?

/usr/local/etc/rc.d & /usr/X11R6/etc/rc.d (if you installed X)
These startup directories are configured in /etc/defaults/rc.conf

>>Can you run sockstat to verify whether an smbd is listening for connections
>>when nobody is connecting? If so, smbd has started in daemon mode, probably
>>from /usr/local/etc/rc.d

nmbd is the problem.  It looks like it's starting as a daemon.  Check carefully
to find out where this is occurring.  Bootup messages are helpful, if it's
listed after "Local package initialization:" then it's being started from
/usr/local/etc/rc.d (use "dmesg -a" to verify this)

> note: 192.168.1.98 is the local address of the server, crwebx2. Other service
> running is "webx" = WebCrossing message board server.
> 
> crwebx2# sockstat 
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
> root     webx-go  40755   20 tcp4   192.168.1.98:80       *:*                  
> root     webx-go  40755   24 udp4   *:2458                *:*                  
> root     webx-go  40755   25 udp4   *:2311                *:*                  
> root     webx-go  40755   26 udp4   *:1038                *:*                  
> root     webx-go  40755   27 udp4   *:2459                *:*                  
> root     webx-go  40755   28 udp4   *:2585                *:*                  
> root     webx-go  40755   29 udp4   *:2588                *:*                  
> root     webx-go  40755   30 tcp4   192.168.1.98:80       172.175.62.233:2431  
> root     webx-go  40755   32 udp4   *:2546                *:*                  
> root     webx-go  40755   34 udp4   *:2284                *:*                  
> root     webx-go  40755   35 tcp4   192.168.1.98:80       208.29.8.184:58570   
> root     sshd     40733    4 tcp4   192.168.1.98:22       192.168.5.140:1246   
> root     telnetd  40075    0 tcp4   192.168.1.98:23       192.168.1.252:4157   
> root     telnetd  40075    1 tcp4   192.168.1.98:23       192.168.1.252:4157   
> root     telnetd  40075    2 tcp4   192.168.1.98:23       192.168.1.252:4157   
> root     nmbd       119    0 udp4   *:137                 *:*                  
> root     nmbd       119    1 udp4   *:137                 *:*                  
> root     nmbd       119    2 udp4   *:137                 *:*                  
> root     nmbd       119    6 udp4   *:138                 *:*                  
> root     nmbd       119    7 udp4   192.168.1.98:137      *:*                  
> root     nmbd       119    8 udp4   192.168.1.98:138      *:*                  
> root     sendmail    78    4 tcp4   *:25                  *:*                  
> root     sendmail    78    5 tcp4   *:587                 *:*                  
> root     sshd        74    3 tcp4   *:22                  *:*                  
> root     inetd       70    4 tcp4   *:21                  *:*                  
> root     inetd       70    5 tcp4   *:23                  *:*                  
> root     inetd       70    6 tcp4   *:139                 *:*                  
> root     inetd       70    7 udp4   *:137                 *:*                  
> root     syslogd     63    4 udp4   *:514                 *:*                  
> 
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
> 
> USER     COMMAND    PID   FD PROTO  ADDRESS                                    
> root     webx-go  40755    8 stream webx.socket                                
> root     login    40076    3 dgram  syslogd[63]:3                              
> root     sendmail    78    3 dgram  syslogd[63]:3                              
> root     syslogd     63    3 dgram  /var/run/log


-- 
Bill Moran
Potential Technology
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CCDBE9B.70009>