Drive already connected Error in Windows 2000

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Mon Feb 3 19:19:32 GMT 2003


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