[Samba]password changing

Coleman, Scott Scott.Coleman at qwest.com
Tue Jan 29 08:43:04 GMT 2002


I'm running a samba server in a win2K environment.  I need the passwords to
get changed automatically on the Unix box when the users change them on the
win2k machine.  I don't want to have to change them twice.  Any ideas?


-----Original Message-----
From: Ruben Safir [mailto:ruben at mrbrklyn.com] 
Sent: Monday, January 28, 2002 8:06 PM
To: samba at samba.org
Subject: [Samba]Problem with SAMBA opening files



Hi

I have a SAMBA setup with about 10 users hanging 
off an old VA Fullon Raid rackmount server.
I have the most latest SAMBA version running 
on it, and suddenly yesterday, it's gone berzerk.
It won't open any more files, creating all kinds of havoc.
The error log, /var/log/messages, says this:

an 27 04:30:52 superman smbd[22612]: [2002/01/27 04:30:52, 0]
smbd/server.c:sig_hup(384)
Jan 27 04:30:52 superman smbd[22612]:   Got SIGHUP
Jan 28 01:00:00 superman kernel: st0: Error with sense data: [valid=0] Info
fld=0x0, Current st09:00: sense key Unit Attention
Jan 28 01:00:00 superman kernel: Additional sense indicates Not ready to
ready transition (medium may have changed)
Jan 28 01:27:47 superman kernel: st0: Error with sense data: [valid=0] Info
fld=0x0, Current st09:00: sense key Unit Attention
Jan 28 01:27:47 superman kernel: Additional sense indicates Not ready to
ready transition (medium may have changed)
Jan 28 01:53:20 superman kernel: st0: Error with sense data: [valid=0] Info
fld=0x0, Current st09:00: sense key Unit Attention
Jan 28 01:53:20 superman kernel: Additional sense indicates Not ready to
ready transition (medium may have changed)
Jan 28 04:02:00 superman anacron[11588]: Updated timestamp for job
`cron.daily' to 2002-01-28
Jan 28 08:54:06 superman PAM_unix[12298]: authentication failure; (uid=0) ->
stuart for system-auth service
Jan 28 10:35:42 superman kernel: VFS: file-max limit 4096 reached
Jan 28 10:47:30 superman smbd[12987]: [2002/01/28 10:47:30, 0]
locking/locking.c:delete_fn(253)
Jan 28 10:47:30 superman smbd[12987]:   locking : delete_fn. LOGIC ERROR !
Entry for pid 12508 and it no longer exists !
Jan 28 10:50:05 superman smbd[12993]: [2002/01/28 10:50:05, 0]
printing/nt_printing.c:nt_printing_init(245)
Jan 28 10:50:05 superman smbd[12993]:   nt_printing_init: Failed to open nt
drivers database /var/cache/samba/ntdrivers.tdb (Too many open files in
system)
Jan 28 10:50:05 superman smbd[12994]: [2002/01/28 10:50:05, 0]
printing/nt_printing.c:nt_printing_init(245)
Jan 28 10:50:05 superman smbd[12994]:   nt_printing_init: Failed to open nt
drivers database /var/cache/samba/ntdrivers.tdb (Too many open files in
system)
Jan 28 10:52:09 superman smbd[12999]: [2002/01/28 10:52:09, 0]
locking/locking.c:delete_fn(253)
Jan 28 10:52:09 superman smbd[12999]:   locking : delete_fn. LOGIC ERROR !
Entry for pid 12990 and it no longer exists !
Jan 28 10:52:40 superman smbd[13001]: [2002/01/28 10:52:40, 0]
locking/locking.c:delete_fn(253)
Jan 28 10:52:40 superman smbd[13001]:   locking : delete_fn. LOGIC ERROR !
Entry for pid 12999 and it no longer exists !
Jan 28 10:52:40 superman smbd[13001]: [2002/01/28 10:52:40, 0]
locking/locking.c:delete_fn(253)
Jan 28 10:52:40 superman smbd[13001]:   locking : delete_fn. LOGIC ERROR !
Entry for pid 12999 and it no longer exists !
Jan 28 10:52:40 superman smbd[13001]: [2002/01/28 10:52:40, 0]
printing/nt_printing.c:nt_printing_init(252)
Jan 28 10:52:40 superman smbd[13001]:   nt_printing_init: Failed to open nt
printers database /var/cache/samba/ntprinters.tdb (Too many open files in
system)
Jan 28 10:52:40 superman smbd[13001]:   nt_printing_init: Failed to open nt
printers database /var/cache/samba/ntprinters.tdb (Too many open files in
system)
Jan 28 10:52:40 superman smbd[13002]: [2002/01/28 10:52:40, 0]
printing/nt_printing.c:nt_printing_init(252)
Jan 28 10:52:40 superman smbd[13002]:   nt_printing_init: Failed to open nt
printers database /var/cache/samba/ntprinters.tdb (Too many open files in
system)
Jan 28 10:53:27 superman smbd[13004]: [2002/01/28 10:53:27, 0]
printing/nt_printing.c:nt_printing_init(245)
Jan 28 10:53:27 superman smbd[13004]:   nt_printing_init: Failed to open nt
drivers database /var/cache/samba/ntdrivers.tdb (Too many open files in
system)
Jan 28 10:53:27 superman smbd[13005]: [2002/01/28 10:53:27, 0]
printing/nt_printing.c:nt_printing_init(245)
Jan 28 10:53:27 superman smbd[13005]:   nt_printing_init: Fail....


Blah Blah Blah

Jan 28 11:01:27 superman smbd[13030]: [2002/01/28 11:01:27, 0]
printing/printing.c:print_backend_init(61)
Jan 28 11:01:27 superman smbd[13030]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(40)
Jan 28 11:01:27 superman smbd[13030]:
===============================================================
Jan 28 11:01:27 superman smbd[13030]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(41)
Jan 28 11:01:27 superman smbd[13030]:   INTERNAL ERROR: Signal 11 in pid
13030 (2.2.2)
Jan 28 11:01:27 superman smbd[13030]:   Please read the file BUGS.txt in the
distribution
Jan 28 11:01:27 superman smbd[13030]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(43)
Jan 28 11:01:27 superman smbd[13030]:
===============================================================
Jan 28 11:01:27 superman smbd[13030]: [2002/01/28 11:01:27, 0]
lib/util.c:smb_panic(1055)
Jan 28 11:01:27 superman smbd[13030]:   PANIC: internal error
Jan 28 11:01:27 superman smbd[13030]:
Jan 28 11:01:27 superman smbd[13031]: [2002/01/28 11:01:27, 0]
printing/printing.c:print_backend_init(61)
Jan 28 11:01:27 superman smbd[13031]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(40)
Jan 28 11:01:27 superman smbd[13031]:
===============================================================
Jan 28 11:01:27 superman smbd[13031]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(41)
Jan 28 11:01:27 superman smbd[13031]:   INTERNAL ERROR: Signal 11 in pid
13031 (2.2.2)
Jan 28 11:01:27 superman smbd[13031]:   Please read the file BUGS.txt in the
distribution
Jan 28 11:01:27 superman smbd[13031]: [2002/01/28 11:01:27, 0]
lib/fault.c:fault_report(43)
Jan 28 11:01:27 superman smbd[13031]:
===============================================================
Jan 28 11:01:27 superman smbd[13031]: [2002/01/28 11:01:27, 0]
lib/util.c:smb_panic(1055)
Jan 28 11:01:27 superman smbd[13031]:   PANIC: internal error



SAMBA  Log files look like this:

[2002/01/28 10:47:30, 0] locking/locking.c:delete_fn(253)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 12508 and it no longer
exists !
[2002/01/28 10:50:05, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:50:05, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:52:09, 0] locking/locking.c:delete_fn(253)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 12990 and it no longer
exists !
[2002/01/28 10:52:40, 0] locking/locking.c:delete_fn(253)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 12999 and it no longer
exists !
[2002/01/28 10:52:40, 0] locking/locking.c:delete_fn(253)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 12999 and it no longer
exists !
[2002/01/28 10:52:40, 0] printing/nt_printing.c:nt_printing_init(252)
  nt_printing_init: Failed to open nt printers database
/var/cache/samba/ntprinters.tdb (Too many open files in system)
[2002/01/28 10:52:40, 0] printing/nt_printing.c:nt_printing_init(252)
  nt_printing_init: Failed to open nt printers database
/var/cache/samba/ntprinters.tdb (Too many open files in system)
[2002/01/28 10:53:27, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:53:27, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:53:32, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:53:32, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:54:31, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:54:31, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:55:22, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:55:22, 0] printing/nt_printing.c:nt_printing_init(245)
  nt_printing_init: Failed to open nt drivers database
/var/cache/samba/ntdrivers.tdb (Too many open files in system)
[2002/01/28 10:57:17, 0] lib/debug.c:reopen_logs(337)
.................
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(40)
  ===============================================================
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 13030 (2.2.2)
  Please read the file BUGS.txt in the distribution
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(43)
  ===============================================================
[2002/01/28 11:01:27, 0] lib/util.c:smb_panic(1055)
  PANIC: internal error
[2002/01/28 11:01:27, 0] printing/printing.c:print_backend_init(61)
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(40)
  ===============================================================
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 13031 (2.2.2)
  Please read the file BUGS.txt in the distribution
[2002/01/28 11:01:27, 0] lib/fault.c:fault_report(43)
  ===============================================================
[2002/01/28 11:01:27, 0] lib/util.c:smb_panic(1055)
  PANIC: internal error


I believe the dmesg file said the number of open files in the VFS is
exhausted at
4096 files in the kernel.


Can I fix this?  SAMBA have to be able to handle more activity than this?

Maybe the problem is with the RAID?


Ruben
-- 
__________________________

Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and
articles from around the net
http://www2.mrbrklyn.com/mp3/hooked.mp3 - Spring is coming....
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....

1-718-382-5752




-- 
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