День добрый!
Настраиваю ejabberd. Запустил с родной базой - все отлично работает. Начал прикручивать вместо родной - postgres и тут возникли траблы. Вот ejabberd.log при старте джаббера: ________________________________________________________
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.253.0>:ejabberd_odbc:226) : pgsql connection failed:
** Reason: {init,{error,econnrefused}}
** Retry after: 30 seconds
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.255.0>:ejabberd_odbc:226) : pgsql connection failed:
** Reason: {init,{error,econnrefused}}
** Retry after: 30 seconds
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.257.0>:ejabberd_odbc:226) : pgsql connection failed:
** Reason: {init,{error,econnrefused}}
** Retry after: 30 seconds
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.38.0>:cyrsasl_digest:44) : FQDN used to check DIGEST-MD5 SASL authentication: "feanor"
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.329.0>:ejabberd_listener:166) : Reusing listening port for 5222
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.330.0>:ejabberd_listener:166) : Reusing listening port for 5223
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.331.0>:ejabberd_listener:166) : Reusing listening port for 5269
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.332.0>:ejabberd_listener:166) : Reusing listening port for 5280
=INFO REPORT==== 2015-08-20 13:00:25 ===
I(<0.38.0>:ejabberd_app:72) : ejabberd 2.1.11 is started in the node 'ejabberd@feanor'
=INFO REPORT==== 2015-08-20 13:00:55 ===
I(<0.253.0>:ejabberd_odbc:226) : pgsql connection failed:
** Reason: {init,{error,econnrefused}}
** Retry after: 30 seconds
По модулям - прописано следующее:
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % recommends mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_disco, []},
{mod_irc, [{access, all}, {default_encoding, "UTF-8"}]},
{mod_http_bind, []},
{mod_last_odbc, []},
{mod_muc, [
{access, muc},
{access_create, muc_create},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},
{mod_offline_odbc, [{access_max_user_messages, max_user_offline_messages}]},
{mod_privacy_odbc, []},
{mod_private_odbc, []},
{mod_ping, []},
{mod_pubsub, [
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
]},
{mod_register, [
{welcome_message, {"Welcome!",
"Hi\nWelcome to this Jabber server."}},
{ip_access, [{allow, "127.0.0.0/8"},
{deny, "0.0.0.0/0"}]},
{access, register}
]},
{mod_roster_odbc, []},
{mod_shared_roster,[]},
{mod_stats, []},
{mod_time, []},
{mod_vcard_odbc, []},
{mod_version, []}
]}.
В эрланге не силен. Буду благодарен за советы)