Solved

netbios problem under samba

Posted on 2002-07-29
9
747 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
  • 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
 

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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now