Not able to run cbc commands

I have 2 node couchbase cluster and i installed rpms to use cbc. Please check following packages have been installed on my 2 nodes cluster.

[root@mysql01 sf_Softwares]# rpm -qa |grep couchbase
libcouchbase2-core-2.4.4-2.el6.x86_64
couchbase-server-5.1.1-5723.x86_64
libcouchbase-devel-2.4.4-2.el6.x86_64
couchbase-release-1.0-4.x86_64
libcouchbase2-bin-2.4.4-2.el6.x86_64

My cbc utility details

[root@mysql01 sf_Softwares]# which cbc
/usr/bin/cbc
[root@mysql01 sf_Softwares]# cbc cat venkat-doc-01 -U couchbase://mysql01.localdomain/AVS
Operation failed with code 0x2 (Authentication failed. You may have provided an invalid username/password combination)
[root@mysql01 sf_Softwares]# cbc cat venkat-doc-01 -U couchbase://mysql01/AVS
Operation failed with code 0x2 (Authentication failed. You may have provided an invalid username/password combination)
[root@mysql01 sf_Softwares]# cbc cat venkat-doc-01 -U couchbase://mysql01/AVS -u avs -P avs
Operation failed with code 0x26 (The administrative account can no longer be used for data access)

Please suggest me how can i execute commands by using this “cbc” utility and what is the issue i am getting over here?

Thanks in advance.

Venkat Beru

Waiting for update… Could any one please respond to my issue!

Thanks,
Venkat Beru

As per the error messages; you haven’t specified a user/password which is allowed to read data - the Administrator user doesn’t have access to data by default.

You need to either add a specific data access user; or modify the admin user to give them the data access role.

Thank you for your update but i created a user called “venkat” which is not an administrator user. After saw your update i have removed some roles/privileges and tried but still i had the same issue. Can you please let me know exactly what roles i have to provided to normal user?

Thanks,
Venkat Beru