Drive already connected Error in Windows 2000

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Tue Feb 4 16:28:15 GMT 2003


Hi Garry,
I missed that in the original post, thanks.
Do you do a lot of printing?  I seem to remember a problem
involving smbd's remaining open because of print status 
requests or something that Jeremy Allison was working on,
but I can't find it.  
Either way, I think upping your flocks table space should help....
Don


> -----Original Message-----
> From: Grierson, Garry (UK07) [mailto:Garry.Grierson at honeywell.com]
> Sent: Tuesday, February 04, 2003 2:42
> To: MCCALL,DON (HP-USA,ex1)
> Cc: samba-technical at lists.samba.org
> Subject: RE: Drive already connected Error in Windows 2000
> 
> 
> I did mention in my original post that I think the systems 
> resource issues
> are coming from the fact that unused smbd deamon processes 
> are clogging up
> the system and wont die, rather than the other way round.
> 
> So I'm not sure if upping the resource table sizes would 
> solve the problem
> or just delay it.
> 
> I will try this and see if it makes a difference.
> 
> Thank's for your response.
> Garry.
> -----Original Message-----
> From: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall at hp.com]
> Sent: 03 February 2003 19:20
> To: 'Grierson, Garry (UK07)'; samba-technical at lists.samba.org
> Subject: RE: Drive already connected Error in Windows 2000
> 
> 
> Samba 2.2.7 uses fcntl locks on a regular basis for internal
> locking, even if you have set strict locking and posix locks=no.
> The errors you are getting in your log indicate that you have 
> run out of the system resource controlling the size of the fcntl
> lock table.
> You will need to go into SAM (or have your hpux sysadm do this)
> and increase the kernel parameter (nflocks).
> 
> Hope this helps,
> Don
> 
> > -----Original Message-----
> > From: Grierson, Garry (UK07) [mailto:Garry.Grierson at honeywell.com]
> > Sent: Monday, February 03, 2003 7:08
> > To: samba-technical at lists.samba.org
> > Subject: Drive already connected Error in Windows 2000
> > 
> > 
> > The W2K client systems may be at different service pack 
> > levels: most are
> > probably at 2 or 3.
> > Samba 2.2.7 is running on HP-UX 11.
> > 
> > The last entries in the log.smbd before this happens are:
> > [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)         
> > [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)          
> > [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281)
> > nt_printing_init: Failed to open nt forms database
> > /usr/local/samba/locks/ntforms.tdb (No locks available)  
> > 
> > There is nothing strictly reproducible as it seems like a 
> > random thing!
> > -----Original Message-----
> > From: Green, Paul [mailto:Paul.Green at stratus.com]
> > Sent: 02 February 2003 15:46
> > To: 'Grierson, Garry (UK07)'; samba-technical at lists.samba.org
> > Subject: RE: Drive already connected Error in Windows 2000
> > 
> > 
> > (please reply to list)
> > 
> > Some standard questions...
> > 
> > What service pack level for W2K?
> > What operating system are you running under samba 2.2.7?
> > Do you have a reproducible test case you can post?
> > Anything out of the ordinary in your smb.conf file?
> > 
> > Sounds like an operating system resource-limit issue...
> > 
> > PG
> > 
> > > -----Original Message-----
> > > From: Grierson, Garry (UK07) [mailto:Garry.Grierson at honeywell.com]
> > > Sent: Tuesday, January 28, 2003 7:45 AM
> > > To: samba-technical at lists.samba.org
> > > Subject: FW: Drive already connected Error in Windows 2000
> > > 
> > > 
> > > The log.smbd file has lots of (No locks available) errors..
> > > 
> > > Any help?
> > > 
> > > >  -----Original Message-----
> > > > From: 	Grierson, Garry (UK07)  
> > > > Sent:	28 January 2003 11:36
> > > > To:	'samba-technical at lists.samba.org'
> > > > Subject:	Drive already connected Error in Windows 2000
> > > > 
> > > > I have been successfully running with Samba 2.0.7 for more 
> > > than a year now
> > 
> 


More information about the samba-technical mailing list