We are trying to connect ejabberd 1.1.3_1 to SQL Server 2005 through an ODBC connection, but it fails. I have no idea why. Here's the crash report.
=CRASH REPORT==== 6-Apr-2007::13:07:04 ===
crasher:
pid: <0.225.0>
registered_name: []
error_info: {undef,[{repos,binpath,[odbc]},
{odbc,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}
initial_call: {gen,init_it,
[gen_server,
<0.223.0>,
<0.223.0>,
odbc,
[{client,<0.218.0>}],
[]]}
ancestors: [odbc_sup,<0.222.0>]
messages: []
links: [#Port<0.262>,<0.223.0>,#Port<0.261>]
dictionary: []
trap_exit: true
status: running
heap_size: 233
stack_size: 21
reductions: 416
neighbours:
=CRASH REPORT==== 6-Apr-2007::13:07:34 ===
crasher:
pid: <0.218.0>
registered_name: []
error_info: odbc_connection_failed
initial_call: {gen,init_it,
[gen_server,
<0.217.0>,
<0.217.0>,
ejabberd_odbc,
["win2k3server.tometasoft.com"],
[]]}
ancestors: ['ejabberd_odbc_sup_win2k3server.tometasoft.com',
ejabberd_sup,
<0.35.0>]
messages: []
links: [<0.217.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 21
reductions: 2181
neighbours:
=SUPERVISOR REPORT==== 6-Apr-2007::13:07:34 ===
Supervisor: {local,
'ejabberd_odbc_sup_win2k3server.tometasoft.com'}
Context: start_error
Reason: odbc_connection_failed
Offender: [{pid,undefined},
{name,1},
{mfa,{ejabberd_odbc,start_link,
["win2k3server.tometasoft.com"]}},
{restart_type,transient},
{shutdown,brutal_kill},
{child_type,worker}]
MSSQL ODBC Connection Failing
I have a similar configuration and I am getting the same crash report. Were you able to resolve this?