Vitaliy Sholokhov
2009-Sep-15 18:51 UTC
[Samba] FreeBSD 6.2 fresh install samba 3.3.7 problems
Hello, I've port installed 3.3.7 samba onto the box and was trying to start samba server through '/usr/local/etc/rc.d/samba' with no success (server wouldn't start at all). I've tried running '/usr/local/bin/smdb -D' and server started for few moments before it died. Below are configuration files and log dump with the dump error. What am I doing wrong? [root at crossbow ~]# cat /usr/local/etc/samba/smbpasswd pcguest:1010:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U ]:LCT-4AAFA483: [root at crossbow ~]# testparm -s Load smb config files from /usr/local/etc/smb.conf Processing section "[share]" Loaded services file OK. Server role: ROLE_STANDALONE [global] security = SHARE passdb backend = tdbsam guest account = pcguest [share] path = /usr/local/www read only = No guest ok = Yes [root at crossbow ~]# cat /usr/local/etc/smb.conf [global] workgroup = WORKGROUP passdb backend = tdbsam ;Anonymous Configuration security = share guest account = pcguest [share] path = /usr/local/www read only = no guest ok = yes [root at crossbow ~]# cat /var/log/samba/log.smbd [2009/09/15 14:38:36, 0] smbd/server.c:main(1274) smbd version 3.3.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/09/15 14:38:36, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server localhost:631 - Connection refused [2009/09/15 14:38:36, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server localhost:631 - Connection refused [2009/09/15 14:38:37, 1] passdb/pdb_tdb.c:tdbsam_open(503) tdbsam_open: Converting version 0.0 database to version 4.0. [2009/09/15 14:38:37, 1] passdb/pdb_tdb.c:tdbsam_convert_backup(282) tdbsam_convert_backup: updated /usr/local/etc/samba/passdb.tdb file. [2009/09/15 14:39:18, 0] lib/fault.c:fault_report(40) ==============================================================[2009/09/15 14:39:19, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 853 (3.3.7) Please read the Trouble-Shooting section of the Samba3-HOWTO [2009/09/15 14:39:19, 0] lib/fault.c:fault_report(43) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2009/09/15 14:39:19, 0] lib/fault.c:fault_report(44) ==============================================================[2009/09/15 14:39:19, 0] lib/util.c:smb_panic(1673) PANIC (pid 853): internal error [2009/09/15 14:39:19, 0] lib/util.c:log_stack_trace(1777) BACKTRACE: 8 stack frames: #0 0x82d5581 <smb_panic+125> at smbd #1 0x82c0641 <debug_ctx+565> at smbd #2 0x82c0652 <debug_ctx+582> at smbd #3 0x28a52f5d <sigaction+10485> at /lib/libpthread.so.2 #4 0xbfbfff94 #5 0x84fde6f <smbd_memcache+4507> at smbd #6 0x84ff3ab <main+2451> at smbd #7 0x80a47a6 <_start+118> at smbd [2009/09/15 14:39:19, 0] lib/fault.c:dump_core(231) dumping core in /var/log/samba/cores/smbd -- Best regards, Vitaliy Sholokhov