CTDB-samba configuration problems

lazycy yi.chen1982 at gmail.com
Wed Jul 16 09:05:25 GMT 2008


Hi, all
  I'm a newbie of CTDB and I'm now trying to use CTDB to implement cluster
samba on my cluster. I follow the process on
http://ctdb.samba.org/configuring.html and
http://wiki.samba.org/index.php/CTDB_Setup#Setting_up_CTDB_for_clustered_NFS.
Here are some problems I met, any suggestions will be very appreciate.
1) When I finished building process according to
http://ctdb.samba.org/building.html, I can not found the configure files as
/etc/sysconfig/ctdb, /etc/ctdb/nodes, /etc/public_addresses and etc. So I
generate these files manually. My question is what should I put into
/tmp/ctdb.socket? Any template?

2) After I generate these files, I try to add a user to samba and get
[root at mypc bin]# ./smbpasswd -a testuser
connect(/tmp/ctdb.socket) failed: Connection refused
Could not init ctdbd context: NT_STATUS_ACCESS_DENIED
Anything I missed in configuration?

3) When I try to start CTDB on my cluster, I get error as below:

[root at COS-001 bin]# onnode all service ctdb start
>> NODE: 192.168.11.11 <<
common/cmdline.c:122 Failed to connect to daemon
2008/07/16 16:57:21.325582 [15917]: Failed to init ctdb
>> NODE: 192.168.11.12 <<
common/cmdline.c:122 Failed to connect to daemon
2008/07/16 16:57:21.325582 [15917]: Failed to init ctdb

Any suggestions or guides will be very helpful!

Cheers
Ethan
-- 
View this message in context: http://www.nabble.com/CTDB-samba-configuration-problems-tp18483408p18483408.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.



More information about the samba-technical mailing list