You must set path to pid files in your confs diferent.See conf help to do.
----- Original Message -----
From: <tom@sanguinarius.co.uk>
To: <samba@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