Changing the Admin Account Username and Password and Realm.

1,917 views
Skip to first unread message

Mahmoud Ramadan

unread,
Jan 30, 2015, 11:33:25 AM1/30/15
to 2600hz...@googlegroups.com
Hi Dears,
I want to change the Kazoo Admin account username and password and realm.Whenever i use the command #/opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount kazoorealm.com username password  with new username and password and realm i get
#created new account '58c1851b12062219731a0d95e13a51f7' in db 'account%2F58%2Fc1%2F851b12062219731a0d95e13a51f7'
failed to validate user properties: '{}'
failed

James Aimonetti

unread,
Jan 30, 2015, 1:53:49 PM1/30/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You'd be better off deleting the account DB and the entry from the
accounts DB. Kazoo builds off of the assumption of an account's realm
being statically defined at creation.

- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"

2600Hz | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUy9M7AAoJENTKa+JPXCVgO2oIAI8wlFYKSdHExbBjWlSNaz09
AC/FSPrRa+AsMMZMOvZ+MRAsVyVRpLqRNFIWgGGZJOyl2eXJQ+WD80sIDrJkJTF9
F8cFZlcew6eAaC5iTWX5FhJNByI4Td6UV0ppmcP/Qv87xbgqjClr4haiBtYdecEz
QnXTfUugz4W3DrF+8bS2YZV52muJOu3gLWaHBeAPeQ5qWPG+F5p0MA9blx5YJHtU
9cFKHaVPIoC40AyKBEg+n3m2e/gC2O3mLl9v+jlri4gWEl99i4JRtLDLM6N/UZJ9
SPHo1jK5Uyo/hVEA3n3+h6GbM3ecC/7g0Iff5cEJYUA2cYeuWWxSZDQNm7z+gC4=
=RNmH
-----END PGP SIGNATURE-----

Mahmoud Ramadan

unread,
Jan 30, 2015, 4:45:44 PM1/30/15
to 2600hz...@googlegroups.com
Hi James,
I've deleted the accounts DB and the old account entry then restarted the bigcouch service and tried to create a new account BUT still receive the same error.

#[root@Kazoo ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount clst.globaltelecom.com mahmoud P@ssw0rd
created new account 'b5a764c1ce64434423e62bbb4b9eec08' in db 'account%2Fb5%2Fa7%2F64c1ce64434423e62bbb4b9eec08'

failed to validate user properties: '{}'
failed


On Friday, January 30, 2015 at 8:53:49 PM UTC+2, James Aimonetti wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 2015-01-30 08:33, Mahmoud Ramadan a écrit :
> Hi Dears, I want to change the Kazoo Admin account username and
> password and realm.Whenever i use the command
> #/opt/kazoo/utils/sup/sup crossbar_maintenance create_account
> kazooaccount kazoorealm.com username password  with new username
> and password and realm i get #created new account
> '58c1851b12062219731a0d95e13a51f7' in db
> 'account%2F58%2Fc1%2F851b12062219731a0d95e13a51f7' failed to
> validate user properties: '{}' failed
>

You'd be better off deleting the account DB and the entry from the
accounts DB. Kazoo builds off of the assumption of an account's realm
being statically defined at creation.

- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"

2600Hz | http://2600hz.com

James Aimonetti

unread,
Jan 30, 2015, 6:23:19 PM1/30/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, you weren't supposed to delete the 'accounts' DB!

However, all is not lost. Try executing:

sup whapps_maintenance blocking_refresh

This should rebuild the 'accounts' DB (as well as any others).

No need to restart BigCouch, by the way.
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUzBJlAAoJENTKa+JPXCVggq0H/iX2veCVlnMfkBtVdXuIELu/
bU4vFYmTo3MwGER/wJ9kUHf3A0GjXixXUeAyHb3xqZbX/plw2muxYiEFCKjCU/JH
8f7Xi/cZ6J/cJbF5Simgnj5hW9SKjZue5a5KieKJR3DfQhJ6Uf/GXGCvgDj4XvsQ
ZgSm0LJhDpe3FsXEkwxjWACRgUzGH3xr1oeZLKumWaBweiw6Yod55qGenV2VSYhz
FZ0wX2KQ+hsV2dFuAay0dN0tWhQtgmo3PGkdxOz7nh2feU2Zg+2Ln3KX0/6M2wKE
4GTj8MFngxENHi3HMRy6jEzS0vk+R6EujL/TTQMfadGSKB6v1jvWmZ070zVgnXU=
=87Fd
-----END PGP SIGNATURE-----

Mahmoud Ramadan

unread,
Jan 30, 2015, 6:38:09 PM1/30/15
to 2600hz...@googlegroups.com
Hi James,
Do NOT worry about the accounts DB :D since i'm testing this in a lab environment for learning purposes to learn Kazoo , any way thanks for your help i will try and feedback if it is NOT fixed.

Mahmoud Ramadan

unread,
Feb 1, 2015, 4:38:01 PM2/1/15
to 2600hz...@googlegroups.com
Hi James,
I'm really stuck now ! i can NOT create an account or log into the Kazoo web UI...I've deleted the old admin user accounts from the Apache Couch UI and tried again creating a new account BUT still receive the same error !

#[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount sip.telecomworld.com mahmoud mahmoud_password
created new account '3218f75a64aacb89e7451be26498052d' in db 'account%2F32%2F18%2Ff75a64aacb89e7451be26498052d'

failed to validate user properties: '{}'
failed

Thanks in advance

On Saturday, January 31, 2015 at 1:23:19 AM UTC+2, James Aimonetti wrote:

James Aimonetti

unread,
Feb 2, 2015, 12:46:59 AM2/2/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't remember what version you said you were on, but can you try
upgrading to 3.18 (latest stable release) and run:

sup whapps_maintenance migrate

Once that's finished, try creating an account again. If you still get
the errors below, please file a ticket so we can look into this, with
pasties of logs, steps to reproduce, etc.

For the record, I created a 3.18 vanilla install and created a couple
accounts successfully...but, with varied environments come varied results!

Thanks!

James

Le 02/01/2015 01:38 PM, Mahmoud Ramadan a écrit :
> Hi James, I'm really stuck now ! i can NOT create an account or log
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUzw9QAAoJENTKa+JPXCVgznAH/2P+AuRfA7EMny+jMnQYAhGD
VAXxuf8HapKoh9xhvEpHxtapvMevnHq13f0dMsIKphBbREKghD4PFhSPkq10vse/
CiUXi+Qi2LfKHp94+Z+UTijD17nwccUFsVmmD3ZZUfAXP0dV3YYij07++MDOrEKD
CNdBS7HJIlmXlFygMEnw3mzpfw1mvl5oLjnQDdJBnUv4MiA+dzFGYdLP9mA35ENo
AcPk85JS5lOTawgvmogDYY+MgRmnjKWdOW8o8Skols9j84hLKKakfI893hyAYOHv
r9rTRlMS8obocPheyfmHB0JWjWMd6jUDEVSE2Zv4IPu+hU7GN6OxuQ9dMr50E3M=
=1OqD
-----END PGP SIGNATURE-----

Mahmoud Ramadan

unread,
Feb 4, 2015, 3:20:40 PM2/4/15
to 2600hz...@googlegroups.com
Hi James,
I'm using the latest version (v3.18-3) so it is NOT outdated version also i did some troubleshooting and get some logs when creating the Kazoo account.Please check the logs so it might help you to figure out the cause of the error .

[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account telecomaccount sip.telecomworld.org telecomuser telecompassword
failed to validate account properties(error): '{}'
failed
 
[root@kazoo01 ~]# tail -f  /opt/kazoo/log/console.log
2015-02-04 17:08:22.089 [warning] <0.1102.0>@couch_util:couch_compactor_fsm:177 connection to kazoo02.telecomworld.com:15986 failed: Host is unreachable
2015-02-04 17:08:22.089 [warning] <0.1102.0>@couch_compactor_fsm:couch_compactor_fsm:1485 failed to get connections for kazoo02.telecomworld.com on 15984 and 15986
2015-02-04 17:08:22.090 [info] <0.1102.0>@couch_compactor_fsm:couch_compactor_fsm:1488 getting connection information for kazoo01.telecomworld.com, 5984 and 5986
2015-02-04 17:08:22.092 [info] <0.1102.0>@couch_util:couch_compactor_fsm:169 connected successfully to kazoo01.telecomworld.com:5984
2015-02-04 17:08:22.094 [info] <0.1102.0>@couch_util:couch_compactor_fsm:169 connected successfully to kazoo01.telecomworld.com:5986

[root@kazoo01 ~]#  tail -f  /opt/kazoo/log/crash.log
2015-02-04 16:05:47 =ERROR REPORT====
** Connection attempt from disallowed node 'sup_...@kazoo01.telecomworld.com' **

[root@kazoo01 ~]# tail -f /opt/kazoo/log/error.log
2015-02-04 16:06:12.592 [error] <0.1592.0>@crossbar_maintenance:366 crashed creating account: error: {badmatch,{error,{[]}}}

As a side note i do NOT have node Kazoo02 installed yet so it is predictable that NOT to be able to connect to it.
Thanks in advance.

Darren Schreiber

unread,
Feb 4, 2015, 3:22:54 PM2/4/15
to 2600hz...@googlegroups.com

You stated you’re on v3.18-3?

 

Latest version is v3.18-54 …

 

http://repo.2600hz.com/Stable/CentOS_6/x86_64/R15B/Kazoo/kazoo-R15B-3.18-54.el6.x86_64.rpm

--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahmoud Ramadan

unread,
Feb 4, 2015, 3:59:15 PM2/4/15
to 2600hz...@googlegroups.com, dschr...@2600hz.com
Sorry James,
I was wrong...It was the UI version that is (v3.18-3) but by checking the version of Kazoo i'm using V3.18-54 also i'm running this on CentOS release 6.5  do you think that the issue can be solved by testing the installation on CentOS 6.4 instead ?
Best regards

[root@kazoo01 ~]# yum install -y kazoo-R15B kazoo-kamailio haproxy rsyslog
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.trueinter.net
 * extras: mirror.trueinter.net
 * updates: mirror.trueinter.net
Setting up Install Process
Package kazoo-R15B-3.18-54.el6.x86_64 already installed and latest version
Package kazoo-kamailio-4.0-56.el6.x86_64 already installed and latest version
Package haproxy-1.5.2-2.el6.x86_64 already installed and latest version
Package rsyslog-5.8.10-10.el6_6.x86_64 already installed and latest version
Nothing to do

Hummer

unread,
Feb 4, 2015, 5:21:40 PM2/4/15
to 2600hz...@googlegroups.com, dschr...@2600hz.com
I am having the same problem also. When l ran the " /opt/kazoo/utils/sup/sup whapps_maintenance refresh" command, l got the following:-

refreshing database (8/8) 'account/f7/42/a8afcac1b642c920b4d599863113'
    account f742a8afcac1b642c920b4d599863113 is missing its local account definition, and not in the accounts db
Command failed: {'EXIT',{{badmatch,{error,db_not_found}},[{couch_mgr,db_archive,1,[{file,"src/couch_mgr.erl"},{line,932}]},{whapps_maintenance,get_definition_from_accounts,2,[{file,"src/whapps_maintenance.erl"},{line,263}]},{whapps_maintenance,refresh_account_db,1,[{file,"src/whapps_maintenance.erl"},{line,236}]},{whapps_maintenance,refresh,3,[{file,"src/whapps_maintenance.erl"},{line,150}]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,203}]}]}}
[praten@sip01 ~]$ sudo /opt/kazoo/utils/sup/sup whapps_maintenance refresh
refreshing database (5/5) 'ratedeck'
refreshing database (4/5) 'sip_auth'
refreshing database (3/5) 'system_config'
refreshing database (2/5) 'system_media'
refreshing database (1/5) 'token_auth'

James Aimonetti

unread,
Feb 4, 2015, 6:15:05 PM2/4/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When using sup, I believe you should use 'blocking_refresh' instead;
otherwise the sup process exits and causes the refresh process to crash.

Try with 'blocking_refresh' and see if your experience is different
>>> *From:* 2600hz...@googlegroups.com
>>> [mailto:2600hz...@googlegroups.com] *On Behalf Of *Mahmoud
>>> Ramadan *Sent:* Wednesday, February 4, 2015 12:21 PM *To:*
>>> 2600hz...@googlegroups.com *Subject:* Re: Changing the Admin
>>> -- You received this message because you are subscribed to the
>>> Google Groups "2600hz-users" group. To unsubscribe from this
>>> group and stop receiving emails from it, send an email to
>>> 2600hz-users...@googlegroups.com. For more options, visit
>>> https://groups.google.com/d/optout.
>>>
>>
>

- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"

2600Hz | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJU0qf3AAoJENTKa+JPXCVgt1EH/RTOqTqV4vTdsRdgs4nBH0hF
THcJrct3nxedrn9ZSiL2kWXo1EcpuDtP9GpQv1adxTn+heaVS3AceqJSPQnESZzW
MaYq3/V1ps6l9cwD54BN/dCRWvXCT0dcGUv/Ra3xBvzGJ+ntL1nwG1fdyOjWyI8x
d7S4XEDhcTzqVSgPlwGYl14GVtur7+J0PItdLWF04d44kN/6k7gjFqPy/y/A/AxV
iN9yOc7EwC6iUxgmKYOA1m2cDRGry1fP2HCYS8nx60wy2+0hmDmfneG9UEWho10u
aNYnSunt584zGSdZHzfGTvOITUwmGvjVFNhFcPf2KK5em/hGh2jgm2zPqzS/ghM=
=9gqJ
-----END PGP SIGNATURE-----

Hummer

unread,
Feb 5, 2015, 3:09:25 AM2/5/15
to 2600hz...@googlegroups.com
Hi James,
I am sure if l ran the command correctly, but l still get the same error message with blocking_refresh, please see message below:-

[praten@sip01 ~]$ sudo /opt/kazoo/utils/sup/sup whapps_maintenance blocking_refresh
refreshing database (9/9) 'account/f7/42/a8afcac1b642c920b4d599863113'

    account f742a8afcac1b642c920b4d599863113 is missing its local account definition, and not in the accounts db
Command failed: {'EXIT',{{badmatch,{error,db_not_found}},[{couch_mgr,db_archive,1,[{file,"src/couch_mgr.erl"},{line,932}]},{whapps_maintenance,get_definition_from_accounts,2,[{file,"src/whapps_maintenance.erl"},{line,263}]},{whapps_maintenance,refresh_account_db,1,[{file,"src/whapps_maintenance.erl"},{line,236}]},{whapps_maintenance,refresh,3,[{file,"src/whapps_maintenance.erl"},{line,150}]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,203}]}]}}

Mahmoud Ramadan

unread,
Feb 5, 2015, 4:06:41 AM2/5/15
to 2600hz...@googlegroups.com
Me too still receiving the same error even when using 'blocking_refresh'

James Aimonetti

unread,
Feb 5, 2015, 12:18:07 PM2/5/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It may be easier to manually remove any "account/x/y/z" databases, as
well as the "accounts" and "services" databases, and run the
blocking_refresh command again. It will rebuild the appropriate
databases, and you can create your master account again.

I'm not sure how you managed to get a system with a database listed
that didn't have its account definition in the account database or the
accounts database, though.
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJU06XNAAoJENTKa+JPXCVgSnIH/i61V8p1l57OAB1i5sfYDKob
zh4IpiSulPNSpH1/wexQ15k+YQggGIG9IUrAjlIAngyR9mzGUXsGcdOta2Xfc/xf
0j0FuB/z0W7umWz+1AbO5kD7ZF5LMkXq7ZZrvbQ+B/SiAvDUA0U8OVA/BKOJzuLs
GYH9sFTWY2ht1Ezp+Iw/TO9C+/SL+ngsxhzmfuUiTalRklLy0YTG2QKDzBb8wsVQ
nPC/KbSLep/mDqcgR9LyCcODwoKL7+lJZz/C+Bg5AN1dRbZQQySLBaxTFPmRxNda
TQy2mdg5Ev39QRnHEuLaY2BcUQU0/zG2IOeSEwHUUpcFfdBgRA5An7q6gQjMCnE=
=3In5
-----END PGP SIGNATURE-----

Mahmoud Ramadan

unread,
Feb 5, 2015, 1:02:16 PM2/5/15
to 2600hz...@googlegroups.com
I deleted the databases manually and the "blocking_refresh" command gets executed without errors BUT i'm still receiving the same error when creating the admin account as you can see below.

[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account xyzccount sip.xyz.com xyzuser xyzpassword
created new account 'c3c98ced8255c5a528cf15e3f321fe2b' in db 'account%2Fc3%2Fc9%2F8ced8255c5a528cf15e3f321fe2b'

failed to validate user properties: '{}'
failed


[root@kazoo01 ~]# tail -f /opt/kazoo/log/error.log
2015-02-05 14:50:33.108 [error] <0.6371.0>@cb_users_v1:395 error {error,not_found} checking view <<"users/list_by_username">> in <<"account%2Fc3%2Fc9%2F8ced8255c5a528cf15e3f321fe2b">>
2015-02-05 14:50:33.108 [error] <0.6371.0>@cb_users_v1:379 username <<"xyzuser">> is already used
2015-02-05 14:50:33.116 [error] <0.6371.0>@crossbar_maintenance:366 crashed creating account: error: {badmatch,{error,{[]}}}



[root@kazoo01 ~]#  tail -f  /opt/kazoo/log/
2015-02-05 14:50:33.108 [error] <0.6371.0>@cb_users_v1:395 error {error,not_found} checking view <<"users/list_by_username">> in <<"account%2Fc3%2Fc9%2F8ced8255c5a528cf15e3f321fe2b">>
2015-02-05 14:50:33.108 [error] <0.6371.0>@cb_users_v1:379 username <<"xyzuser">> is already used
2015-02-05 14:50:33.116 [error] <0.6371.0>@crossbar_maintenance:366 crashed creating account: error: {badmatch,{error,{[]}}}
2015-02-05 14:50:33.120 [info] <0.1098.0>@wh_nodes:wh_nodes:355 VM sup_...@kazoo01.telecomworld.com is no longer connected:
2015-02-05 14:50:33.120 [info] <0.1098.0>@wh_nodes:wh_nodes:356  nodedown_reason: connection_closed
2015-02-05 14:50:33.120 [info] <0.1098.0>@wh_nodes:wh_nodes:356  node_type: visible

Hummer

unread,
Feb 5, 2015, 3:16:52 PM2/5/15
to 2600hz...@googlegroups.com
I have erased the bigcouch with yum and deleted the srv directory and completely reinstalled bigcouch-R15B. Then l ran the blocking_refresh command, but it still did not create the accounts database. See log below:-


[praten@sip01 ~]$ sudo /opt/kazoo/utils/sup/sup whapps_maintenance blocking_refresh
refreshing database (6/6) 'port_requests'
refreshing database (5/6) 'ratedeck'
refreshing database (4/6) 'sip_auth'
refreshing database (3/6) 'system_config'
refreshing database (2/6) 'token_auth'
refreshing database (1/6) 'webhooks'

Feb  5 19:57:00 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:57:01 sip01 2600hz[1450]: |wh_nodes|wh_nodes:362 (<0.1099.0>) VM sup_...@sip01.server.com is now connected:
Feb  5 19:57:01 sip01 2600hz[1450]: |wh_nodes|wh_nodes:363 (<0.1099.0>)  node_type: visible
Feb  5 19:57:03 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:57:06 sip01 2600hz[1450]: |bigc...@bcdb03.server.com|whapps_config:383 (<0.18957.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:57:10 sip01 2600hz[1450]: |compact_shard|whapps_config:383 (<0.18958.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:57:10 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:57:13 sip01 2600hz[1450]: |wh_nodes|wh_nodes:355 (<0.1099.0>) VM sup_...@sip01.server.com is no longer connected:
Feb  5 19:57:13 sip01 2600hz[1450]: |wh_nodes|wh_nodes:356 (<0.1099.0>)  nodedown_reason: connection_closed
Feb  5 19:57:13 sip01 2600hz[1450]: |wh_nodes|wh_nodes:356 (<0.1099.0>)  node_type: visible
Feb  5 19:58:10 sip01 2600hz[1450]: |00000000000|notify_account_crawler:146 (<0.1440.0>) unable to list all docs in accounts: not_found
Feb  5 19:58:19 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:58:25 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|whapps_config:383 (<0.1096.0>) unable to update whistle_couch system config doc: conflict
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_compactor_fsm:1527 (<0.1096.0>) failed to ping 'bigc...@bcdb03.server.com' using cookie 'mycookie'
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_compactor_fsm:1529 (<0.1096.0>) check that the configured bigcouch_cookie(mycookie) is correct
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_compactor_fsm:1532 (<0.1096.0>) 'sup whapps_config set_default bigcouch_cookie <cookie>' if needed
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_compactor_fsm:1488 (<0.1096.0>) getting connection information for bcdb03.server.com, 5984 and 5986
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_util:165 (<0.1096.0>) connected successfully to bcdb03.server.com:5984
Feb  5 19:59:25 sip01 2600hz[1450]: |couch_compactor_fsm|couch_util:165 (<0.1096.0>) connected successfully to bcdb03.server.com:5986

Hummer

unread,
Feb 5, 2015, 3:32:56 PM2/5/15
to 2600hz...@googlegroups.com
I ran the create account command then it created the account database, but there seem to be a lingering problem and the ui refuses to accept the credentials created. I can see the login credential in the accounts database via futon but cannot log in to the kazoo ui.

[praten@sip01 ~]$ sudo /opt/kazoo/utils/sup/sup crossbar_maintenance create_account <><><>
[sudo] password for praten:
created new account '87289568311e55bfd4d280bdea5da533' in db 'account%2F87%2F28%2F9568311e55bfd4d280bdea5da533'

failed to validate user properties: '{}'
failed

[1]+  Stopped                 sudo tail -f /var/log/2600hz/kazoo.log

[praten@sip01 ~]$ sudo /opt/kazoo/utils/sup/sup whapps_maintenance blocking_refresh
refreshing database (9/9) 'account/87/28/9568311e55bfd4d280bdea5da533'
could not load view listing_by_descendants_count: not_found
refreshing database (8/9) 'accounts'
refreshing database (7/9) 'port_requests'
refreshing database (6/9) 'ratedeck'
refreshing database (5/9) 'services'
refreshing database (4/9) 'sip_auth'
refreshing database (3/9) 'system_config'
refreshing database (2/9) 'system_media'
refreshing database (1/9) 'token_auth'

Mahmoud Ramadan

unread,
Feb 5, 2015, 4:41:02 PM2/5/15
to 2600hz...@googlegroups.com
Hi Hummer,
What release of CentOS you are using ? i'm afraid that it might be an issue with only CentOS release 6.5 because this is the version that i have installed Kazoo on so what about u ?

Hummer

unread,
Feb 6, 2015, 6:09:44 AM2/6/15
to 2600hz...@googlegroups.com
Mahmoud, l am using Centos 6.6 x86_64. And the full kazoo suite is version R15B. I don't think it is an OS problem. Somehow kazoo and bigcouch are not playing together properly. Because l can see an account created in the database, yet l cannot log into the UI.

Mahmoud Ramadan

unread,
Feb 6, 2015, 1:34:23 PM2/6/15
to 2600hz...@googlegroups.com

I tested the installation process on CentOS 6.4 and still receiving the same error.It is painful that i can NOT use Kazoo because of this error.I'm struggling to solve this issue for more than 3 weeks without success.I love Kazoo and what is offers so I hop the Kazoo developers pay intention to this issue and find a solution if it is a bug so i'm still waiting for someone to help !

James Aimonetti

unread,
Feb 6, 2015, 1:56:39 PM2/6/15
to 2600hz...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mahmoud,

I'm sorry you're having issues here. I've recently built a new machine
for developing with Kazoo and had no issues with creating the first or
subsequent accounts via the RPM installation instructions, using the
latest 3.18 RPMs.

All I can offer at this point is for you to wipe the machine clean and
re-follow the RPM instructions (or use the ISO's guided installer).
- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"

2600Hz | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJU1Q5kAAoJENTKa+JPXCVgA/kIAKj6uT1HCKJttq4NlNv2/F/p
UIap8fhGW20kVBTmSN2d8QtdsQUqip6J/+E/tBXXqxV+zHNC5w+IIs0pKE40NgJ2
7KTQU/bl1DiaFtp3HERk2LSRm3LXPb6WIw/Wb9Hx15UV6aTlXY5hSo1CiLzN8wll
xi7OSQIXk4XWbnnucnSEEs9dDOMoMvPWqQwSdPspVJTdulszJAurYUhuVaeJ+CJt
DC/UZrsIbzMhKq2F/xyYr6Wb3j1G5QbNenP/UQz8j0mpAtZ5+z9cUit5G5ctWzU5
TuNQS+Lled4/5fVYVX+WT9CKERJIomvzZ9FIAtNDiRL9Cfj9n4Vg58upKh7aF/Y=
=i2Re
-----END PGP SIGNATURE-----

Darren Schreiber

unread,
Feb 6, 2015, 2:18:59 PM2/6/15
to 2600hz...@googlegroups.com
I just tried this, too. I will see if I can find some software to video
this, but it is working. I am able to create my first account and login.

Mahmoud Ramadan

unread,
Feb 6, 2015, 3:18:48 PM2/6/15
to 2600hz...@googlegroups.com, dschr...@2600hz.com
It will be helpful if you recorded a video for the installation process and creating the Kazoo admin account maybe i' doing something wrong even thought i'm completely sure that i'm following the same exact steps in the Kazoo RPM cluster installation Doc.

Darren Schreiber

unread,
Feb 6, 2015, 3:20:22 PM2/6/15
to Mahmoud Ramadan, 2600hz...@googlegroups.com
Have you tried the ISO?

Mahmoud Ramadan

unread,
Feb 6, 2015, 3:24:32 PM2/6/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com
Does the ISO allow for redundancy and clustering ?! The Doc says that redundancy and clustering is NOT possible for ISO installations and i want to use more than one server in a clustering mode.

Darren Schreiber

unread,
Feb 6, 2015, 3:27:49 PM2/6/15
to Mahmoud Ramadan, 2600hz...@googlegroups.com
It can be used for that though it’s not really tested for that.

Why not at least start with a single server? You can always rebuild it once you’re more comfortable with it.

Mahmoud Ramadan

unread,
Feb 6, 2015, 3:32:52 PM2/6/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com
Ok Darren,
I will try the ISO installation and see if i can cluster it by adding more nodes, anyway thanks to all of you for the help.

Mahmoud Ramadan

unread,
Feb 13, 2015, 9:03:56 AM2/13/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com
Hi dears,
I'm getting this error when creating Kazoo admin account

[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount sip.telecomworld.com kazoouser kazoopassword
Connection to service failed!
Failed to connect to service 'whistl...@kazoo01.telecomworld.com' with cookie 'change_me'
  Possible fixes:
    * Ensure the whistle service you are trying to connect to is running on the host
    * Ensure that you are using the same cookie as the whistle node, "./sup -c <cookie>"
    * Verify that the hostname being used is a whistle node

I've verified the Erlang connection from the FS_CLI and get NO errors

freeswitch@internal> erlang status
Running mod_kazoo 1.4.7-11
Listening for new Erlang connections on 0.0.0.0:37972 with cookie change_me
Registered as Erlang node frees...@kazoo01.telecomworld.com, visible as freeswitch
Connected to:
  ecal...@kazoo01.telecomworld.com (192.168.1.100:37972) up 0 years, 0 days, 0 hours, 22 minutes, 53 seconds

and by reading the logs i get
2015-02-12 21:34:23 =ERROR REPORT====

** Connection attempt from disallowed node 'sup_...@kazoo01.telecomworld.com' **
2015-02-12 21:35:03 =ERROR REPORT====
Error in process <0.1100.0> on node 'whistl...@kazoo01.telecomworld.com' with exit value: {{badmatch,'$end_of_table'},[{wh_couch_connections,get_server,0,[{file,"src/wh_couch_connections.erl"},{line,132}]},{couch_mgr,open_doc,3,[{file,"src/couch_mgr.erl"},{line,576}]},{whapps_config,get_db_config,1,[{file,"src/wh...

Thanks in advance

Mahmoud Ramadan

unread,
Feb 13, 2015, 12:43:20 PM2/13/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com
I fixed the issue and figured what was wrong...please ignore the previous message...thanks 

On Friday, February 13, 2015 at 4:03:56 PM UTC+2, Mahmoud Ramadan wrote:
Hi dears,
I'm getting this error when creating Kazoo admin account

[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount sip.telecomworld.com kazoouser kazoopassword
Connection to service failed!
Failed to connect to service 'whistle_apps@kazoo01.telecomworld.com' with cookie 'change_me'

  Possible fixes:
    * Ensure the whistle service you are trying to connect to is running on the host
    * Ensure that you are using the same cookie as the whistle node, "./sup -c <cookie>"
    * Verify that the hostname being used is a whistle node

I've verified the Erlang connection from the FS_CLI and get NO errors

freeswitch@internal> erlang status
Running mod_kazoo 1.4.7-11
Listening for new Erlang connections on 0.0.0.0:37972 with cookie change_me
Registered as Erlang node freeswitch@kazoo01.telecomworld.com, visible as freeswitch

Connected to:
  ecal...@kazoo01.telecomworld.com (192.168.1.100:37972) up 0 years, 0 days, 0 hours, 22 minutes, 53 seconds

and by reading the logs i get
2015-02-12 21:34:23 =ERROR REPORT====
** Connection attempt from disallowed node 'sup_30187@kazoo01.telecomworld.com' **

2015-02-12 21:35:03 =ERROR REPORT====
Error in process <0.1100.0> on node 'whistle_apps@kazoo01.telecomworld.com' with exit value: {{badmatch,'$end_of_table'},[{wh_couch_connections,get_server,0,[{file,"src/wh_couch_connections.erl"},{line,132}]},{couch_mgr,open_doc,3,[{file,"src/couch_mgr.erl"},{line,576}]},{whapps_config,get_db_config,1,[{file,"src/wh...

Mahmoud Ramadan

unread,
Feb 14, 2015, 1:35:35 PM2/14/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com

Hi dears,

Ok i'm so happy and excited because i have successfully built my Kazoo cluster of two Kazoo nodes BUT i have some questions please:

1.I can see in the Apps store the "Cluster Manager" BUT when i enable it i did NOT see it in the Kazoo GUI so how to use it please?

2.I'm using the default Kazoo web interface and want to know what is the difference between the default Kazoo web interface and the " Kazoo Monster UI " ? and is there are any resources to the " Kazoo Monster UI " installation process ?
Thanks in advance

Darren Schreiber

unread,
Feb 14, 2015, 1:45:31 PM2/14/15
to Mahmoud Ramadan, 2600hz...@googlegroups.com
Hi Mahmoud,
Congrats on getting things moving!

1. Cluster Manager is still in the GUI for reference for us but is no longer a valid app. You can ignore it.

2. Monster GUI is still very much in beta and the install routine has been challenging to some. I’d advise to just use Kazoo UI for now.

Mahmoud Ramadan

unread,
Feb 14, 2015, 2:00:01 PM2/14/15
to 2600hz...@googlegroups.com, cisco.and...@gmail.com, dschr...@2600hz.com
Thanks Darren for your timely answer BUT i have another question please and it is how to login to the "User Portal" ? whenever i click on it...it does NOT pop up anything !


On Saturday, February 14, 2015 at 8:45:31 PM UTC+2, Darren Schreiber wrote:
Hi Mahmoud,
Congrats on getting things moving!

1. Cluster Manager is still in the GUI for reference for us but is no longer a valid app. You can ignore it.

2. Monster GUI is still very much in beta and the install routine has been challenging to some. I’d advise to just use Kazoo UI for now.

From: Mahmoud Ramadan <cisco.and...@gmail.com>
Date: Saturday, February 14, 2015 at 10:35 AM
To: "2600hz...@googlegroups.com" <2600hz...@googlegroups.com>
Cc: "cisco.and...@gmail.com" <cisco.and...@gmail.com>, 2600hz 2600hz <dschr...@2600hz.com>
Subject: Re: Changing the Admin Account Username and Password and Realm.


Hi dears,

Ok i'm so happy and excited because i have successfully built my Kazoo cluster of two Kazoo nodes BUT i have some questions please:

1.I can see in the Apps store the "Cluster Manager" BUT when i enable it i did NOT see it in the Kazoo GUI so how to use it please?

2.I'm using the default Kazoo web interface and want to know what is the difference between the default Kazoo web interface and the " Kazoo Monster UI " ? and is there are any resources to the " Kazoo Monster UI " installation process ?
Thanks in advance

On Friday, February 13, 2015 at 7:43:20 PM UTC+2, Mahmoud Ramadan wrote:
I fixed the issue and figured what was wrong...please ignore the previous message...thanks 

On Friday, February 13, 2015 at 4:03:56 PM UTC+2, Mahmoud Ramadan wrote:
Hi dears,
I'm getting this error when creating Kazoo admin account

[root@kazoo01 ~]# /opt/kazoo/utils/sup/sup crossbar_maintenance create_account kazooaccount sip.telecomworld.com kazoouser kazoopassword
Connection to service failed!
Failed to connect to service 'whistl...@kazoo01.telecomworld.com' with cookie 'change_me'

  Possible fixes:
    * Ensure the whistle service you are trying to connect to is running on the host
    * Ensure that you are using the same cookie as the whistle node, "./sup -c <cookie>"
    * Verify that the hostname being used is a whistle node

I've verified the Erlang connection from the FS_CLI and get NO errors

freeswitch@internal> erlang status
Running mod_kazoo 1.4.7-11
Listening for new Erlang connections on 0.0.0.0:37972 with cookie change_me
Registered as Erlang node free...@kazoo01.telecomworld.com, visible as freeswitch
Connected to:
  eca...@kazoo01.telecomworld.com (192.168.1.100:37972) up 0 years, 0 days, 0 hours, 22 minutes, 53 seconds


and by reading the logs i get
2015-02-12 21:34:23 =ERROR REPORT====
** Connection attempt from disallowed node 'sup_...@kazoo01.telecomworld.com' **

2015-02-12 21:35:03 =ERROR REPORT====
Error in process <0.1100.0> on node 'whistl...@kazoo01.telecomworld.com' with exit value: {{badmatch,'$end_of_table'},[{wh_couch_connections,get_server,0,[{file,"src/wh_couch_connections.erl"},{line,132}]},{couch_mgr,open_doc,3,[{file,"src/couch_mgr.erl"},{line,576}]},{whapps_config,get_db_config,1,[{file,"src/wh...

Darren Schreiber

unread,
Feb 14, 2015, 2:01:41 PM2/14/15
to 2600hz...@googlegroups.com
The User Portal must FIRST be enabled in the “Available Apps” tab on an account. Only AFTER that can you set a user to type “User”, which will enable the User Portal. A lot of people get tripped up here – the system won’t add the user portal to the user’s profile if the User Portal is not in the available apps section FIRST, before creating/saving the user.

Mahmoud Ramadan Ali

unread,
Feb 14, 2015, 2:40:51 PM2/14/15
to 2600hz...@googlegroups.com
Hi Darren,
I'm a little confused regarding to the difference between the Account in the "Accounts" section and User in the "Hosted PBX" section and wondering how the user will log to his portal if i only type a username and password when creating a new user while the Kazoo web UI requires a Kazoo account name besides the username and password !

You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/pBzq1y-1-IM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users...@googlegroups.com.

Darren Schreiber

unread,
Feb 14, 2015, 2:42:25 PM2/14/15
to 2600hz...@googlegroups.com
This is a multi-tenant system.

You should first create an account in Account Manager (and give it a name). Then click Use Account after creation. You’ll see the account name change on the top right. Now you’re “in” that account.

Then, in Hosted PBX, create your users. They can then login using the account name you assigned and the username & password you gave them.

Mahmoud Ramadan

unread,
Feb 14, 2015, 3:43:45 PM2/14/15
to 2600hz...@googlegroups.com, dschr...@2600hz.com
Ok thanks Darren now I've got the concept clearly and logged to my user portal...i think that the next step will be getting my self comfortable with Kazoo features by doing administrative stuff like configuring SIP users,trunks and call flows...anyway Kazoo is a great open source VOIP solution that i believe if i gets continues development it will compete with the commercial VOIP solutions...wish i can participate in this great project BUT i do NOT have the enough knowledge BUT i hop you do NOT mind to participate with suggestions and ideas only from the perspective of Kazoo admin.
To unsubscribe from this group and all its topics, send an email to 2600hz-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahmoud Ramadan

unread,
Feb 17, 2015, 12:15:26 PM2/17/15
to 2600hz...@googlegroups.com, dschr...@2600hz.com
Hi dears,
I spent some time with Kazoo features including SIP users and devices and configuring call flows as i said the last time after getting Kazoo working and it is going well BUT i have one issue and it is how to use the "Number Manager" in Kazoo ?! I noticed that whenever i click the "Add Credit" button or click " Billing " i get a "Please Wait... " fast splash screen BUT nothing opens !

Also I'm wondering how to add numbers to sell to Kazoo accounts because when ever i click "Buy Number" and enter the area code i get the "
There are no numbers available in the specified NPA" message.
Please can someone explain how to get those features working as predicted.

Luis Azedo

unread,
Feb 17, 2015, 12:31:28 PM2/17/15
to 2600hz...@googlegroups.com, dschreiber
Hi,

you should change the subject of the message to reflect what you're asking.
you may get more chances of reply.

Best

Reply all
Reply to author
Forward
0 new messages