В ejabberd.cfg прописал:
{auth_method, odbc}.
{pgsql, "pegas", "ejabberd", "user", "pwd"}.
при запуске пишет:
Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false]
Eshell V5.5.2 (abort with ^G)
(ejabberd@pegas)1>
=INFO REPORT==== 2-Sep-2007::21:15:30 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',{{case_clause,
{pgsql,
"pegas",
"ejabberd",
"user",
"pwd"}},
[{ejabberd_config,process_term,2},
{ejabberd_config,load_file,1},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
type: temporary