Bug 5659 - nmbd stop working after a few minutes
nmbd stop working after a few minutes
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: nmbd
3.0.10
IA64 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-01 14:50 UTC by Bernardo Arago
Modified: 2008-08-01 15:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernardo Arago 2008-08-01 14:50:25 UTC
I want to share with the linux comunity this problem that I solved because, I did not find any similar in the web. I´m from Uruguay and my english isn´t good, sorry.

I found this error in a server with samba + ldap, the system was configured with the software PowerSMB from Essay-Software v3.3.6 on Red Hat Enterprise Linux AS release 4 (Nahant)

nmbd.log report this errors befor stop responding

Error#1
--------------------------------------------------------------------------
Initiating sync with domain master browser XEON<20> at IP 192.168.3.11 for workgroup EDU
===============================================================
INTERNAL ERROR: Signal 11 in pid 29841 (3.0.10-1.4E.12.2)
Please read the appendix Bugs of the Samba HOWTO collection
===============================================================
PANIC: internal error
BACKTRACE: 7 stack frames:
 #0 nmbd(smb_panic2+0x8a) [0xf2f050]
 #1 nmbd(smb_panic+0x19) [0xf2f27c]
 #2 nmbd [0xf1b79f]
 #3 /lib/tls/libc.so.6 [0x19da48]
 #4 nmbd(main+0x610) [0xebfed2]
 #5 /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x18ae33]
 #6 nmbd [0xebe6a1]
--------------------------------------------------------------------------

Error#2
--------------------------------------------------------------------------
Initiating sync with domain master browser XEON<20> at IP 192.168.3.11 for workgroup EDU
*** glibc detected *** free(): invalid next size (fast): 0x0933ef20 ***
--------------------------------------------------------------------------

Error#3
--------------------------------------------------------------------------
Initiating sync with domain master browser XEON<20> at IP 192.168.3.11 for workgroup EDU
Got SIGTERM: going down...
--------------------------------------------------------------------------

With Errors 1 end 2 the service smb status report that smbd and nmbd is running (but nmbd was not responding to clients)
With de Error 3 the service smb report "nmbd interrumpido pero existe un archivo pid" translated is somthing like "nmbd interrupted but exists a pid file"

This is the smb.conf
[global]
   add group script               = /usr/bin/psmb_ap -ag '%g'
   add machine script             = /usr/bin/psmb_ap -am '%u'
   add user script                = /usr/bin/psmb_ap -au '%u'
   add user to group script       = /usr/bin/psmb_ap -autg '%u' '%g'
   admin users                    = @"Domain Admins"
   delete group script            = /usr/bin/psmb_ap -dg '%g'
   delete user from group script  = /usr/bin/psmb_ap -dufg -x '%u' '%g'
   delete user script             = /usr/bin/psmb_ap -du '%u'
   dns proxy                      = no
   domain logons                  = yes
   domain master                  = yes
   ea support                     = yes
   encrypt passwords              = yes
   getwd cache                    = yes
   guest account                  = Guest
   idmap backend                  = ldap:"ldap://xeon.eihu.edu.uy"
   idmap gid                      = 16777216-33554431
   idmap uid                      = 16777216-33554431
   large readwrite                = yes
   ldap admin dn                  = cn=Manager,dc=eihu,dc=edu,dc=uy
   ldap delete dn                 = Yes
   ldap group suffix              = ou=Group
   ldap idmap suffix              = ou=Idmap
   ldap machine suffix            = ou=Computers
   ldap passwd sync               = Yes
   ldap replication sleep         = 1000
   ldap ssl                       = start_tls
   ldap suffix                    = dc=eihu,dc=edu,dc=uy
   ldap user suffix               = ou=People
   ldapsam:trusted                = Yes
   level2 oplocks                 = no
   load printers                  = no
   local master                   = yes
   lock directory                 = /var/cache/samba
   log file                       = /var/log/samba/usage.log
   log level                      = 2
   logon home                     = \\XEON\profiles\%U
   logon path                     = 
   map acl inherit                = yes
   map archive                    = no
   map hidden                     = no
   map system                     = no
   map to guest                   = Bad User
   max log size                   = 1000
   name resolve order             = host wins bcast
   netbios name                   = XEON
   nt acl support                 = yes
   oplocks                        = no
   os level                       = 65
   passdb backend                 = ldapsam:"ldap://xeon.eihu.edu.uy"
   passwd program                 = `which passwd` %u
   preferred master               = yes
   queuepause command             = `which disable` '%p'
   queueresume command            = `which enable` '%p'
   security                       = user
   server string                  = Dir. de Usuarios
   set primary group script       = /usr/bin/psmb_ap -spg '%g' '%u'
   show add printer wizard        = no
   socket options                 = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   store dos attributes           = yes
   time server                    = yes
   timestamp logs                 = no
   username map                   = /etc/samba/username.map
   veto oplock files              = //
   wins proxy                     = yes
   wins support                   = yes
   wins support                   = yes
   workgroup                      = EDU


###############################################################################
[netlogon]
   path                           = /datos/_netlogon
   comment                        = Network Logon Service on %L
   read only                      = yes
   browsable                      = no
   admin users                    = @"Domain Admins"
[profiles]
   path                           = /datos/_profiles
   read only                      = no
   browseable                     = yes
   guest ok                       = yes
   profile acls                   = yes
   csc policy                     = disable
   valid users                    = %U,@"Domain Admins"
   create mask                    = 0777
   directory mask                 = 0777
[homes]
   comment                        = %u's home directory on %L (\\%N\%u\) logged on from (%I)
   browseable                     = no
   read only                      = no
   valid users                    = %S,@"Domain Admins"
   veto files                     = /.kde/.recycle/.xemacs/.bash_logout/.bash_profile/.bashrc/.canna/.emacs/.gtkrc/.zshrc/


###############################################################################

[datazone]
   path                           = /datos/datazone
   comment                        = Zona de datos
   available                      = yes
   browsable                      = yes
   guest ok                       = yes
   guest only                     = yes 
   read only                      = no
   force user                     = Guest
   force group                    = "Domain Guests"
   write list                     = Guest,@"Domain Guests"
   inherit acls                   = yes
   inherit permissions            = yes

[zona-labs]
   path                           = datos/zona-labs
   comment                        = Uso de laboratorios
   available                      = yes
   browsable                      = yes
   guest ok                       = yes
   guest only                     = yes 
   read only                      = no
   force user                     = Guest
   force group                    = "Domain Guests"
   write list                     = Guest,@"Domain Guests"
   inherit acls                   = yes
   inherit permissions            = yes

[zona-secu]
   path                           = /datos/zona-secu
   comment                        = 
   available                      = yes
   browsable                      = yes
   guest ok                       = no
   read only                      = no
   valid users                    = @"Administrator",@"Sandra",@"Fernando",@"Administrator",@"Sandra",@"Fernando",@"Domain Admins"
   read list                      = @"Administrator",@"Sandra",@"Fernando",@"Domain Admins"
   write list                     = @"Administrator",@"Sandra",@"Fernando",@"Domain Admins"
   inherit acls                   = yes
   inherit permissions            = yes
   force create mode              = 0660
   force directory mode           = 0770



###############################################################################
[global]
   include                        = /etc/samba/samba.custom.conf
----------------------------End of smb.conf-----------------------------------
After a lot of tests I solve this by 

delete one of de duplicated:
wins support                   = yes
And change the parameter
wins proxy                     = no

Now I`m testing but seems to be OK.

Bernardo Arago
Comment 1 Volker Lendecke 2008-08-01 14:53:23 UTC
That's really 3.0.10? You know that this more than 3 years old?

Volker
Comment 2 Bernardo Arago 2008-08-01 15:16:10 UTC
(In reply to comment #1)
> That's really 3.0.10? You know that this more than 3 years old?
> 
> Volker
> 

I´m administering this network recently, I do not installed this server. I want to update this one without powersmb. I can´t find Essay Software, LLC. 

Bernardo