LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2006, 11:36 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Samba starts with two smbd processes


Running 3.0.20 Samba server on a 10.2 Slack system networked
with a WIN2K system. After perusing the Linux remote cache table
from WIN2K, I noticed that there appears to be a duplication
of the information from nbtstat:

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
MYLINUX <00> UNIQUE Registered
MYLINUX <03> UNIQUE Registered
MYLINUX <20> UNIQUE Registered
MYLINUX <00> UNIQUE Registered
MYLINUX <03> UNIQUE Registered
MYLINUX <20> UNIQUE Registered
HOME <00> GROUP Registered
HOME <1E> GROUP Registered
HOME <00> GROUP Registered
HOME <1E> GROUP Registered

Checking the Linux system with ps -A indicates two instances
of smbd. If I access any of the Linux shares from WIN2K, another
smbd entry appears as it is supposed to.

I have checked my startup files to see if there is something
in there that might be starting another process but don't see
anything.

Samba is started from rc.samba in Slack not inetd.

Am I missing something here?
 
Old 06-06-2006, 04:39 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm... just checked mine, I've got two running when Samba is idle as well. Running Samba 3.0.20a.

Guess it is normal to have two processes even if it is idle?
 
Old 06-06-2006, 04:54 AM   #3
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Yes. even when I do ps -A | grep smbd, I see 2 processes. And I don't have any problems with samba. So, maybe it's normal.
 
Old 06-06-2006, 10:49 AM   #4
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
I suppose everything gets changed. I was looking at O'Reilly's Samba 2nd edition
in the Browser section which displays the example:

C:\>nbtstat -a toltec

Local Area Connection:
Node IpAddress: [172.16.1.4] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
TOLTEC <00> UNIQUE Registered
TOLTEC <03> UNIQUE Registered
TOLTEC <20> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
METRAN <00> GROUP Registered
METRAN <1B> UNIQUE Registered
METRAN <1C> GROUP Registered
METRAN <1D> UNIQUE Registered
METRAN <1E> GROUP Registered

MAC Address = 00-00-00-00-00-00

Would eventually like to know why the additional entry shows up with 3.0.20.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 2 -- Samba -- Where is smbd? hell_carnage Linux - Networking 3 08-24-2004 11:19 PM
SAMBA - Can't find smbd Irving Linux - Software 3 06-25-2004 03:32 PM
Why so many smbd processes running mdkelly Linux - Networking 2 11-05-2003 05:47 PM
SAMBA - smbd and nmbd does not run snarzary Linux - Newbie 0 11-01-2001 11:51 PM
Samba - getting smbd started jchim32 Linux - Networking 4 05-29-2001 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration