Cbstats error
Hey Guys i keep getting this error when i run cbstats. The system is listening on the right port and the password is correct however i cant get any traction here. Also i am not a python guy to really debug the lines. Does anything here pop out at you guys. Any help would be appreciated. Thanks
./cbstats localhost:11210 all test test
Traceback (most recent call last):
File "/opt/couchbase/lib/python/cbstats", line 282, in
main()
File "/opt/couchbase/lib/python/cbstats", line 279, in main
c.execute()
File "/opt/couchbase/lib/python/clitool.py", line 43, in execute
f[0](mc, *args[2:], **opts.__dict__)
File "/opt/couchbase/lib/python/cbstats", line 26, in g
mc.sasl_auth_plain(username, password)
File "/opt/couchbase/lib/python/mc_bin_client.py", line 191, in sasl_auth_plain
return self.sasl_auth_start('PLAIN', '\0'.join([foruser, user, password]))
File "/opt/couchbase/lib/python/mc_bin_client.py", line 187, in sasl_auth_start
return self._doCmd(memcacheConstants.CMD_SASL_AUTH, mech, data)
File "/opt/couchbase/lib/python/mc_bin_client.py", line 104, in _doCmd
return self._handleSingleResponse(opaque)
File "/opt/couchbase/lib/python/mc_bin_client.py", line 97, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File "/opt/couchbase/lib/python/mc_bin_client.py", line 93, in _handleKeyedResponse
raise MemcachedError(errcode, rv)
mc_bin_client.MemcachedError: Memcached error #32: Auth failure
Hey Tug,
Thanks for the feedback. unfortunately that did not work
root@server02 ~]# /opt/couchbase/bin/cbstats localhost:11120 all
Stats '' are not available from the requested engine.
The flags i believe does not exist in this version or are not used
[root@server02 ~]# /opt/couchbase/bin/cbstats localhost:11210 all -b jtap -p jtap
Usage: cbstats [options]
cbstats: error: no such option: -b
[root@server02 ~]# /opt/couchbase/bin/cbstats
Usage: cbstats host:port all [username password]
or cbstats host:port checkpoint [username password]
or cbstats host:port dispatcher [logs] [username password]
or cbstats host:port hash [detail] [username password]
or cbstats host:port items [username password]
or cbstats host:port raw argument [username password]
or cbstats host:port reset [username password]
or cbstats host:port slabs [username password]
or cbstats host:port tap [username password]
or cbstats host:port tapagg [username password]
or cbstats host:port timings [username password]
or cbstats host:port vkey keyname vbid [username password]
I read somewhere that the cbstats command cannot be used for for coucbase bucket as oppose to memcached. Any thoughts on the below comment ? I wonder if that is the reason. However, there is no option for bucket type so i don't know if it matters.
http://www.couchbase.com/issues/browse/MB-5028
Thanks.
jtap
version is 1.8.1
Hi,
Unable to reproduce the issue. It works fine for me.
# /opt/couchbase/bin/cbstats localhost:11210 all -b test -p test
Thanks,
Neo
Hello,
Not sure where the problem comes from.
Have you tried with the -b /-p params? (bucket, password)
Does it work on the default bucket without password ?
Also what is your exact version and operating system?
Regards
Tug
@tgrall