Exception starting OpenACD

22 views
Skip to first unread message

Marcin Gozdalik

unread,
Mar 15, 2012, 11:59:21 AM3/15/12
to ope...@googlegroups.com
Hi

After successfuly starting OpenACD and Web UI on Debian Squeeze (using Erlang from squeeze-backports, see my previous mail in the group) I have trouble starting OpenACD the second time.
I have recompiled my FreeSWITCH with erlang_event support, set up cookies as per Getting Started (https://github.com/OpenACD/OpenACD/wiki/Getting-Started) and wanted to try integrating OpenACD with FreeSWITCH. Unfortunately I am unable to start OpenACD now. It fails with the following exception:

root@lab-app-1:/opt/openacd# ./bin/openacd console
Exec: /opt/openacd/erts-5.9/bin/erlexec -boot /opt/openacd/releases/1/openacd -embedded -config /opt/openacd/etc/app.config -args_file /opt/openacd/etc/vm.args -- console
Root: /opt/openacd
Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:5] [kernel-poll:true]

Start args []
All env: [{logfiles,[{"full.log",debug},{"console.log",info}]},
          {console_loglevel,info},
          {plugin_dir,"plugin.d"},
          {included_applications,[]}]
cpx_supervisor:build tables result:  copied
Loglevel is info
16:56:03.362905 [INFO] <0.99.0>@cpx_monitor:334 elected by undefined
cpxlog_error_logger_redirect terminated with reason {stop,shutdown}
{"Kernel pid terminated",application_controller,"{application_start_failure,'OpenACD',{{badmatch,{error,{{{badmatch,{aborted,{no_exists,call_queue}}},[{call_queue_config,get_queues,0,[{file,[115,114,99,47,99,97,108,108,95,113,117,101,117,101,95,99,111,110,102,105,103,46,101,114,108]},{line,427}]},{queue_manager,init,1,[{file,[115,114,99,47,113,117,101,117,101,95,109,97,110,97,103,101,114,46,101,114,108]},{line,214}]},{gen_leader,init_it,6,[{file,[115,114,99,47,103,101,110,95,108,101,97,100,101,114,46,101,114,108]},{line,407}]},{proc_lib,init_p_do_apply,3,[{file,[112,114,111,99,95,108,105,98,46,101,114,108]},{line,227}]}]},{child,undefined,queue_manager,{queue_manager,start_link,[['ope...@moberia.com']]},permanent,20000,worker,[cpx_supervisor]}}}},{cpx,start,[normal,[]]}}}"}

What am I doing wrong?

Best regards

--
Marcin Gozdalik

Micah

unread,
Mar 19, 2012, 3:34:04 PM3/19/12
to OpenACD
I'm not entirely sure. I've tried using a clean checkout and doing a
boot using a release, and devboot, as well as a modified devboot to do
an embedded run. All start properly.

If you do a clone directly from the github repository does it work?
(Note the compile step may need to be run twice due to a build bug I'm
working on).

Micah
> terminated",application_controller,"{application_start_failure,'OpenACD',{{ badmatch,{error,{{{badmatch,{aborted,{no_exists,call_queue}}},[{call_queue_ config,get_queues,0,[{file,[115,114,99,47,99,97,108,108,95,113,117,101,117, 101,95,99,111,110,102,105,103,46,101,114,108]},{line,427}]},{queue_manager, init,1,[{file,[115,114,99,47,113,117,101,117,101,95,109,97,110,97,103,101,1 14,46,101,114,108]},{line,214}]},{gen_leader,init_it,6,[{file,[115,114,99,4 7,103,101,110,95,108,101,97,100,101,114,46,101,114,108]},{line,407}]},{proc _lib,init_p_do_apply,3,[{file,[112,114,111,99,95,108,105,98,46,101,114,108] },{line,227}]}]},{child,undefined,queue_manager,{queue_manager,start_link,[ ['
> open...@moberia.com

Marcin Gozdalik

unread,
Mar 20, 2012, 4:38:27 AM3/20/12
to ope...@googlegroups.com
I actually found the probem but forgot to post it on the mailing list.

When changing -name (or -sname) in vm.args it is necessary to change -mnesia dir appropriately. Otherwise you get an exception like I posted.

2012/3/19 Micah <null...@gmail.com>



--
Marcin Gozdalik
Reply all
Reply to author
Forward
0 new messages