[Samba] Help! - need to Start multiple samba smbd/nmbd daemons
novosirj at umdnj.edu
Wed May 12 07:31:32 GMT 2004
My best guess is that you have the ability to set the lock directory for
the two different smbd/nmbd's, either within smb.conf, on the command
line, or either one. I don't know if you thought of this already, but
that's what it seems like to me. Check smb.conf's man page to see if this
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Fri, 23 Apr 2004, Dignard, Norman wrote:
> We're trying to dual home samba onto 2 windows domains. We're created 2 separate smb.conf files each having it's own domain specific info. The only differences between them are
> - different workgroups
> - different interfaces to bind too
> - different socket addressees (matches the interface)
> - and different WINS server IPs.
> We are using the security = domain model.
> We've successfully joined each domain by swapping in the applicable smb.conf file and then running the smbpasswd command to join the domain .. both came back successful.
> Now we're trying to start the smbd and nmbd daemons by using the -s switch to bind each daemon to a specific interface by pointing to the applicable smb.conf file
> (ie. /opt/samba/bin/nmbd -D -s /etc/opt/samba/smb.conf.engdev) however it looks like we can only start one smbd or nmbd daemon at a time as only one .pid lock file is allowed.
> Ref smbd log file output:
> [2004/04/23 12:35:57, 0] smbd/server.c:(793)
> smbd version 2.2.8a based HP CIFS Server A.01.10 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2002
> [2004/04/23 12:35:57, 0] lib/pidfile.c:(85)
> ERROR: smbd is already running. File /var/opt/samba/locks/smbd.pid exists and process id 25569 is running.
> Is there a way to start multiple smbd/nmbd daemons so that we can multi-home samba?
> Any help appreciated
> Norman Dignard
> Nav Canada Technical Systems Center
> 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