I am trying to test a couchbase connection in php v5.5 with the 2.0.7 cb sdk. I am getting the following out put when I run the code below. The server I am trying to connect to is remote and I do not have the the cb server app installed on this machine. I do have the C Lib for CB. It appears to be something with my dev system. The error is happening on CentOS 6.4 but not on CentOS 6.5. Any additional info on this libev error or ways to go about troubleshooting it further is appreciated.
Error messages:
[warn] event_pending: event has no event_base set.
[warn] event_add: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_add: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
[warn] event_pending: event has no event_base set.
Generic error
Code:
<?php
$cb = new CouchbaseCluster('couchbase://ip.add.re.ss', 'user', 'pass');
try{
$b = $cb->openBucket('default');
}
catch( CouchbaseException $e){
print $e->getMessage();
}
libevent packages:
# yum list | grep libevent
libcouchbase2-libevent.x86_64 2.5.0-1.el6 @couchbase
libevent.x86_64 1.4.13-4.el6 @base
libevent-last.x86_64 2.0.21-4.el6.remi installed
libevent.i686 1.4.13-4.el6 base
libevent-devel.i686 1.4.13-4.el6 base
libevent-devel.x86_64 1.4.13-4.el6 base
libevent-doc.noarch 1.4.13-4.el6 base
libevent-headers.noarch 1.4.13-4.el6 base