Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Cbstats error

4 replies [Last post]
  • Login or register to post comments
Fri, 02/01/2013 - 11:58
jtap
Offline
Joined: 02/01/2013
Groups: None

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

Top
  • Login or register to post comments
Mon, 02/04/2013 - 02:49
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

Not sure where the problem comes from.

Have you tried with the -b /-p params? (bucket, password)

./cbstats localhost:11210 all -b test -p test

Does it work on the default bucket without password ?

./cbstats localhost:11210 all 

Also what is your exact version and operating system?

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Mon, 02/04/2013 - 07:46
jtap
Offline
Joined: 02/01/2013
Groups: None

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

Top
  • Login or register to post comments
Mon, 02/04/2013 - 09:42
jtap
Offline
Joined: 02/01/2013
Groups: None

version is 1.8.1

Top
  • Login or register to post comments
Thu, 02/07/2013 - 11:12
Neo-matrix
Offline
Joined: 10/15/2012
Groups: None

Hi,
Unable to reproduce the issue. It works fine for me.

# /opt/couchbase/bin/cbstats localhost:11210 all -b test -p test

Thanks,
Neo

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker