[Linux-cluster] CTDB configuration files are missing

Diamond Li diamondiona at gmail.com
Wed Dec 30 09:41:42 UTC 2009

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
  LIBS =
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

More information about the Linux-cluster mailing list