Hi, I've a really big problem with my SAMBA 4.1.11 production server.... it doesn't want to start smbd anymore.... nmbd starts fine but not smbd. I've tried to start smbd in interactive mode to see what's happened : # /srv/progs/samba4/sbin/smbd -i -d9 produce a lot of lines about configuration (all fine), some last lines are : added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface bond0 ip=10.130.162.20 bcast=10.130.162.255 netmask=255.255.255.0 loaded services Netbios name list:- my_netbios_names[0]="FILZEN" fcntl_lock 9 6 0 1 1 fcntl_lock: Lock call successful Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to register passdb backend wbc_sam Successfully added passdb backend 'wbc_sam' Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend NDS_ldapsam Successfully added passdb backend 'NDS_ldapsam' Attempting to register passdb backend IPA_ldapsam Successfully added passdb backend 'IPA_ldapsam' Attempting to find a passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam pdb backend tdbsam has a valid init check lock order 1 for /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb release lock order 1 for /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb After this last line, it stop writing anything and wait indefinitely...... but there's no listenning socket opened so the daemon never listen and never be used.... Is there a way to get more informations about why my smbd doesn't work at all magically ? Thanks Regards, Bruno -- Bruno MACADRE ------------------------------------------------------------------- Ing?nieur Syst?mes et R?seau | Systems and Network Engineer D?partement Informatique | Department of computer science Responsable Info SER | SER IT Manager Universit? de Rouen | University of Rouen ------------------------------------------------------------------- Coordonn?es / Contact : Universit? de Rouen Facult? des Sciences et Techniques - Madrillet Avenue de l'Universit? CS 70012 76801 St Etienne du Rouvray CEDEX FRANCE T?l : +33 (0)2-32-95-51-86 Mob : +33 (0)6-74-71-45-64 -------------------------------------------------------------------
Was this after any system reboot, system crash, system update? What OS? If this is linux, is SELinux enabled? On 09/23/14 09:03, Bruno MACADR? wrote:> Hi, > > I've a really big problem with my SAMBA 4.1.11 production > server.... it doesn't want to start smbd anymore.... nmbd starts fine > but not smbd. > > I've tried to start smbd in interactive mode to see what's happened : > > # /srv/progs/samba4/sbin/smbd -i -d9 > > produce a lot of lines about configuration (all fine), some last > lines are : > > added interface lo ip=::1 bcast= > netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff > added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 > added interface bond0 ip=10.130.162.20 bcast=10.130.162.255 > netmask=255.255.255.0 > loaded services > Netbios name list:- > my_netbios_names[0]="FILZEN" > fcntl_lock 9 6 0 1 1 > fcntl_lock: Lock call successful > Attempting to register passdb backend smbpasswd > Successfully added passdb backend 'smbpasswd' > Attempting to register passdb backend tdbsam > Successfully added passdb backend 'tdbsam' > Attempting to register passdb backend wbc_sam > Successfully added passdb backend 'wbc_sam' > Attempting to register passdb backend ldapsam > Successfully added passdb backend 'ldapsam' > Attempting to register passdb backend NDS_ldapsam > Successfully added passdb backend 'NDS_ldapsam' > Attempting to register passdb backend IPA_ldapsam > Successfully added passdb backend 'IPA_ldapsam' > Attempting to find a passdb backend to match tdbsam (tdbsam) > Found pdb backend tdbsam > pdb backend tdbsam has a valid init > check lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > release lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > > After this last line, it stop writing anything and wait > indefinitely...... but there's no listenning socket opened so the > daemon never listen and never be used.... > > > Is there a way to get more informations about why my smbd doesn't work > at all magically ? > > Thanks > Regards, > Bruno >
- backup you environment of samba. - upgrade to 4.1.12 try again. if it still doesnt work, then we need more info. Louis>-----Oorspronkelijk bericht----- >Van: bruno.macadre at univ-rouen.fr >[mailto:samba-bounces at lists.samba.org] Namens Bruno MACADR? >Verzonden: dinsdag 23 september 2014 15:04 >Aan: samba at lists.samba.org >Onderwerp: [Samba] smbd doesn't start anymore > >Hi, > > I've a really big problem with my SAMBA 4.1.11 production >server.... it doesn't want to start smbd anymore.... nmbd starts fine >but not smbd. > > I've tried to start smbd in interactive mode to see >what's happened : > > # /srv/progs/samba4/sbin/smbd -i -d9 > > produce a lot of lines about configuration (all fine), some last >lines are : > >added interface lo ip=::1 bcast= >netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff >added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 >added interface bond0 ip=10.130.162.20 bcast=10.130.162.255 >netmask=255.255.255.0 >loaded services >Netbios name list:- >my_netbios_names[0]="FILZEN" >fcntl_lock 9 6 0 1 1 >fcntl_lock: Lock call successful >Attempting to register passdb backend smbpasswd >Successfully added passdb backend 'smbpasswd' >Attempting to register passdb backend tdbsam >Successfully added passdb backend 'tdbsam' >Attempting to register passdb backend wbc_sam >Successfully added passdb backend 'wbc_sam' >Attempting to register passdb backend ldapsam >Successfully added passdb backend 'ldapsam' >Attempting to register passdb backend NDS_ldapsam >Successfully added passdb backend 'NDS_ldapsam' >Attempting to register passdb backend IPA_ldapsam >Successfully added passdb backend 'IPA_ldapsam' >Attempting to find a passdb backend to match tdbsam (tdbsam) >Found pdb backend tdbsam >pdb backend tdbsam has a valid init >check lock order 1 for >/srv/progs/samba4/var/lock/smbXsrv_version_global.tdb >release lock order 1 for >/srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > >After this last line, it stop writing anything and wait >indefinitely...... but there's no listenning socket opened so >the daemon >never listen and never be used.... > > >Is there a way to get more informations about why my smbd doesn't work >at all magically ? > >Thanks >Regards, >Bruno > >-- > >Bruno MACADRE >------------------------------------------------------------------- > Ing?nieur Syst?mes et R?seau | Systems and Network Engineer > D?partement Informatique | Department of computer science > Responsable Info SER | SER IT Manager > Universit? de Rouen | University of Rouen >------------------------------------------------------------------- >Coordonn?es / Contact : > Universit? de Rouen > Facult? des Sciences et Techniques - Madrillet > Avenue de l'Universit? > CS 70012 > 76801 St Etienne du Rouvray CEDEX > FRANCE > > T?l : +33 (0)2-32-95-51-86 > Mob : +33 (0)6-74-71-45-64 >------------------------------------------------------------------- > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba >
On 23/09/14 14:03, Bruno MACADR? wrote:> Hi, > > I've a really big problem with my SAMBA 4.1.11 production > server.... it doesn't want to start smbd anymore.... nmbd starts fine > but not smbd. > > I've tried to start smbd in interactive mode to see what's happened : > > # /srv/progs/samba4/sbin/smbd -i -d9 > > produce a lot of lines about configuration (all fine), some last > lines are : > > added interface lo ip=::1 bcast= > netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff > added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 > added interface bond0 ip=10.130.162.20 bcast=10.130.162.255 > netmask=255.255.255.0 > loaded services > Netbios name list:- > my_netbios_names[0]="FILZEN" > fcntl_lock 9 6 0 1 1 > fcntl_lock: Lock call successful > Attempting to register passdb backend smbpasswd > Successfully added passdb backend 'smbpasswd' > Attempting to register passdb backend tdbsam > Successfully added passdb backend 'tdbsam' > Attempting to register passdb backend wbc_sam > Successfully added passdb backend 'wbc_sam' > Attempting to register passdb backend ldapsam > Successfully added passdb backend 'ldapsam' > Attempting to register passdb backend NDS_ldapsam > Successfully added passdb backend 'NDS_ldapsam' > Attempting to register passdb backend IPA_ldapsam > Successfully added passdb backend 'IPA_ldapsam' > Attempting to find a passdb backend to match tdbsam (tdbsam) > Found pdb backend tdbsam > pdb backend tdbsam has a valid init > check lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > release lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > > After this last line, it stop writing anything and wait > indefinitely...... but there's no listenning socket opened so the > daemon never listen and never be used.... > > > Is there a way to get more informations about why my smbd doesn't work > at all magically ? > > Thanks > Regards, > Bruno >I take it that you are trying to run samba4 as either a classic PDC or as a standalone machine, but I cannot tell which (or if indeed either) because you haven't posted your smb.conf. Rowland
I've trying the same with my backup fileserver and the smbd -i -d9 produces more lines (and works hopefully) the lines after the last my bad smbd hangs is : Registering messaging pointer for type 784 - private_data=0x7f3697428c50 Registering messaging pointer for type 788 - private_data=0x7f369742b2a0 Registering messaging pointer for type 789 - private_data=0x7f369742b730 pathtree_add: Enter pathtree_add: Exit pathtree_add: Enter pathtree_add: Exit ....... Why my smbd hangs on 'registering messaging pointer' I've no idea.... Le 23/09/2014 15:03, Bruno MACADR? a ?crit :> Hi, > > I've a really big problem with my SAMBA 4.1.11 production > server.... it doesn't want to start smbd anymore.... nmbd starts fine > but not smbd. > > I've tried to start smbd in interactive mode to see what's happened : > > # /srv/progs/samba4/sbin/smbd -i -d9 > > produce a lot of lines about configuration (all fine), some last > lines are : > > added interface lo ip=::1 bcast= > netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff > added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 > added interface bond0 ip=10.130.162.20 bcast=10.130.162.255 > netmask=255.255.255.0 > loaded services > Netbios name list:- > my_netbios_names[0]="FILZEN" > fcntl_lock 9 6 0 1 1 > fcntl_lock: Lock call successful > Attempting to register passdb backend smbpasswd > Successfully added passdb backend 'smbpasswd' > Attempting to register passdb backend tdbsam > Successfully added passdb backend 'tdbsam' > Attempting to register passdb backend wbc_sam > Successfully added passdb backend 'wbc_sam' > Attempting to register passdb backend ldapsam > Successfully added passdb backend 'ldapsam' > Attempting to register passdb backend NDS_ldapsam > Successfully added passdb backend 'NDS_ldapsam' > Attempting to register passdb backend IPA_ldapsam > Successfully added passdb backend 'IPA_ldapsam' > Attempting to find a passdb backend to match tdbsam (tdbsam) > Found pdb backend tdbsam > pdb backend tdbsam has a valid init > check lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > release lock order 1 for > /srv/progs/samba4/var/lock/smbXsrv_version_global.tdb > > After this last line, it stop writing anything and wait > indefinitely...... but there's no listenning socket opened so the > daemon never listen and never be used.... > > > Is there a way to get more informations about why my smbd doesn't work > at all magically ? > > Thanks > Regards, > Bruno >-- Bruno MACADRE ------------------------------------------------------------------- Ing?nieur Syst?mes et R?seau | Systems and Network Engineer D?partement Informatique | Department of computer science Responsable Info SER | SER IT Manager Universit? de Rouen | University of Rouen ------------------------------------------------------------------- Coordonn?es / Contact : Universit? de Rouen Facult? des Sciences et Techniques - Madrillet Avenue de l'Universit? CS 70012 76801 St Etienne du Rouvray CEDEX FRANCE T?l : +33 (0)2-32-95-51-86 Mob : +33 (0)6-74-71-45-64 -------------------------------------------------------------------