Hi ,
when I set up a new couchbase server on Debian Buster, I can’t complete the cluster setup via http .
I receive a generic error at the end :
’ Unexpected server error, request logged.’
If I also try to set up a new cluster via cli command (), I receive the following error:
‘ERROR: Internal server error, please retry your request’
I use a similar command syntax:
Just tried couchbase-cli cluster-init on Debian 10 with Couchbase 7.0.1 Enterprise – worked fine for me. Maybe the logs will have more info/clues about the error you are seeing – look at the info.log or the debug.log in /opt/couchbase/var/lib/couchbase/logs .
Thank you,
By looking at the two files which you have suggested , the issue seems related to the memcached misconfiguration,
Here a debug.log extract:
[ns_server:warn,2021-09-13T09:26:19.302Z,ns_1@10.xx.y.zz:memcached_refresh<0.269.0>:ns_memcached:connect:1202]Unable to connect: {error,{badmatch,[{inet,{error,econnrefused}}]}}.
[ns_server:debug,2021-09-13T09:26:19.302Z,ns_1@10.xx.yy.zz:memcached_refresh<0.269.0>:memcached_refresh:handle_info:87]Refresh of [ssl_certs,rbac,isasl] failed. Retry in 1000 ms.
``
but I have not solved out yet.
Looking better at the messages in the log files, I have seen an error like that:
memcached.log.000001.txt:2021-09-09T18:37:33.063209+00:00 CRITICAL Failed to initialise - CPU with SSE4.2 extensions is required - terminating.
This error is related to the missing sse4_2 cpu flags . Since I installed the couchbase server on a virtual machine , the issue has been solved out by changing the VM processor type, to one that could use the sse4_2 flags , instead of the generic one previously set. So , once the VM has been restarted, a cpuinfo reported the cpu missed flag: