You are not logged in.

#1 2006-07-23 17:47:29

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

samba is crashing right after it starts

Hi, samba marks itself as started at boot time, however ir crasher just after that. check the log:

[2006/07/23 12:50:32, 0] smbd/server.c:main(847)
  smbd version 3.0.23 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/07/23 12:50:33, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/07/23 12:50:33, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/07/23 12:50:34, 0] passdb/pdb_interface.c:make_pdb_method_name(174)
  No builtin nor plugin backend for tdbsam guest found
[2006/07/23 12:50:34, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 5483): pdb_get_methods_reload: failed to get pdb methods for backend tdbsam guest

[2006/07/23 12:50:34, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 7 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2e) [0x802141ce]
   #1 /usr/sbin/smbd(smb_panic+0x5e) [0x802142fe]
   #2 /usr/sbin/smbd [0x801cca0f]
   #3 /usr/sbin/smbd(initialize_password_db+0xe) [0x801cca5e]
   #4 /usr/sbin/smbd(main+0x5fc) [0x802b96bc]
   #5 /lib/libc.so.6(__libc_start_main+0xd8) [0xb7b09808]
   #6 /usr/sbin/smbd [0x80042c21]
[2006/07/23 12:50:34, 0] lib/util.c:smb_panic(1600)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 5483]
sh: /usr/share/samba/panic-action: No such file or directory
[2006/07/23 12:50:34, 0] lib/util.c:smb_panic(1608)
  smb_panic(): action returned status 127
[2006/07/23 12:50:34, 0] lib/fault.c:dump_core(173)
  dumping core in /usr/var/log/samba/cores/smbd

¿any ideas?[/quote]

Offline

#2 2006-07-25 16:03:51

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: samba is crashing right after it starts

It's complaining that it has no authentication method (e.g. password DB).  Have you set up any user accounts?  If not, as root user, try 'smbpasswd -a <your_regular_login_account_name>' and then start it up again ('/etc/rc.d/samba start').

Post changes to log file records, if any.

Offline

#3 2006-07-29 05:05:56

xterminus
Member
From: Tacoma, WA, USA, Earth, Sol, M
Registered: 2005-10-30
Posts: 93

Re: samba is crashing right after it starts

i have the same error, which is annoying.

Here is a more detailed dump (if this helps)

smbd -d 10 -i
(bunch of junk) then...

Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to register passdb backend NDS_ldapsam_compat
Successfully added passdb backend 'NDS_ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match tdbsam guest (tdbsam guest)
No builtin backend found, trying to load plugin
Probing module 'tdbsam guest'
Probing module 'tdbsam guest': Trying to load from /usr/lib/samba/pdb/tdbsam guest.so
Error loading module '/usr/lib/samba/pdb/tdbsam guest.so': /usr/lib/samba/pdb/tdbsam guest.so: cannot open shared object file: No such file or directory
No builtin nor plugin backend for tdbsam guest found
PANIC (pid 19287): pdb_get_methods_reload: failed to get pdb methods for backend tdbsam guest

BACKTRACE: 7 stack frames:
 #0 smbd(log_stack_trace+0x2e) [0x802141ce]
 #1 smbd(smb_panic+0x5e) [0x802142fe]
 #2 smbd [0x801cca0f]
 #3 smbd(initialize_password_db+0xe) [0x801cca5e]
 #4 smbd(main+0x5fc) [0x802b96bc]
 #5 /lib/libc.so.6(__libc_start_main+0xd8) [0xb7a7d808]
 #6 smbd [0x80042c21]
smb_panic(): calling panic action [/usr/share/samba/panic-action 19287]
sh: /usr/share/samba/panic-action: No such file or directory
smb_panic(): action returned status 127
dumping core in /usr/var/log/samba/cores/smbd
Aborted (core dumped)

Offline

#4 2006-07-29 20:17:12

Mythoz
Member
Registered: 2004-04-25
Posts: 58

Re: samba is crashing right after it starts

I have removed

passdb backend = smbpasswd guest

from smb.conf and it is not crashing anymore.

Offline

Board footer

Powered by FluxBB