[Samba] Running Samba twice

Marian Mlcoch, Ing mm at tsmp.sk
Mon Jan 13 12:38:01 GMT 2003


You must set path to pid files in your confs diferent.See conf help to do.

----- Original Message -----
From: <tom at sanguinarius.co.uk>
To: <samba at lists.samba.org>
Sent: Monday, January 13, 2003 1:20 PM
Subject: [Samba] Running Samba twice


> Can samba be running twice on a machine so that it can exist on 2 seperate
> networks with 2 seperate configs?
>
> I have tried using the -l and -s flags to run it twice and nmbd runs fine
> on both interfaces but samba fails with :
>
> [2003/01/13 12:11:33, 0] lib/pidfile.c:pidfile_create(86)
>   ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid
> exists and process id 23854 is running.
>
> Any help would be greatly appreciated
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list