Failed to attach to Secrets database...
michael at mjvitale.com
michael at mjvitale.com
Sat Jan 5 12:30:23 GMT 2008
I have the current ctdb version of samba. I can run it in non-clustering
mode
successfully (mounting, etc), but when I added the following lines to the
smb.conf file to start in clustering mode, I get errors in my smbd log file.
SMB.CONF:
# enable clustering
clustering = yes
idmap backend = tdb2
private dir = /etc/samba/private
SMBD.LOG:
[2007/12/31 12:01:16, 6] param/loadparm.c:lp_file_list_changed(3078)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Mon Dec 31
11:50:30 2007
[2007/12/31 12:01:16, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.2.6 bcast=192.168.2.255 nmask=255.255.255.0
[2007/12/31 12:01:16, 5] lib/util.c:init_names(287)
Netbios name list:-
my_netbios_names[0]="MICHAELV3"
[2007/12/31 12:01:16, 10] lib/messages.c:ctdbd_socket_readable(1291)
reading msglen
[2007/12/31 12:01:16, 10] lib/messages.c:ctdbd_socket_readable(1310)
msglen = 48
[2007/12/31 12:01:16, 10] lib/messages.c:ctdbd_socket_readable(1332)
reading msg len 44
[2007/12/31 12:01:16, 0] lib/messages.c:ctdbd_db_attach(1873)
lib/messages.c:1873 ctdb_control for db_attach failed
[2007/12/31 12:01:16, 0] lib/dbwrap_ctdb.c:db_open_ctdb(462)
ctdbd_db_attach failed for secrets.tdb
[2007/12/31 12:01:16, 0] lib/dbwrap.c:db_open(71)
failed to attach to ctdb secrets.tdb
[2007/12/31 12:01:16, 0] lib/util.c:smb_panic(1669)
PANIC (pid 9677): failed to attach to a ctdb database
[2007/12/31 12:01:16, 0] lib/util.c:log_stack_trace(1773)
BACKTRACE: 7 stack frames:
#0 /usr/bin/smbd(log_stack_trace+0x2d) [0x827e167]
#1 /usr/bin/smbd(smb_panic+0x78) [0x827e295]
#2 /usr/bin/smbd(db_open+0x121) [0x829ab81]
#3 /usr/bin/smbd(secrets_init+0xb6) [0x8228bb9]
#4 /usr/bin/smbd(main+0x5d3) [0x846d49f]
#5 /lib/libc.so.6(__libc_start_main+0xdc) [0xadff2c]
#6 /usr/bin/smbd [0x80a4091]
[2007/12/31 12:01:16, 0] lib/fault.c:dump_core(181)
dumping core in /usr/samba-ctdb/log/cores/smbd
More information about the samba-technical
mailing list