ejabberd - Comments for "mod_muc_odbc error at startup"
https://www.ejabberd.im/node/15407
en
-
I don't have all the domains
https://www.ejabberd.im/node/15407#comment-61772
<p>I don't have all the domains in DNS, but even if i change config to:</p>
<div class="codeblock"><code> {mod_muc_odbc, [<br /> {host, "conference.jabber.<domain>.com"},<br /> {access, muc},<br /> {access_create, muc},<br /> {access_persistent, muc},<br /> {access_admin, muc_admin}<br /> ]},</code></div>
<p>for which i have a dns record:</p>
<div class="codeblock"><code># dig conference.jabber.<domain>.com
<p>; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> conference.jabber.<domain>.com<br />;; global options: +cmd<br />;; Got answer:<br />;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37211<br />;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1</p>
<p>;; QUESTION SECTION:<br />;conference.jabber.<domain>.com. IN A</p>
<p>;; ANSWER SECTION:<br />conference.jabber.<domain>.com. 259200 IN A XXX.YYY.0.163</p>
<p>;; AUTHORITY SECTION:<br />jabber.<domain>.com. 259200 IN NS ns1.jabber.<domain>.com.</p>
<p>;; ADDITIONAL SECTION:<br />ns1.jabber.<domain>.com. 259200 IN A XXX.YYY.0.165</p>
<p>;; Query time: 1 msec<br />;; SERVER: XXX.YYY.0.165#53(XXX.YYY.0.165)<br />;; WHEN: Thu Nov 7 09:38:28 2013<br />;; MSG SIZE rcvd: 93</p></code></div>
<p>i still get the error:</p>
<div class="codeblock"><code>=ERROR REPORT==== 2013-11-07 09:34:52 ===<br />E(<0.2354.0>:mod_muc_odbc:537) : {badarg,<br /> [{erlang,phash,[{1383,813292,555596},0],[]},<br /> {ejabberd_odbc_sup,get_random_pid,1,<br /> [{file,"ejabberd_odbc_sup.erl"},<br /> {line,108}]},<br /> {ejabberd_odbc,sql_call,2,<br /> [{file,"ejabberd_odbc.erl"},{line,124}]},<br /> {mod_muc_odbc,load_permanent_rooms,5,<br /> [{file,"mod_muc_odbc.erl"},{line,533}]},<br /> {mod_muc_odbc,init,1,<br /> [{file,"mod_muc_odbc.erl"},{line,207}]},<br /> {gen_server,init_it,6,<br /> [{file,"gen_server.erl"},{line,304}]},<br /> {proc_lib,init_p_do_apply,3,<br /> [{file,"proc_lib.erl"},{line,239}]}]}</code></div>
<p>And if i comment out the mod_muc_odbc i get no error.</p>
Thu, 07 Nov 2013 08:44:26 +0000
marvin
comment 61772 at https://www.ejabberd.im
-
Have you insert in dns A
https://www.ejabberd.im/node/15407#comment-61761
<p>Have you insert in dns A value, refered to "conference"?</p>
<p>Try to turn off mod_muc_odbc</p>
<p>%% {mod_muc_odbc, [<br />
%% {host, "conference.@HOST@"},<br />
%% {access, muc},<br />
%% {access_create, muc},<br />
%% {access_persistent, muc},<br />
%% {access_admin, muc_admin}<br />
%% ]},</p>
Wed, 06 Nov 2013 16:31:34 +0000
weloc
comment 61761 at https://www.ejabberd.im