[Linux-cluster] CTDB configuration files are missing

Cleber Rosa crosa at redhat.com
Wed Dec 30 10:08:45 UTC 2009

Hi Li, 

AFAIK there are ctdb packages on RHEL's supplementary channel (to support the samba 3x package). 


Cleber Rodrigues < crosa at redhat.com > 
Solutions Architect - Red Hat, Inc. 
Mobile: +55 61 9185.3454 

----- Mensagem original ----- 
De: "Diamond Li" <diamondiona at gmail.com> 
Para: "linux clustering" <linux-cluster at redhat.com> 
Enviadas: Quarta-feira, 30 de Dezembro de 2009 7:41:42 (GMT-0300) Auto-Detected 
Assunto: [Linux-cluster] CTDB configuration files are missing 

Hello, everyone, 
it may not the right group to ask CTDB question, but if someone 
happens to know the answer, I would appreciate. after I compiled and 
installed ctdb, I did not see configure file /etc/sysconfig/ctdb, but 
there is no errors during installation. 

It should be created during installation, right? 

one more question, is there easy to build CTDB rpm package? 

[root at wplccdlvm445 config]# ls -l /etc/sysconfig/ctdb 
ls: /etc/sysconfig/ctdb: No such file or directory 

installation steps: 
cd ctdb 
make install 

[root at wplccdlvm445 ctdb]# make install |less 
ctdb will be compiled with flags: 
CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I. 
-I./lib/talloc -Ilib/tdb/include -I./lib/re 
place -DVARDIR=\"/usr/local/var\" -DETCDIR=\"/usr/local/etc\" 
-DLOGDIR=\"/usr/local/var/log\" -DUSE_ 
MMAP=1 -I./lib/replace -Wall -Wshadow -Wstrict-prototypes 
-Wpointer-arith -Wcast-qual -Wcast-align 
mkdir -p //usr/local/lib/pkgconfig 
mkdir -p //usr/local/bin 
mkdir -p //usr/local/sbin 
mkdir -p //usr/local/include 
mkdir -p //usr/local/etc/ctdb 
mkdir -p //usr/local/etc/ctdb/events.d 
mkdir -p //usr/share/doc/ctdb 
/usr/bin/install -c -m 644 ctdb.pc //usr/local/lib/pkgconfig 
/usr/bin/install -c -m 755 bin/ctdb //usr/local/bin 
/usr/bin/install -c -m 755 bin/ctdbd //usr/local/sbin 
/usr/bin/install -c -m 755 bin/smnotify //usr/local/bin 
/usr/bin/install -c -m 755 bin/ping_pong //usr/local/bin 
/usr/bin/install -c -m 644 include/ctdb.h //usr/local/include 
/usr/bin/install -c -m 644 include/ctdb_private.h //usr/local/include 
# for samba3 
/usr/bin/install -c -m 644 config/functions //usr/local/etc/ctdb 
/usr/bin/install -c -m 755 config/statd-callout //usr/local/etc/ctdb 
/usr/bin/install -c -m 644 config/events.d/README 
/usr/bin/install -c -m 644 doc/recovery-process.txt 
/usr/bin/install -c -m 755 config/events.d/00.ctdb //usr/local/etc/ctdb/events.d 
/usr/bin/install -c -m 755 config/events.d/01.reclock 
/usr/bin/install -c -m 755 config/events.d/10.interface 
/usr/bin/install -c -m 755 config/events.d/11.natgw 
/usr/bin/install -c -m 755 config/events.d/11.routing 
/usr/bin/install -c -m 644 config/events.d/20.multipathd 
/usr/bin/install -c -m 644 config/events.d/31.clamd 
/usr/bin/install -c -m 755 config/events.d/40.vsftpd 
/usr/bin/install -c -m 755 config/events.d/41.httpd 
/usr/bin/install -c -m 755 config/events.d/50.samba 
/usr/bin/install -c -m 755 config/events.d/60.nfs //usr/local/etc/ctdb/events.d 
/usr/bin/install -c -m 755 config/events.d/61.nfstickle 
/usr/bin/install -c -m 755 config/events.d/70.iscsi 
/usr/bin/install -c -m 755 config/events.d/91.lvs //usr/local/etc/ctdb/events.d 
/usr/bin/install -c -m 755 tools/ctdb_diagnostics //usr/local/bin 
/usr/bin/install -c -m 755 tools/onnode //usr/local/bin 
if [ -f doc/ctdb.1 ];then /usr/bin/install -c -d //usr/local/man/man1; fi 
if [ -f doc/ctdb.1 ];then /usr/bin/install -c -m 644 doc/ctdb.1 
//usr/local/man/man1; fi 
if [ -f doc/ctdbd.1 ];then /usr/bin/install -c -m 644 doc/ctdbd.1 
//usr/local/man/man1; fi 
if [ -f doc/onnode.1 ];then /usr/bin/install -c -m 644 doc/onnode.1 
//usr/local/man/man1; fi 
if [ ! -f //usr/local/etc/ctdb/notify.sh ];then /usr/bin/install -c -m 
755 config/notify.sh //usr/local/etc/ctdb; fi 

Linux-cluster mailing list 
Linux-cluster at redhat.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20091230/0226b111/attachment.htm>

More information about the Linux-cluster mailing list