[Samba] Running Samba twice
Eric Boehm
boehm at nortelnetworks.com
Mon Jan 13 19:45:01 GMT 2003
On Mon, Jan 13, 2003 at 07:50:31PM +0100, Gerd-Christian Michalke wrote:
>>>>> "Marian" == Marian Mlcoch, Ing <mm at tsmp.sk> writes:
>>>>> "Tom" == <tom at sanguinarius.co.uk> writes:
>>>>> "Gerd" == Gerd-Christian Michalke <gmichalk at freegates.be> writes:
Marian> You must set path to pid files in your confs diferent.See
Marian> conf help to do.
Tom> Thankyou very much.
Tom> Still doesn't work tho.
Tom> Now I get
Tom> bind failed on port 139 socket_addr = 0.0.0.0 Error = Address
Tom> already in use.
Tom> It sholdn'#t be trying to bind to 0.0.0.0
Tom> Am I missing something?
Gerd> Here some tips which might help you further :
Gerd> - you must start twice the daemons, but under different
Gerd> names (say, you'd make a copy of smbd and call them smbd1
Gerd> and smbd2) - those copies should also use different smb.conf
Gerd> files, in which you would define different interfaces and
Gerd> bind interface only parameters - also define different pids
Gerd> and different log directories in those two smb.conf - also,
Gerd> you need two different IP adresses, which you may use IP
Gerd> aliases
I posted detailed instructions on how to run multiple smbd/nmbd
daemons (almost a year ago). You might take a look at:
http://marc.theaimsgroup.com/?t=101304737200002&r=1&w=2
--
Eric M. Boehm /"\ ASCII Ribbon Campaign
boehm at nortelnetworks.com \ / No HTML or RTF in mail
X No proprietary word-processing
Respect Open Standards / \ files in mail
More information about the samba
mailing list