Kazoo Manual Deployment - wiki documentation

1,318 views
Skip to first unread message

ayodej...@gmail.com

unread,
Jul 19, 2013, 12:18:57 AM7/19/13
to 2600h...@googlegroups.com
Has anyone been able to successfully build the Kazoo platform following the manual deployment steps documented in https://2600hz.atlassian.net/wiki/display/docs/Manually? Which OS did you use? CentOS, Ubuntu or Debian...
I have followed these steps using Debian Squeeze but have had no success...Getting different error messages.
Please advise..

Joan Jou

unread,
Jul 19, 2013, 4:38:06 AM7/19/13
to 2600h...@googlegroups.com, ayodej...@gmail.com
I've tried several times, with these instructions times but I've never worked.
I have also proven with the chef but always leaves some error.
Any help will be welcome.

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

Darren Schreiber

unread,
Jul 19, 2013, 6:29:24 AM7/19/13
to 2600h...@googlegroups.com
Can you try CentOS? We really don't test the Debian instructions often, maybe I should take them down…

--
Darren Schreiber
CEO / Co-Founder


 visit: www.2600hz.com
 tel: 415-886-7901



From: Joan Jou <jo...@megatro.com>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Friday, July 19, 2013 4:38 AM
To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Cc: "ayodej...@gmail.com" <ayodej...@gmail.com>
Subject: Re: Kazoo Manual Deployment - wiki documentation

I'vetried several times,with these instructions times but I've never worked.
I havealso proven with the chefbut always leaves some error.
Any help will bewelcome.

Al 19/07/2013 06:18, En/na ayodej...@gmail.com ha escrit:
signatura1.gif

Stephen Gibberd

unread,
Jul 20, 2013, 4:29:05 AM7/20/13
to 2600h...@googlegroups.com
Hi,

I've installed it on debian (unstable and testing) manually (ie without chef).
There were some issues with the latest version of spidermonkey, and building
some of the dependancies (bigcouch). If you contact me off list with the error
messages, I might be able to help.

Stephen
On Fri, Jul 19, 2013 at 10:29:24AM +0000, Darren Schreiber wrote:
> Can you try CentOS? We really don't test the Debian instructions often, maybe I should take them down…
>
> --
> [cid:F24C33F9-1A90-4647-BE78-BC1E37248238]
> Darren Schreiber
> CEO / Co-Founder
>
>
> visit: www.2600hz.com<http://www.2600hz.com/>
> sip:dar...@2600hz.com<mailto:dar...@2600hz.com>
> tel: 415-886-7901
>
>
>
> From: Joan Jou <jo...@megatro.com<mailto:jo...@megatro.com>>
> Reply-To: "2600h...@googlegroups.com<mailto:2600h...@googlegroups.com>" <2600h...@googlegroups.com<mailto:2600h...@googlegroups.com>>
> Date: Friday, July 19, 2013 4:38 AM
> To: "2600h...@googlegroups.com<mailto:2600h...@googlegroups.com>" <2600h...@googlegroups.com<mailto:2600h...@googlegroups.com>>
> Cc: "ayodej...@gmail.com<mailto:ayodej...@gmail.com>" <ayodej...@gmail.com<mailto:ayodej...@gmail.com>>
> Subject: Re: Kazoo Manual Deployment - wiki documentation
>
> I'vetried several times,with these instructions times but I've never worked.
> I havealso proven with the chefbut always leaves some error.
> Any help will bewelcome.
>
> [cid:part1.00020...@megatro.com]

Raj Saini

unread,
Jul 19, 2013, 3:55:44 AM7/19/13
to 2600h...@googlegroups.com, ayodej...@gmail.com
I have been able to build and install the Kazoo on Ubuntu 13.04. My
deployment is on a single machine and all components but Kazoo were
installed Ubuntu way that means, I have used either the packaged
provided by a distribution or created my own deb files. Instructions on
Wiki are not enough as there are many pieces missing and there are other
pitfalls like Erlang version.

I would love to update the Wiki if I can get access to it or if there is
other way to contribute to documentation.

Thanks,

Raj

Darren Schreiber

unread,
Jul 20, 2013, 7:07:25 AM7/20/13
to 2600h...@googlegroups.com
Raj,
There are a number of people who would be thrilled, I imagine, to have
those instructions updated. Please feel free. I have enabled edit access
for your user, thank you for offering to help!!! We really do appreciate
it.

--
Darren Schreiber
CEO / Co-Founder










Joan Jou

unread,
Jul 20, 2013, 9:46:03 AM7/20/13
to 2600h...@googlegroups.com, 2600h...@googlegroups.com
Hi Raj,
Please, make me know when your instructions wil be updated to test it.

Enviat des del iPhone

El 20/07/2013, a les 13:07, Darren Schreiber <dar...@2600hz.com> va escriure:

Raj Saini

unread,
Aug 1, 2013, 10:50:40 AM8/1/13
to 2600h...@googlegroups.com, Joan Jou
Hello,

I have have been testing the Kazoo and other dependencies installation
on Ubuntu. I could replicate it on multiple machines and I am almost
ready to update the Wiki early next week. If someone have immediate
questions, please let me know. I am not IRC now, but I can be available
if needed.

Thanks,

Raj

On Saturday 20 July 2013 07:16 PM, Joan Jou wrote:
> Hi Raj,
> Please, make me know when your instructions wil be updated to test it.
>
> Enviat des del iPhone
>
> El 20/07/2013, a les 13:07, Darren Schreiber <dar...@2600hz.com> va escriure:
>> Raj,
>> There are a number of people who would be thrilled, I imagine, to have
>> t t.

r.roe...@ictinc.nl

unread,
Aug 6, 2013, 2:06:53 PM8/6/13
to 2600h...@googlegroups.com
Hi there,

Has the wiki already been updated? I've just tried installing through chefsolo on centos 6, without any luck. If anyone can provide me with detailed instructions for any OS I'd be more than happy.

Cheers,

Ronald.

Darren Schreiber

unread,
Aug 6, 2013, 2:25:13 PM8/6/13
to 2600h...@googlegroups.com
Need a few more days here and then we'll post the official v3 install
instructions, which are likely to be much simplified.

If you can standby please we'd appreciate it. We're all at ClueCon this
week.

Raj Saini

unread,
Aug 6, 2013, 2:24:23 PM8/6/13
to 2600h...@googlegroups.com, r.roe...@ictinc.nl
Hi Ronald,

Sorry, I could not update the Wiki yet. However, I have tested and
deployed Kazoo + FreeSWITCH on multiple Ubuntu Machine and I 100%
working instruction manual. I will update Wiki before weekend.

Thanks,

Raj

Raj Saini

unread,
Aug 10, 2013, 3:14:38 AM8/10/13
to 2600h...@googlegroups.com
Hello,

I have updated the Wiki with latest instructions and also provided few
scripts to automate the process. Although, I have used these
instructions on multiple server, I may have missed few points or there
may be typos. Please report any errors you find and I will update the Wiki.

Thanks,

Raj
On Saturday 20 July 2013 07:16 PM, Joan Jou wrote:

James Aimonetti

unread,
Aug 10, 2013, 10:36:44 AM8/10/13
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Raj,

Thanks so much for the updates. I've been meaning to do a fresh
install myself; will use your instructions and let you know if
something is missing as well.

James
- --
James Aimonetti
Distributed Systems Engineer / DJ MC_

2600hz | http://2600hz.com
sip:ja...@2600hz.com
tel: 415.886.7905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlIGT/wACgkQ54NxaUq7OmBgZAD/c0MKVGP6saGpcdzMJYm+GAcO
fOQvD7LH6dPWKLgfXQABALh0BV5UDtO+lbdmUsZ+cVF6cSgbiWvE/621gLHuX/Hu
=QCxo
-----END PGP SIGNATURE-----

bpga...@gmail.com

unread,
Aug 15, 2013, 12:56:17 AM8/15/13
to 2600h...@googlegroups.com
Hi Raj,

I ran into dependency issues after building and install the freeswitch packages:

The following packages have unmet dependencies:
 freeswitch-meta-codecs : Depends: freeswitch-mod-amrwb (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-celt (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-codec2 (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-isac (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-mp4v (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-opus (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-silk (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                          Depends: freeswitch-mod-theora (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
 freeswitch-meta-default : Depends: freeswitch-mod-db (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-fifo (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-hash (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-voicemail (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-lua (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
 freeswitch-meta-vanilla : Depends: freeswitch-mod-enum (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-cdr-csv (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-db (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-fifo (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-hash (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-voicemail (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-cluechoo (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-valet-parking (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-httapi (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-dialplan-asterisk (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
                           Depends: freeswitch-mod-lua (= 1.2.11~n20130815T125310Z-1~precise+1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Raj Saini

unread,
Aug 16, 2013, 12:41:21 AM8/16/13
to 2600h...@googlegroups.com
Hi,

Did you use the modules.conf from my git repository? If you are using on modules.conf, you will have to enable other modules as they may have dependencies. Enabling modules in the Debian based builds is different than other builds. Please go through FreeSWITCH wiki for more details.

Thanks,

Raj

bpga...@gmail.com

unread,
Aug 19, 2013, 12:18:34 AM8/19/13
to 2600h...@googlegroups.com
I was following this guide, using Ubuntu 12.04 LTS:
https://2600hz.atlassian.net/wiki/display/docs/Manually+installing+on+Ubuntu

In particular, the part that says to use your modules.conf file from your repo. Confusingly it states "This file has all the requisite modules and you can copy this file instead of creating your own.", is that wrong?

Cheers and thanks for helping out!

pawl...@gmail.com

unread,
Aug 24, 2013, 1:31:54 PM8/24/13
to 2600h...@googlegroups.com
Hi Raj,

I have followed your wiki post, thanks a lot for the instructions, conf files and scripts! 

Everything seemed to have gone well, however I can't for the life of me login using Kazoo UI or authenticate through the 'user_auth' endpoint on the API. I keep getting { ... "message":"invalid credentials","error":"401" ...}  from the API so I'm assuming that something in the setup scripts or the "crossbar_maintenance create_account" script must be missing or buggy... When I turn on debug logging in Erlang and run dev-start-apps.sh I see the following error: [ debug ] failed to find account DB from realm <the.realm.used.to.create.the.account>"

Can you or anyone here please point me in the right direction? I made sure that 'credentials' and 'realm' fields that I supply to the endpoint are correct by copy pasting it from Futon. Any idea what I might be missing?

Thanks in advance!

A.

Raj Saini

unread,
Aug 26, 2013, 12:32:00 AM8/26/13
to 2600h...@googlegroups.com, pawl...@gmail.com
Hi,

Can you check if Kazoo is connected to CouchDB? I can think of that either Kazoo is not able to connect to CouchDB or database is not created may be due to file system permissions. Make sure your database folder (/var/lib/bigcouch if you have followed the wiki) is owned by couchdb user. Also, check in /opt/bigcouch/etc/vm.args that -name is set to bigcouch@your host ip. It has to be -name and not -sname.

Thanks,

Raj

pawl...@gmail.com

unread,
Aug 27, 2013, 1:39:40 AM8/27/13
to 2600h...@googlegroups.com, pawl...@gmail.com
Hi Raj,

thanks for your help, I had a typo in my vm.args in the -name field... needless to say that crossbar_maintenance create_account was not properly creating the account, but because this is my first install and since the output wasn't helpful... I didn't clue in on that. All seems to work now!

Thanks again, you have saved me a huge amount of trouble! 

Cheers!

A.

Darren Schreiber

unread,
Aug 27, 2013, 3:42:39 AM8/27/13
to 2600h...@googlegroups.com, pawl...@gmail.com
These nitty gritty details are crucial to the project's success.

Please file a ticket as a bug or improvement stating that the output of crossbar_maintenance create_account was not useful when the vm.args –name field was invalid.



Cc: "pawl...@gmail.com" <pawl...@gmail.com>
Subject: Re: Kazoo Manual Deployment - wiki documentation

Darren Schreiber

unread,
Aug 27, 2013, 6:30:30 AM8/27/13
to Raj Saini, 2600h...@googlegroups.com, pawl...@gmail.com
Right but making it not error out without a clear error should go into the ticket system (not the wiki) so it can be fixed. Or did I miss this in the ticket system?

From: Raj Saini <rajs...@gmail.com>
Date: Tuesday, August 27, 2013 11:42 AM
To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Cc: Darren Schreiber <dar...@2600hz.com>, "pawl...@gmail.com" <pawl...@gmail.com>
Subject: Re: Kazoo Manual Deployment - wiki documentation

This is already documented on the Wiki page.

Raj

Raj Saini

unread,
Aug 27, 2013, 5:42:14 AM8/27/13
to 2600h...@googlegroups.com, Darren Schreiber, pawl...@gmail.com
This is already documented on the Wiki page.

Raj

On Tuesday 27 August 2013 01:12 PM, Darren Schreiber wrote:
These nitty gritty details are crucial to the project's success.

Please file a ticket as a bug or improvement stating that the output of crossbar_maintenance create_account was not useful when the vm.args �name field was invalid.



From: "pawl...@gmail.com" <pawl...@gmail.com>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Tuesday, August 27, 2013 7:39 AM
To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Cc: "pawl...@gmail.com" <pawl...@gmail.com>
Subject: Re: Kazoo Manual Deployment - wiki documentation

Hi Raj,

thanks for your help, I had a typo in my vm.args�in the -name�field... needless to say that crossbar_maintenance create_account�was not properly creating the account, but because this is my first install and since the output wasn't helpful...�I didn't clue in on that. All seems to work now!

Thanks again, you have saved me a huge amount of trouble!�

Cheers!

A.

On Monday, August 26, 2013 12:32:00 AM UTC-4, Raj Saini wrote:
Hi,

Can you check if Kazoo is connected to CouchDB? I can think of that either Kazoo is not able to connect to CouchDB or database is not created may be due to file system permissions. Make sure your database folder (/var/lib/bigcouch if you have followed the wiki) is owned by couchdb user. Also, check in /opt/bigcouch/etc/vm.args that -name is set to bigcouch@your host ip. It has to be -name and not -sname.

Thanks,

Raj

On Saturday 24 August 2013 11:01 PM, pawl...@gmail.com wrote:
Hi Raj,

I have followed your wiki post, thanks a lot for the instructions, conf files and scripts!�

Everything seemed to have gone well, however I can't for the life of me login using Kazoo UI or authenticate through the 'user_auth' endpoint on the API. I keep getting { ... "message":"invalid credentials","error":"401" ...} �from the API so I'm assuming that something in the setup scripts or the "crossbar_maintenance create_account" script must be missing or buggy... When I turn on debug logging in Erlang and run dev-start-apps.sh I see the following error: [ debug ] failed to find account DB from realm <the.realm.used.to.create.the.account>"

Can you or anyone here please point me in the right direction? I made sure that 'credentials' and 'realm' fields that I supply to the endpoint are correct by copy pasting it from Futon. Any idea what I might be missing?

Thanks in advance!

A.

On Saturday, August 10, 2013 3:14:38 AM UTC-4, Raj Saini wrote:
Hello,

I have updated the Wiki with latest instructions and also provided few
scripts to automate the process. Although, I have used these
instructions on multiple server, I may have missed few points �or there
may be typos. Please report any errors you find and I will update the Wiki.

Thanks,

Raj
On Saturday 20 July 2013 07:16 PM, Joan Jou wrote:
> Hi Raj,
> Please, make me know when your instructions wil be updated to test it.
>
> Enviat des del iPhone
>
> El 20/07/2013, a les 13:07, Darren Schreiber <dar...@2600hz.com> va escriure:
>> Raj,
>> � � There are a number of people who would be thrilled, I imagine, to have
>> those instructions updated. Please feel free. I have enabled edit access
>> for your user, thank you for offering to help!!! We really do appreciate
>> it.
>>
>> --
>> Darren Schreiber
>> CEO / Co-Founder
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 7/19/13 3:55 AM, "Raj Saini" <rajs...@gmail.com> wrote:
>>
>>> I have been able to build and install the Kazoo on Ubuntu 13.04. My
>>> deployment is on a single machine and all �components but Kazoo were

pawl...@gmail.com

unread,
Aug 30, 2013, 5:17:43 AM8/30/13
to 2600h...@googlegroups.com, Darren Schreiber, pawl...@gmail.com
Hi there,

Continuing to work on my Ubuntu install I noticed that Freeswitch doesn't allow clients to register even though Kazoo is working fine now. The client keeps reporting: SIP/2.0 503 Service Unavailable.

Digging a bit deeper on the FS side of things, I noticed the following being reported:

[WARNING] sofia_reg.c:2488 Can't find user [user_8ojsee@<ip.of.server>] from <ip.of.client>
You must define a domain called '<ip.of.server>' in your directory and add a user with the id="user_8ojsee" attribute and you must configure your device to use the proper domain in it's authentication credentials.

It seems that there's a domain issue in the freeswitch setup. I'm not too clear on how that's supposed to handled by kazoo... Can anyone please suggest possible causes for this? 

If it helps, having double checked the freeswitch install process I noticed the following: 

Execution of install-freeswitch ends with:

Error opening file for reading: Permission denied
Errors were encountered while processing:
 freeswitch
 freeswitch_1.2.11~n20130830T004352Z-1~precise+1_amd64.changes
 freeswitch-music-default_1.0.8-2_amd64.changes
 freeswitch-music-default_1.0.8-2.debian.tar.xz
 freeswitch-music-default_1.0.8-2.dsc
 freeswitch-music-default_1.0.8.orig.tar.xz
 freeswitch-sounds
 freeswitch-sounds-en-us-callie_1.0.24-1_amd64.changes
 freeswitch-sounds-en-us-callie_1.0.24-1.debian.tar.xz
 freeswitch-sounds-en-us-callie_1.0.24-1.dsc
 freeswitch-sounds-en-us-callie_1.0.24.orig.tar.xz
 freeswitch-meta-codecs
 freeswitch-meta-default
 freeswitch-meta-vanilla

When freeswitch starts after several seconds it outputs: Error opening file for reading: Permission denied

I have double and triple checked permissions of the folders listed in the Ubuntu install guide...

Any ideas?

Thanks a lot in advance!

A.

James Aimonetti

unread,
Aug 30, 2013, 11:47:48 AM8/30/13
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Are you routing through OpenSIPS or Kamailio? Or do your phones
register directly to FreeSWITCH? Either way, having the IP address in
the log lines you posted is generally a sign that you've set up the
phone improperly.

Typically you would put the SIP realm (foo.sip.com) in your phone's
config, and, if foo.sip.com doesn't point to your load
balancers/FreeSWITCH, you would set the outbound proxy to their IP
address.

Lots of instructions for various model phones can be found on the wiki:

https://2600hz.atlassian.net/wiki/display/docs/Manual+Provisioning

See if that helps. If not, create a pastie with the SIP registration
attempt from FreeSWITCH; we'll see if we can spot an issue there.

James

On 08/30/2013 02:17 AM, pawl...@gmail.com wrote:
> Hi there,
>
> Continuing to work on my Ubuntu install I noticed that Freeswitch
> doesn't allow clients to register even though Kazoo is working fine
> now. The client keeps reporting: *SIP/2.0 503 Service
> Unavailable.*
>> the vm.args �name field was invalid.
>>
>> http://tickets.2600hz.com/
>>
>>
>> From: "pawl...@gmail.com <javascript:>" <pawl...@gmail.com
>> <javascript:>
>>>
>> Reply-To: "2600h...@googlegroups.com <javascript:>" <
>> 2600h...@googlegroups.com <javascript:>> Date: Tuesday, August
>> 27, 2013 7:39 AM To: "2600h...@googlegroups.com <javascript:>"
>> <2600h...@googlegroups.com<javascript:>
>>>
>> Cc: "pawl...@gmail.com <javascript:>" <pawl...@gmail.com
>> <javascript:>> Subject: Re: Kazoo Manual Deployment - wiki
>> documentation
>>
>> Hi Raj,
>>
>> thanks for your help, I had a typo in my vm.args�in the
>> -name�field... needless to say that crossbar_maintenance
>> create_account�was not properly creating the account, but
>> because this is my first install and since the output wasn't
>> helpful...�I didn't clue in on that. All seems to work now!
>>
>> Thanks again, you have saved me a huge amount of trouble!�
>>
>> Cheers!
>>
>> A.
>>
>> On Monday, August 26, 2013 12:32:00 AM UTC-4, Raj Saini wrote:
>>>
>>> Hi,
>>>
>>> Can you check if Kazoo is connected to CouchDB? I can think of
>>> that either Kazoo is not able to connect to CouchDB or database
>>> is not created may be due to file system permissions. Make sure
>>> your database folder (/var/lib/bigcouch if you have followed
>>> the wiki) is owned by couchdb user. Also, check in
>>> /opt/bigcouch/etc/vm.args that -name is set to bigcouch@your
>>> host ip. It has to be -name and not -sname.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> On Saturday 24 August 2013 11:01 PM, pawl...@gmail.com wrote:
>>>
>>> Hi Raj,
>>>
>>> I have followed your wiki post, thanks a lot for the
>>> instructions, conf files and scripts!�
>>>
>>> Everything seemed to have gone well, however I can't for the
>>> life of me login using Kazoo UI or authenticate through the
>>> 'user_auth' endpoint on the API. I keep getting { ...
>>> "message":"invalid credentials","error":"401" ...} �from the
>>> API so I'm assuming that something in the setup scripts or the
>>> "crossbar_maintenance create_account" script must be missing or
>>> buggy... When I turn on debug logging in Erlang and run
>>> dev-start-apps.sh I see the following error: [ debug ] failed
>>> to find account DB from realm
>>> <the.realm.used.to.create.the.account>"
>>>
>>> Can you or anyone here please point me in the right direction?
>>> I made sure that 'credentials' and 'realm' fields that I supply
>>> to the endpoint are correct by copy pasting it from Futon. Any
>>> idea what I might be missing?
>>>
>>> Thanks in advance!
>>>
>>> A.
>>>
>>> On Saturday, August 10, 2013 3:14:38 AM UTC-4, Raj Saini wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I have updated the Wiki with latest instructions and also
>>>> provided few scripts to automate the process. Although, I
>>>> have used these instructions on multiple server, I may have
>>>> missed few points �or there may be typos. Please report any
>>>> errors you find and I will update the Wiki.
>>>>
>>>> Thanks,
>>>>
>>>> Raj On Saturday 20 July 2013 07:16 PM, Joan Jou wrote:
>>>>> Hi Raj, Please, make me know when your instructions wil be
>>>>> updated to test it.
>>>>>
>>>>> Enviat des del iPhone
>>>>>
>>>>> El 20/07/2013, a les 13:07, Darren Schreiber
>>>>> <dar...@2600hz.com> va
>>>> escriure:
>>>>>> Raj, � � There are a number of people who would be
>>>>>> thrilled, I
>>>> imagine, to have
>>>>>> those instructions updated. Please feel free. I have
>>>>>> enabled edit
>>>> access
>>>>>> for your user, thank you for offering to help!!! We
>>>>>> really do
>>>> appreciate
>>>>>> it.
>>>>>>
>>>>>> -- Darren Schreiber CEO / Co-Founder
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 7/19/13 3:55 AM, "Raj Saini" <rajs...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I have been able to build and install the Kazoo on
>>>>>>> Ubuntu 13.04. My deployment is on a single machine and
>>>>>>> all �components but Kazoo
>> 2600hz-dev+...@googlegroups.com <javascript:>. For more options,
>> visit https://groups.google.com/groups/opt_out. -- You received
>> this message because you are subscribed to the Google Groups
>> "2600hz-dev" group. To unsubscribe from this group and stop
>> receiving emails from it, send an email to
>> 2600hz-dev+...@googlegroups.com <javascript:>. For more options,
>> visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>


- --
James Aimonetti
Lead Systems Architect
"I thought I fixed that"
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlIgvqMACgkQ54NxaUq7OmCF3gEAsi8u5v6AMX0J5gxr4HcrXx1c
ayuVfzZgEbq0lx8pElEA/3pPEWXPmyVqWFtVZ4WEPX32hflLsUn2YN6+7+2bsDvc
=FX8v
-----END PGP SIGNATURE-----

pawl...@gmail.com

unread,
Sep 3, 2013, 4:01:28 PM9/3/13
to 2600h...@googlegroups.com, ja...@2600hz.com
Hi James,

sorry for the delay in getting back... Unfortunately, there's no issue with the phone setup (in this case a soft-phone client: Linphone). I set the username and realm as required. There has to be some other issue causing this. 

As requested here's the pastie of the SIP registration attempt: http://gist.github.com/pawlakaj/6428703

In it you'll find references to [[realm.of.server]][[ip.of.server]] and [[ip.of.client]] which represent the appropriate fields as populated in Kazoo. Please let me know what else you can think of as a potential source of the problem.

Raj, out of curiosity, have you ever seen this kind of issue before?

Thanks for all the help so far!

A.
>> the vm.args �name field was invalid.
>>
>> http://tickets.2600hz.com/
>>
>>
>> From: "pawl...@gmail.com <javascript:>" <pawl...@gmail.com
>> <javascript:>
>>>
>> Reply-To: "2600h...@googlegroups.com <javascript:>" <
>> 2600h...@googlegroups.com <javascript:>> Date: Tuesday, August
>> 27, 2013 7:39 AM To: "2600h...@googlegroups.com <javascript:>"
>> <2600h...@googlegroups.com<javascript:>
>>>
>> Cc: "pawl...@gmail.com <javascript:>" <pawl...@gmail.com
>> <javascript:>> Subject: Re: Kazoo Manual Deployment - wiki
>> documentation
>>
>> Hi Raj,
>>
>> thanks for your help, I had a typo in my vm.args�in the
>> -name�field... needless to say that crossbar_maintenance
>> create_account�was not properly creating the account, but
>> because this is my first install and since the output wasn't
>> helpful...�I didn't clue in on that. All seems to work now!
>>
>> Thanks again, you have saved me a huge amount of trouble!�
>>
>> Cheers!
>>
>> A.
>>
>> On Monday, August 26, 2013 12:32:00 AM UTC-4, Raj Saini wrote:
>>>
>>> Hi,
>>>
>>> Can you check if Kazoo is connected to CouchDB? I can think of
>>> that either Kazoo is not able to connect to CouchDB or database
>>> is not created may be due to file system permissions. Make sure
>>> your database folder (/var/lib/bigcouch if you have followed
>>> the wiki) is owned by couchdb user. Also, check in
>>> /opt/bigcouch/etc/vm.args that -name is set to bigcouch@your
>>> host ip. It has to be -name and not -sname.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> On Saturday 24 August 2013 11:01 PM, pawl...@gmail.com wrote:
>>>
>>> Hi Raj,
>>>
>>> I have followed your wiki post, thanks a lot for the
>>> instructions, conf files and scripts!�
>>>
>>> Everything seemed to have gone well, however I can't for the
>>> life of me login using Kazoo UI or authenticate through the
>>> 'user_auth' endpoint on the API. I keep getting { ...
>>> "message":"invalid credentials","error":"401" ...} �from the
>>> API so I'm assuming that something in the setup scripts or the
>>> "crossbar_maintenance create_account" script must be missing or
>>> buggy... When I turn on debug logging in Erlang and run
>>> dev-start-apps.sh I see the following error: [ debug ] failed
>>> to find account DB from realm
>>> <the.realm.used.to.create.the.account>"
>>>
>>> Can you or anyone here please point me in the right direction?
>>> I made sure that 'credentials' and 'realm' fields that I supply
>>> to the endpoint are correct by copy pasting it from Futon. Any
>>> idea what I might be missing?
>>>
>>> Thanks in advance!
>>>
>>> A.
>>>
>>> On Saturday, August 10, 2013 3:14:38 AM UTC-4, Raj Saini wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I have updated the Wiki with latest instructions and also
>>>> provided few scripts to automate the process. Although, I
>>>> have used these instructions on multiple server, I may have
>>>> missed few points �or there may be typos. Please report any
>>>> errors you find and I will update the Wiki.
>>>>
>>>> Thanks,
>>>>
>>>> Raj On Saturday 20 July 2013 07:16 PM, Joan Jou wrote:
>>>>> Hi Raj, Please, make me know when your instructions wil be
>>>>> updated to test it.
>>>>>
>>>>> Enviat des del iPhone
>>>>>
>>>>> El 20/07/2013, a les 13:07, Darren Schreiber
>>>>> <dar...@2600hz.com> va
>>>> escriure:
>>>>>> Raj, � � There are a number of people who would be
>>>>>> thrilled, I
>>>> imagine, to have
>>>>>> those instructions updated. Please feel free. I have
>>>>>> enabled edit
>>>> access
>>>>>> for your user, thank you for offering to help!!! We
>>>>>> really do
>>>> appreciate
>>>>>> it.
>>>>>>
>>>>>> -- Darren Schreiber CEO / Co-Founder
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 7/19/13 3:55 AM, "Raj Saini" <rajs...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I have been able to build and install the Kazoo on
>>>>>>> Ubuntu 13.04. My deployment is on a single machine and
>>>>>>> all �components but Kazoo

Luis Azedo

unread,
Sep 3, 2013, 4:31:09 PM9/3/13
to 2600h...@googlegroups.com, ja...@2600hz.com
Hi,

i have no issues with linphone (android/ios) with kazoo.
did you set outbound proxy (server and check use) ?

Luis Azedo


Rajbir Saini

unread,
Sep 3, 2013, 10:38:41 PM9/3/13
to 2600h...@googlegroups.com

I never had such problem and I am running multiple deployments.

Can you paste your Kazoo and FS logs.

Raj

pawl...@gmail.com

unread,
Sep 5, 2013, 8:25:48 PM9/5/13
to 2600h...@googlegroups.com
Thanks Luis, Raj and James,

your answers made me revisit my config. As it turned out my modules.conf.xml did not contain mod_kazoo. It was the only file affected for some reason.. something must have gone wrong when I was switching back and forth between a stand alone FS install and the Kazoo one...

Again, thanks a lot for your help!

All's running well now and Kazoo's a charm to work with.

Cheers!

A.

Ayodeji Oseni

unread,
Sep 23, 2013, 8:11:16 AM9/23/13
to 2600h...@googlegroups.com
Hi Guys,

I need a little bit of help here.
I'm trying to install Kazoo using the instructions documented in https://2600hz.atlassian.net/wiki/display/docs/Manually+installing+on+Ubuntu.
So far, I have managed to install Kazoo, however, when I run ./dev-start-apps.sh, I get the following error messages.

21:54:09.283 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15984: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:09.283 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15986: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:10.285 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15984: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:10.286 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15986: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:11.291 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15986: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:11.291 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15984: {case_clause,{error,{conn_failed,{error,econnrefused}}}}
21:54:12.293 [info] failed to connect to BigCouch/HAProxy at 192.168.140.226:15984: {case_clause,{error,{conn_failed,{error,econnrefused}}}}

What could be the problem here? What can I do to resolve it.

Regards,
Ayo

James Aimonetti

unread,
Sep 23, 2013, 10:06:10 AM9/23/13
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Ayo,

> failed to connect to BigCouch/HAProxy at 192.168.140.226:1598

Is HAProxy running, and is it configured to listen on ports 15984 and
15986? Is 192.168.140.226 the correct IP address of HAProxy?

Ah, I've just looked at the wiki page; it seems the steps for
installing HAProxy don't exist.

There are some CentOS instructions here:
https://2600hz.atlassian.net/wiki/display/docs/Step+3+-+Install+BigCouch

You can adapt those to Debian/Ubuntu. The Ubuntu installation
instructions were a community contribution (yay!), so hopefully the
author(s) see this and can update the page. Feel free to submit your
own tweaks for installing HAProxy as well.

Thanks,

James
- --
James Aimonetti
Lead Systems Architect
"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.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlJAStIACgkQ54NxaUq7OmCO2AD/Zl7oFjod27Q10ucciIc9rlWl
tHDOGDJDaWXXa2VcjW8A/2fYdWM+PSKAPJ7jdnWrG+D/37/zWt4zMB5MFA/Xx1Bg
=9Xjo
-----END PGP SIGNATURE-----

Raj Saini

unread,
Sep 23, 2013, 10:02:33 AM9/23/13
to 2600h...@googlegroups.com
This means BigCouch is not listening on port 15984 and 15986. If you have followed the Ubuntu Wiki guide, BigCouch ports are 5984 and 5986. You will need to modify the /etc/kazoo/config.ini with the correct port numbers.

Thanks,

Raj

Raj Saini

unread,
Sep 23, 2013, 10:18:56 AM9/23/13
to 2600h...@googlegroups.com
Hi James,

Ubuntu installation instructions are for a single sysem install and
HAProxy is not required for that. Default BigCouch ports are 5984 and
5986. /etc/kazoo/config.ini needs to be modified to use the correct page
and every thing should work properly.

Thanks,

Raj
Reply all
Reply to author
Forward
Message has been deleted
0 new messages