ejabberd - Comments for "ejabberd 2.0.1 (solved: mod_*_odbc) and (unsolved: roster status updates)" https://www.ejabberd.im/node/3579 en Are you using the original https://www.ejabberd.im/node/3579#comment-54522 <p>Are you using the original configuration, or you changed anything in it? Try with the default config, or at least show here what lines you have added/changed/removed.</p> Mon, 03 Aug 2009 10:39:35 +0000 mfoss comment 54522 at https://www.ejabberd.im It's client-independent https://www.ejabberd.im/node/3579#comment-54509 <p>It behaves the same on Pidgin, Psi, and other random clients.</p> <p>I created test accounts; when I add them to each others' rosters, authorization requests are not received on either account. This tells us the next-to-root cause at least.</p> <p>The following appears in the logs after every auth request:</p> <div class="codeblock"><code>D(&lt;0.348.0&gt;:ejabberd_c2s:1352) : Send XML on stream = &quot;&lt;iq from=&#039;test1@[redacted]&#039; to=&#039;test1@[redacted]/476843264124990176606330&#039; type=&#039;error&#039; id=&#039;purple61be4e8b&#039;&gt;&lt;ping xmlns=&#039;urn:xmpp:ping&#039;/&gt;&lt;error code=&#039;503&#039; type=&#039;cancel&#039;&gt;&lt;service-unavailable xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;/&gt;&lt;/error&gt;&lt;/iq&gt;&quot;</code></div> Sat, 01 Aug 2009 02:04:25 +0000 drakedevel comment 54509 at https://www.ejabberd.im Some ideas to try https://www.ejabberd.im/node/3579#comment-54505 <p>If you just replaced in ejabberd.cfg mod_roster by mod_roster_odbc, then roster/subscriptions/presence should work correctly using ODBC (in your case MySQL) storage.</p> <p>Try with other Jabber clients (well known are Psi, Gajim, Tkabber or Jabbim).</p> <p>Try also creating two more accounts: test1 and test2. Login to each one with a different client. Add between them as contacts, then login to both, and let's see if presence is displayed correctly.</p> Thu, 30 Jul 2009 08:00:09 +0000 mfoss comment 54505 at https://www.ejabberd.im MySQL Problem Fixed https://www.ejabberd.im/node/3579#comment-54504 <p>It was from Debian. I installed the relevant odbc packages, and built the mysql module from SVN. MySQL works grand now.</p> <p>Presence is still messed up. My roster appears fine, even with MySQL, but every contact gets re-marked "Not Authorized" every time I re-login. I do not get any status information on them at all unless they change status at some point (i.e. to away) (but when they do change their status, I do see it. It goes away when I log out/in again though).</p> <p>Is there a module responsible for this that I can peek at?</p> <p>Thanks!</p> Thu, 30 Jul 2009 02:19:37 +0000 drakedevel comment 54504 at https://www.ejabberd.im 2. remember to do: ./configure --enable-odbc https://www.ejabberd.im/node/3579#comment-54482 <p>1. No idea of your problem. Presence should work as usual.</p> <p>2. If you compiled ejabberd from source code, remember to do: ./configure --enable-odbc<br /> Also, if you installed ejabberd from source code or from some OS package (like Debian, Ubuntu), remember to also install the mysql erlang library. You will find some links in the ejabberd Guide.</p> Wed, 22 Jul 2009 19:21:57 +0000 mfoss comment 54482 at https://www.ejabberd.im