Solved

netbios problem under samba

Posted on 2002-07-29
9
756 Views
Last Modified: 2013-12-23
I'm using samba with Solaris 2.5 (to share printers to Windows users)
but I'm getting this error in Unix.
inetd[126]: netbios-ns/udp server failing (looping), service terminated

any idea????

Thanks in advance.....
0
Comment
Question by:cblazque
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7186229
use
   netstat -a

and check if the port for netbios-ns is already in use
0
 

Author Comment

by:cblazque
ID: 7188231
This is the result of netstat -a

UDP
   Local Address      State
-------------------- -------
      *.route         Idle
      *.*             Unbound
      *.sunrpc        Idle
      *.*             Unbound
      *.32771         Idle
      *.name          Idle
      *.biff          Idle
      *.talk          Idle
      *.time          Idle
      *.echo          Idle
      *.discard       Idle
      *.daytime       Idle
      *.chargen       Idle
      *.32772         Idle
      *.32773         Idle
      *.32774         Idle
      *.32775         Idle
      *.lockd         Idle
      *.32776         Idle
      *.32777         Idle
      *.32778         Idle
      *.32779         Idle
      *.syslog        Idle
      *.netbios-      Idle
      *.138           Idle
colc026.netbios-      Idle
colc026.138           Idle
192.168.0.3.netbios-  Idle
192.168.0.3.138       Idle
      *.*             Unbound

TCP
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State
-------------------- -------------------- ----- ------ ----- ------ -------
      *.*                  *.*                0      0     0      0 IDLE
      *.sunrpc             *.*                0      0     0      0 LISTEN
      *.32932              *.*                0      0     0      0 IDLE
      *.ftp                *.*                0      0     0      0 LISTEN
      *.telnet             *.*                0      0     0      0 LISTEN
      *.shell              *.*                0      0     0      0 LISTEN
      *.login              *.*                0      0     0      0 LISTEN
      *.exec               *.*                0      0     0      0 LISTEN
      *.uucp               *.*                0      0     0      0 LISTEN
      *.finger             *.*                0      0     0      0 LISTEN
      *.time               *.*                0      0     0      0 LISTEN
      *.echo               *.*                0      0     0      0 LISTEN
      *.discard            *.*                0      0     0      0 LISTEN
      *.daytime            *.*                0      0     0      0 LISTEN
      *.chargen            *.*                0      0     0      0 LISTEN
      *.32771              *.*                0      0     0      0 LISTEN
      *.32772              *.*                0      0     0      0 LISTEN
      *.lockd              *.*                0      0     0      0 LISTEN
      *.32773              *.*                0      0     0      0 LISTEN
      *.32774              *.*                0      0     0      0 LISTEN
      *.fs                 *.*                0      0     0      0 LISTEN
      *.swat               *.*                0      0     0      0 LISTEN
      *.netbios-           *.*                0      0     0      0 LISTEN
      *.smtp               *.*                0      0     0      0 LISTEN
      *.printer            *.*                0      0     0      0 LISTEN
      *.listen             *.*                0      0     0      0 LISTEN
      *.6000               *.*                0      0     0      0 LISTEN
      *.32778              *.*                0      0     0      0 LISTEN
localhost.32780      localhost.32773      32768      0  8192      0 ESTABLISHED
localhost.32773      localhost.32780       8192      0 32768      0 ESTABLISHED
localhost.32783      localhost.32773      32768      0  8192      0 ESTABLISHED
localhost.32773      localhost.32783       8192      0 32768      0 ESTABLISHED
colc026.32823        colm002.telnet       24820      0  8760      0 ESTABLISHED
colc026.32824        colm002.telnet       24820      0  8760      0 ESTABLISHED
      *.32931              *.*                0      0     0      0 LISTEN
      *.*                  *.*                0      0     0      0 IDLE
Active UNIX domain sockets
Address  Type          Vnode     Conn Addr
f5cc4198 stream-ord        8        0 /tmp/.X11-unix/X0
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7188251
as you can see, there are already processes listening on these ports, check with ps
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 

Author Comment

by:cblazque
ID: 7188266
Which one is the duplicated process number????

these are the entries in /etc/services

netbios-ssn     139/tcp                         # Samba
netbios-ns      137/udp                         # Samba
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7188307
/etc/services just maps port numbers to names
Please use ps to check if smbd or nmbd is running
0
 

Author Comment

by:cblazque
ID: 7188397
only nmbd is running

root   217     1  0   Jul 24 ?        0:56 /opt/samba/bin/nmbd -D -d 0 -l /var/opt/samba/log.nmb
0
 

Author Comment

by:cblazque
ID: 7188409
only nmbd is running

root   217     1  0   Jul 24 ?        0:56 /opt/samba/bin/nmbd -D -d 0 -l /var/opt/samba/log.nmb
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7188446
you need to decide if you want Samba be running as daemon, or tarted via inetd (portmapper).
As you still have the nmbd daemon, I suggest that you remove the smbd and nmbd (port 137, 138, 139) lines in /etc/inetd.conf, then stop and start the appropriate rc-script, for example /etc/init.d/samba
0
 

Author Comment

by:cblazque
ID: 7194707
It worked , thanks...
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question