Bug 5359 - ctdb fails to start samba.
Summary: ctdb fails to start samba.
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: clustering (show other bugs)
Version: 3.0.9
Hardware: Other Linux
: P3 regression
Target Milestone: none
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 07:33 UTC by Michael Vitale
Modified: 2008-04-04 09:30 UTC (History)
0 users

See Also:


Attachments
samba configuration file (13.93 KB, text/plain)
2008-03-29 07:35 UTC, Michael Vitale
no flags Details
ctdb configuration file (3.38 KB, text/plain)
2008-03-29 07:36 UTC, Michael Vitale
no flags Details
ctdb log file (312.12 KB, text/plain)
2008-03-29 07:39 UTC, Michael Vitale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vitale 2008-03-29 07:33:11 UTC
Operating system is fedora 7: 2.6.21-1.3194.fc7
I am running ctdb as a service from the service menu.
Also attached in subsequent additions to this new bug are:
"log.ctdb"
ctdb config file
samba config file

Here is contents of the smbd.log after it attempts to start:
[2008/03/29 08:11:02, 0] lib/messages.c:message_ctdbd_ctx_init(1016)
  connect(/tmp/ctdb.socket) failed: Connection refused
[2008/03/29 08:11:02, 0] lib/messages.c:ctdbd_control(1745)
  Failed to initialise ctdb context
[2008/03/29 08:11:02, 0] lib/messages.c:ctdbd_db_attach(1873)
  lib/messages.c:1873 ctdb_control for db_attach failed
[2008/03/29 08:11:02, 0] lib/dbwrap_ctdb.c:db_open_ctdb(462)
  ctdbd_db_attach failed for secrets.tdb
[2008/03/29 08:11:02, 0] lib/dbwrap.c:db_open(71)
  failed to attach to ctdb secrets.tdb
[2008/03/29 08:11:02, 0] lib/util.c:smb_panic(1669)
  PANIC (pid 5082): failed to attach to a ctdb database
[2008/03/29 08:11:02, 0] lib/util.c:log_stack_trace(1773)
  BACKTRACE: 7 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x827e647]
   #1 smbd(smb_panic+0x78) [0x827e775]
   #2 smbd(db_open+0x121) [0x829bcd1]
   #3 smbd(secrets_init+0xb6) [0x82290b9]
   #4 smbd(main+0x5d3) [0x846e5bf]
   #5 /lib/libc.so.6(__libc_start_main+0xe0) [0x480b1f70]
   #6 smbd [0x80a4361]
[2008/03/29 08:11:02, 0] lib/fault.c:dump_core(181)
  dumping core in /usr/samba-ctdb/log/cores/smbd
Comment 1 Michael Vitale 2008-03-29 07:35:41 UTC
Created attachment 3224 [details]
samba configuration file

samba configuration file
Comment 2 Michael Vitale 2008-03-29 07:36:47 UTC
Created attachment 3225 [details]
ctdb configuration file

ctdb configuration file
Comment 3 Michael Vitale 2008-03-29 07:39:23 UTC
Created attachment 3226 [details]
ctdb log file

ctdb log file
Comment 4 Michael Vitale 2008-04-04 09:30:49 UTC
resolved as a configuration/build issue