I am very new at setting up YXA, and I've arrived at the point where I need to start incomingproxy.
My last commands were:
- sudo yxa-bootstrap -name [EMAIL PROTECTED]

It said the bootstrap was complete, and I go check and the directory var/yxa/db/[EMAIL PROTECTED] was created.

I then set my incomingproxy.config parameters as:
[{incomingproxy, [{sipauth_realm, "xen03.com "},
                  {sipauth_password, "testpassword"},
                  {logger_logbasename, "/var/log/yxa/incomingproxy"},
                  {userdb_modules, [sipuserdb_file]},
                  {databaseservers, ['/var/yxa/db/yxa@ xen03.com']},
                  {myhostnames, ["[EMAIL PROTECTED]"]},
                  {homedomain, ["xen03.com "]}
                ]}].


When I run the command
- sudo ./incomingproxy -name [EMAIL PROTECTED] -d

It sends the ff error message:
Supervisor error:
{error_report,<0.60.0>,
              {<0.60.0>,
               crash_report,
               [[{pid,<0.60.0>},
                 {registered_name,[]},
                 {error_info,"invalid return value from sipserver:start(normal,[incomingproxy]) -> 'Could not establish a connection to any of the configured databaseservers'"},
                 {initial_call,{application_master,
                                   init,
                                   [<0.5.0>,
                                    <0.59.0>,
                                    {appl_data,
                                        incomingproxy,
                                        [sipserver_sup,
                                         yxa_config,
                                         logger,
                                         ldap_client,
                                         tcp_dispatcher,
                                         sipsocket_udp,
                                         transactionlayer],
                                        undefined,
                                        {sipserver,[incomingproxy]},
                                        [incomingproxy],
                                        [],
                                        infinity,
                                        infinity},
                                    normal]}},
                 {ancestors,[<0.59.0>]},
                 {messages,[{'EXIT',< 0.61.0>,normal}]},
                 {links,[<0.59.0>,<0.5.0>]},
                 {dictionary,[]},
                 {trap_exit,true},
                 {status,running},
                 {heap_size,610},
                 {stack_size,21},
                 {reductions,79}],
                []]}}
Last five successfully started subsystems (oldest last) :
[]

If I try incomingproxy without the -name, the error becomes "Can't set long node name."
Incomingproxy should be the one to start the mnesia database, right? Did I miss something, or had a wrong configuration? Thanks in advance.
_______________________________________________
Yxa-devel mailing list
Yxa-devel@lists.su.se
https://lists.su.se/mailman/listinfo/yxa-devel

Reply via email to