[Samba] Multiple instances of samba

Denis Vlasenko vda at ilport.com.ua
Fri Aug 26 13:57:48 GMT 2005


On Friday 26 August 2005 15:50, Ed Curtis wrote:
>  I found instructions on how to start 2 instances of samba binding each
> instance to an individual ip address or interface on the server but it
> will only start the first insatnce I try.
>
> /usr/sbin/smbd -s /etc/samba/smb.conf.DOMAIN1
> /usr/sbin/nmbd -s /etc/samba/smb.conf.DOMAIN1
> /usr/sbin/smbd -s /etc/samba/smb.conf.DOMAIN2
> /usr/sbin/nmbd -s /etc/samba/smb.conf.DOMAIN2
>
> Only the DOMAIN1 will start. I get no errors when running the commands to
> start the second instance but it's not running.
>
>  Any ideas?

use strace, read the logs, read the manpages on smb.conf etc...
(I suspect second samba fails to open listening sockets)
--
vda


More information about the samba mailing list