[Samba] Running Samba twice

Gerd-Christian Michalke gmichalk at freegates.be
Mon Jan 13 18:55:01 GMT 2003

On Montag, 13. Januar 2003 19:44, tom at sanguinarius.co.uk wrote:
> On Mon, 13 Jan 2003, Marian Mlcoch, Ing wrote:
> > You must set path to pid files in your confs diferent.See conf help to
> > do.
> Thankyou very much.
> Still doesn't work tho.
> Now I get
>  bind failed on port 139 socket_addr =
>  Error = Address already in use.
> It sholdn'#t be trying to bind to
> Am I missing something?

Here some tips which might help you further :

- you must start twice the daemons, but under different names (say, you'd make 
a copy of smbd and call them smbd1 and smbd2)
- those copies should also use different smb.conf files, in which you would 
define different interfaces and bind interface only parameters
- also define different pids and different log directories in those two 
- also, you need two different IP adresses, which you may use IP aliases

It's just an idea, but it might help

Kind regards,

gmichalk at freegates.be                        \\_//
                                             (. .)   Powered by SuSE Linux 8.1   

More information about the samba mailing list