Re: [Samba] smbd wont start
It seems as though I missed a Samab update on my system on the 4th of September, apparently the following files were installed: Samba 3.0.23c Samba common 3.0.23c smbclient 3.0.23c smbfs 3.0.23c swat 3.0.23c Not sure how I missed it, but I did!! Tim ___ All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbd wont start
Hi Tim, ok, then the tdb's seem to be fine. Maybe you could post the /var/log/samba/log.smbd from the try to start smbd? So we see what happened before the panic. And also the smb.conf? You said the machine was running for 9 month, but it is Samba 3.0.23, so you did an update? Is the failure since the update? Rolf On Fri, 15 Sep 2006, Tim wrote: > On Friday 15 September 2006 07:42, you wrote: > > Hi Tim, > > > > > Here the contents of /var/lib/samba > > > > > > Titan:/var/lib/samba# ls > > > account_policy.tdb ntforms.tdb perfmon secrets.tdb > > > group_mapping.tdb ntprinters.tdb printers share_info.tdb > > > ntdrivers.tdb passdb.tdb registry.tdb > > > > Yep. > > > > tdbbackup -v group_mapping.tdb > > > > gives here: > > > > group_mapping.tdb : 16 records > > > > > and /var/run/samba > > > > > > Titan:/var/run/samba# ls > > > lang_en.tdb messages.tdb nmbd.pid perfmon unexpected.tdb > > > > is the nmbd still running? But the smbd is not? If you use > > > > ps aux | grep nmbd > > > is there a process? Otherwise you might have a stale pid, then you can just > > delete the pid file and start the services again. > > Titan:/var/lib/samba# ps aux | grep nmbd > root 4792 0.0 0.1 5872 1380 ?Ss Sep13 > 0:01 /usr/sbin/nmbd -D > root 23882 0.0 0.0 1952 608 pts/1R+ 20:50 0:00 grep nmbd > > I killed the nmbd process off and tried restarting both, nmbd started and > smbd > failed > > > > > > > I assume when you typed NAME I should of used one of the .tdb files, but > > > which one??? > > > > Try first passwd.tdb > > Titan:/var/lib/samba# tdbbackup -v group_mapping.tdb > group_mapping.tdb : 13 records > Titan:/var/lib/samba# tdbbackup -v passdb.tdb > passdb.tdb : 51 records > Titan:/var/lib/samba# tdbbackup -v ntdrivers.tdb > ntdrivers.tdb : 1 records > Titan:/var/lib/samba# tdbbackup -v ntprinters.tdb > ntprinters.tdb : 4 records > Titan:/var/lib/samba# tdbbackup -v registry.tdb > registry.tdb : 48 records > Titan:/var/lib/samba# tdbbackup -v share_info.tdb > share_info.tdb : 1 records > Titan:/var/lib/samba# tdbbackup -v ntforms.tdb > ntforms.tdb : 0 records > Titan:/var/lib/samba# tdbbackup -v secrets.tdb > secrets.tdb : 1 records > > > Still no Samba > > Tim -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbd wont start
On Friday 15 September 2006 07:42, you wrote: > Hi Tim, > > > Here the contents of /var/lib/samba > > > > Titan:/var/lib/samba# ls > > account_policy.tdb ntforms.tdb perfmon secrets.tdb > > group_mapping.tdb ntprinters.tdb printers share_info.tdb > > ntdrivers.tdb passdb.tdb registry.tdb > > Yep. > > tdbbackup -v group_mapping.tdb > > gives here: > > group_mapping.tdb : 16 records > > > and /var/run/samba > > > > Titan:/var/run/samba# ls > > lang_en.tdb messages.tdb nmbd.pid perfmon unexpected.tdb > > is the nmbd still running? But the smbd is not? If you use > > ps aux | grep nmbd > is there a process? Otherwise you might have a stale pid, then you can just > delete the pid file and start the services again. Titan:/var/lib/samba# ps aux | grep nmbd root 4792 0.0 0.1 5872 1380 ?Ss Sep13 0:01 /usr/sbin/nmbd -D root 23882 0.0 0.0 1952 608 pts/1R+ 20:50 0:00 grep nmbd I killed the nmbd process off and tried restarting both, nmbd started and smbd failed > > > I assume when you typed NAME I should of used one of the .tdb files, but > > which one??? > > Try first passwd.tdb Titan:/var/lib/samba# tdbbackup -v group_mapping.tdb group_mapping.tdb : 13 records Titan:/var/lib/samba# tdbbackup -v passdb.tdb passdb.tdb : 51 records Titan:/var/lib/samba# tdbbackup -v ntdrivers.tdb ntdrivers.tdb : 1 records Titan:/var/lib/samba# tdbbackup -v ntprinters.tdb ntprinters.tdb : 4 records Titan:/var/lib/samba# tdbbackup -v registry.tdb registry.tdb : 48 records Titan:/var/lib/samba# tdbbackup -v share_info.tdb share_info.tdb : 1 records Titan:/var/lib/samba# tdbbackup -v ntforms.tdb ntforms.tdb : 0 records Titan:/var/lib/samba# tdbbackup -v secrets.tdb secrets.tdb : 1 records Still no Samba Tim Yahoo! Photos is now offering a quality print service from just 7p a photo. http://uk.photos.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbd wont start
Hi Tim, maybe you have a corrupted tdb. You could check with tdbbackup -v NAME.tdb in /var/lib/samba/ also, normally I would expect the tdb's to be in /var/lib/samba and only the PID's in /var/run/samba/ Rolf On Thu, 14 Sep 2006, Tim wrote: > > My samba has been setup in its current configuration for around 9 months and > has worked without a problem, over the weekend my windows boxes were unable > to access the samba shares. Using SWAT I found that the smbd was not > starting. I have tried the following: > > Trying to start smbd (as root) from the cli with: > > smbd start > > Seems to execute the command and gave no errors but still swat says that smbd > has not been started. > > If I run smbstatus (as root) from the cli I get > > Titan:/home/mit# smbstatus > sessionid.tdb not initialised > /var/run/samba/connections.tdb not initialised > This is normal if an SMB client has never connected to your server. > /var/run/samba/locking.tdb not initialised > This is normal if an SMB client has never connected to your server. > Titan:/home/mit# > > If I run testparm from cli I get > > Titan:/home/mit# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[homes]" > Processing section "[printers]" > Processing section "[print$]" > Processing section "[MP3]" > Processing section "[PICTURES]" > Processing section "[VIDEO]" > Loaded services file OK. > Server role: ROLE_STANDALONE > Press enter to see a dump of your service definitions > > [global] > ? ? ? ? workgroup = HOME > ? ? ? ? server string = %h server (Samba %v) > ? ? ? ? obey pam restrictions = Yes > ? ? ? ? passdb backend = tdbsam, > ? ? ? ? passwd program = /usr/bin/passwd %u > ? ? ? ? passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n . > ? ? ? ? syslog = 0 > ? ? ? ? log file = /var/log/samba/log.%m > ? ? ? ? max log size = 1000 > ? ? ? ? server signing = auto > ? ? ? ? preferred master = No > ? ? ? ? domain master = No > ? ? ? ? panic action = /usr/share/samba/panic-action %d > ? ? ? ? invalid users = root > > [homes] > ? ? ? ? comment = Home Directories > ? ? ? ? invalid users = > ? ? ? ? read only = No > ? ? ? ? create mask = 0640 > ? ? ? ? directory mask = 0750 > ? ? ? ? browseable = No > > [printers] > ? ? ? ? comment = All Printers > ? ? ? ? path = /tmp > ? ? ? ? create mask = 0700 > ? ? ? ? printable = Yes > ? ? ? ? browseable = No > > [print$] > ? ? ? ? comment = Printer Drivers > ? ? ? ? path = /var/lib/samba/printers > > [MP3] > ? ? ? ? path = /mnt/usbhd/mp3/ > ? ? ? ? read only = No > ? ? ? ? hosts allow = **.**.**.**/**.**.**.** > > [PICTURES] > ? ? ? ? path = /mnt/usbhd/Pictures/ > ? ? ? ? read only = No > ? ? ? ? hosts allow = **.**.**.**/**.**.**.** > > [VIDEO] > ? ? ? ? path = /mnt/usbhd/Video > ? ? ? ? read only = No > > I have checked the logs for any error and this is the smbd log which give > this: > > [2006/09/13 20:12:20, 0] lib/util.c:log_stack_trace(1699) > ? BACKTRACE: 7 stack frames: > ? ?#0 smbd(log_stack_trace+0x23) [0x822b763] > ? ?#1 smbd(smb_panic+0x46) [0x822b856] > ? ?#2 smbd [0x81ea941] > ? ?#3 smbd(initialize_password_db+0xe) [0x81ea98e] > ? ?#4 smbd(main+0x591) [0x82c1cd1] > ? ?#5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7c44ea8] > ? ?#6 smbd [0x8082a31] > [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1600) > ? smb_panic(): calling panic action [/usr/share/samba/panic-action 6192] > [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1608) > ? smb_panic(): action returned status 0 > [2006/09/13 20:12:20, 0] lib/fault.c:dump_core(173) > ? dumping core in /var/log/samba/cores/smbd > > I checked the reference /var/log/samba/cores/smbd but its not a txt based > file > so I can't say what is in it. > > My distro is debian testing with 2.6.15 kernel (from debian) Samba is 3.0.23 > (normal apt install from debian) > > Any suggestions > > Tim > > P.S. Sorry for then long post-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbd wont start
Have you tried starting smbd from SWAT? Does it start there? Also, have tried re-installing Samba in case a file has been corrupted? Tim wrote: My samba has been setup in its current configuration for around 9 months and has worked without a problem, over the weekend my windows boxes were unable to access the samba shares. Using SWAT I found that the smbd was not starting. I have tried the following: Trying to start smbd (as root) from the cli with: smbd start Seems to execute the command and gave no errors but still swat says that smbd has not been started. If I run smbstatus (as root) from the cli I get Titan:/home/mit# smbstatus sessionid.tdb not initialised /var/run/samba/connections.tdb not initialised This is normal if an SMB client has never connected to your server. /var/run/samba/locking.tdb not initialised This is normal if an SMB client has never connected to your server. Titan:/home/mit# If I run testparm from cli I get Titan:/home/mit# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Processing section "[MP3]" Processing section "[PICTURES]" Processing section "[VIDEO]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = HOME server string = %h server (Samba %v) obey pam restrictions = Yes passdb backend = tdbsam, passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 server signing = auto preferred master = No domain master = No panic action = /usr/share/samba/panic-action %d invalid users = root [homes] comment = Home Directories invalid users = read only = No create mask = 0640 directory mask = 0750 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers [MP3] path = /mnt/usbhd/mp3/ read only = No hosts allow = **.**.**.**/**.**.**.** [PICTURES] path = /mnt/usbhd/Pictures/ read only = No hosts allow = **.**.**.**/**.**.**.** [VIDEO] path = /mnt/usbhd/Video read only = No I have checked the logs for any error and this is the smbd log which give this: [2006/09/13 20:12:20, 0] lib/util.c:log_stack_trace(1699) BACKTRACE: 7 stack frames: #0 smbd(log_stack_trace+0x23) [0x822b763] #1 smbd(smb_panic+0x46) [0x822b856] #2 smbd [0x81ea941] #3 smbd(initialize_password_db+0xe) [0x81ea98e] #4 smbd(main+0x591) [0x82c1cd1] #5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7c44ea8] #6 smbd [0x8082a31] [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1600) smb_panic(): calling panic action [/usr/share/samba/panic-action 6192] [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1608) smb_panic(): action returned status 0 [2006/09/13 20:12:20, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd I checked the reference /var/log/samba/cores/smbd but its not a txt based file so I can't say what is in it. My distro is debian testing with 2.6.15 kernel (from debian) Samba is 3.0.23 (normal apt install from debian) Any suggestions Tim P.S. Sorry for then long post ___ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smbd wont start
My samba has been setup in its current configuration for around 9 months and has worked without a problem, over the weekend my windows boxes were unable to access the samba shares. Using SWAT I found that the smbd was not starting. I have tried the following: Trying to start smbd (as root) from the cli with: smbd start Seems to execute the command and gave no errors but still swat says that smbd has not been started. If I run smbstatus (as root) from the cli I get Titan:/home/mit# smbstatus sessionid.tdb not initialised /var/run/samba/connections.tdb not initialised This is normal if an SMB client has never connected to your server. /var/run/samba/locking.tdb not initialised This is normal if an SMB client has never connected to your server. Titan:/home/mit# If I run testparm from cli I get Titan:/home/mit# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Processing section "[MP3]" Processing section "[PICTURES]" Processing section "[VIDEO]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = HOME server string = %h server (Samba %v) obey pam restrictions = Yes passdb backend = tdbsam, passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 server signing = auto preferred master = No domain master = No panic action = /usr/share/samba/panic-action %d invalid users = root [homes] comment = Home Directories invalid users = read only = No create mask = 0640 directory mask = 0750 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers [MP3] path = /mnt/usbhd/mp3/ read only = No hosts allow = **.**.**.**/**.**.**.** [PICTURES] path = /mnt/usbhd/Pictures/ read only = No hosts allow = **.**.**.**/**.**.**.** [VIDEO] path = /mnt/usbhd/Video read only = No I have checked the logs for any error and this is the smbd log which give this: [2006/09/13 20:12:20, 0] lib/util.c:log_stack_trace(1699) BACKTRACE: 7 stack frames: #0 smbd(log_stack_trace+0x23) [0x822b763] #1 smbd(smb_panic+0x46) [0x822b856] #2 smbd [0x81ea941] #3 smbd(initialize_password_db+0xe) [0x81ea98e] #4 smbd(main+0x591) [0x82c1cd1] #5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7c44ea8] #6 smbd [0x8082a31] [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1600) smb_panic(): calling panic action [/usr/share/samba/panic-action 6192] [2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1608) smb_panic(): action returned status 0 [2006/09/13 20:12:20, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd I checked the reference /var/log/samba/cores/smbd but its not a txt based file so I can't say what is in it. My distro is debian testing with 2.6.15 kernel (from debian) Samba is 3.0.23 (normal apt install from debian) Any suggestions Tim P.S. Sorry for then long post ___ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba