Thanks! I've passed that obstacle, but I've stumbled upon another oddity, though.  This is part of the output of the bootstrap command.

* Creating tables on this Mnesia node (' [EMAIL PROTECTED]')
  + Creating table 'phone'
  + Creating table 'database_regexproute'
  + Creating table 'database_forward'
  + Creating table 'database_call'
  + Creating table 'cpl_db'
* Updating any pre-existing table definitions
* Stopping Mnesia

=INFO REPORT==== 9-Oct-2006::15:26:01 ===
    application: mnesia
    exited: stopped
    type: temporary

Bootstrapping complete.


When I start incomingproxy again, this error appears:

2006-10-09 16:00:02.871 error<0.61.0>:Startup problem: Mnesia table 'user' does not exist - did you bootstrap Yxa? (see README file)

I checked the database directory, and see the file user.DCD among them, so it couldn't have been missing. Should I use a custom bootstrap configuration file?
Thanks again.

On 10/9/06, Fredrik Thulin <[EMAIL PROTECTED]> wrote:
Jeff Carreon <[EMAIL PROTECTED]> wrote:
>> 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'"},
...
>> 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.

Hi

The incomingproxy node is normally the database server. When you
bootstrap using another name than [EMAIL PROTECTED] you need
to start an Erlang node with that name yourself, in order to have a
database node for your incomingproxy to connect to.

The "Can't set long node name." error message probably refers to some
problem Erlang is having figuring out your hostname. It might be that
your hostname is not fully qualified, and is not present in DNS or your
/etc/hosts file. If you remove the /var/yxa/db/yxa@xen03.com directory,
and bootstrap again with -name ' [EMAIL PROTECTED]' I think
things will work much better - that way you will automatically get a
database node when you start your incomingproxy node.

/Fredrik




--
But trust is the sound of the grave-dog's bark.
Trust is the sound of betrayal in the dark.
Trust is the sound of a soul's last breath.
Trust is the sound of death.
_______________________________________________
Yxa-devel mailing list
Yxa-devel@lists.su.se
https://lists.su.se/mailman/listinfo/yxa-devel

Reply via email to