[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

netbios problem under samba

Posted on 2002-07-29
9
Medium Priority
?
761 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

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 400 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

650 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