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

Reply via email to