I’m running: Version: 4.5.1-2844 Enterprise Edition (build-2844). I’m running this server (1 active) on my mac OS 10.12.3 laptop.
from cbq I’ve tried running: CREATE PRIMARY INDEX ON customer360 ;
This fails every time.
When I look in the ~/Library/Application Support/Couchbase/var/lib/couchbase/data/customer360 dir and look at errors.log I see messages like this:
[stats:error,2017-02-12T15:37:25.768-06:00,ns_1@127.0.0.1:query_stats_collector<0.348.0>:base_stats_collector:handle_info:109](Collector: query_stats_collector) Exception in stats collector: {error,
{badmatch,
{error,
{econnrefused,
[{lhttpc_client,
send_request,
1,
[{file,
"/Users/jenkins/jenkins/workspace/watson-unix/couchdb/src/lhttpc/lhttpc_client.erl"},
{line,
220}]},
{lhttpc_client,
and
[ns_server:error,2017-02-12T15:37:38.063-06:00,ns_1@127.0.0.1:index_status_keeper_worker<0.370.0>:index_rest:get_json:42]Request to (indexer) http://127.0.0.1:9102/getIndexStatus failed: {error,
timeout}
That port is listening when I do a netstat -na. In fact there are over 300 connections open to it!
netstat -na | grep 9102 | wc -l
341
When I visit the indexes tab in the server admin, I see this message:
Warning: Cannot communicate with indexer process. Information on indexes may be stale. Will retry.
Any tips?