Bin, I'm able to reproduce this consistently on my VM which is running CentOS 5.8:
[
root@localhost ~]# rpm -ivh couchbase-server-enterprise_x86_64_2.0.0.rpm --relocate /opt/couchbase=/var/opt/couchbase
Preparing... ########################################### [100%]
1:couchbase-server ########################################### [100%]
tar: /opt/couchbase/lib/python/pysqlite2_24.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /opt/couchbase/lib/python/ctypes.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Starting couchbase-server[ OK ]
You have successfully installed Couchbase Server.
Please browse to
http://localhost.localdomain:8091/ to configure your server.
Please refer to
http://couchbase.com for additional resources.
Please note that you have to update your firewall configuration to
allow connections to the following ports: 11211, 11210, 11209, 4369,
8091 and from 21100 to 21299.
By using this software you agree to the End User License Agreement.
See /var/opt/couchbase/LICENSE.txt.
[
root@localhost ~]# /var/opt/couchbase/bin/cbbackup
Error: could not import sqlite3 module
[
root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[
root@localhost ~]# more /etc/issue
CentOS release 5.8 (Final)
Kernel \r on an \m
Looks like there was a problem with the initial installation...perhaps that's what's causing this? I am working with the 2.0 GA.
-bash-3.2$ sudo rpm -ivv --relocate /opt/couchbase=/tmp/opt/couchbase couchbase-server-community_x86_64_2.0.1-158-rel.rpm
-bash-3.2$ /tmp/opt/couchbase/bin/cbbackup -h
usage: cbbackup [options] source backup_dir
Online backup of a couchbase cluster or server node.
Examples:
cbbackup http://HOST:8091 /backups/backup-42
cbbackup couchbase://HOST:8091 /backups/backup-42
options:
-h, --help show this help message and exit
-b BUCKET_SOURCE, --bucket-source=BUCKET_SOURCE
single bucket from source to backup
--single-node use a single server node from the source only,
....