[jadmin] Looking for jabberd14 documentation

Matthias Wimmer m at tthias.eu
Tue Feb 13 05:50:49 CST 2007


Hi Jörg!

Joerg Hartmann schrieb:
> But if i try to connect to the jabber-server with gaim i have no success.
> I have two error in the logfile:
> [alert] (xdbsql.mercateo): you have to configure which driver xdb_sql
> should use

jabberd14 did not find if it should use the MySQL or the PostgreSQL 
driver to access you database server.

The option for this setting should be present in the default 
configuration file:

   <xdb id="xdbsql.localhost">
     <host/>
     <load>
       <xdb_sql>@libdir@/libjabberdxdbsql.so</xdb_sql>
     </load>
     <xdb_sql xmlns="jabber:config:xdb_sql">
       <!-- change the following to <driver>postgresql</driver>          -->
       <!-- if you are using PostreSQL.                                  -->
       <driver>mysql</driver>
       <mysql>
         <!-- set your MySQL server credentials here.                    -->
         <user>jabber</user>
         <password>secret</password>
         <host>localhost</host>
         <database>jabber</database>
       </mysql>
       <postgresql>
         <!-- if you are using PostreSQL, set your credentials here.     -->
         <conninfo>user=jabber password=secret</conninfo>
       </postgresql>

So the default is set to use MySQL and you have to change it if you want 
to use PostgreSQL. - If you want to use PostgreSQL you even want to 
check the updated version of the PostgreSQL configuration at 
http://svn.jabberd.org/trunk/jabberd14/xdb_postgresql.xml

> and (inject.mercateo): could not open directory
> for reading

This is an informational notice. This directory can be used to inject 
"stanzas" (messages, presences and such) to the server. But it does not 
need to be present if you do not want to use it. The location of the 
directory is configured in the inject.mercateo service which has the 
following default configuration:

   <!-- The following service is used for easy integration of jabberd14  -->
   <!-- into other applications. Other applications can send messages by -->
   <!-- just putting stanzas as XML files with the .stanza file name     -->
   <!-- extension into the directory                                     -->
   <!-- @localstatedir@/spool/jabberd/inject.localhost.  -->
   <!--                                                                  -->
   <!-- Make sure that the directory and the files you place there are   -->
   <!-- readable and writeable by the user executing jabberd14.          -->
   <service id="inject.localhost">
     <dir>
       <!-- *.stanza files in this directory are read and processed by   -->
       <!-- jabberd14                                                    -->
       <in>@localstatedir@/spool/jabberd/inject.localhost</in>

       <!-- *.out files are placed to this directory of stanzas are      -->
       <!-- addressed to an address on the domain 'inject.localhost'     -->
       <!-- (you can change this domain with the id attribute of the     -->
       <!-- service element, or define additional domains by adding      -->
       <!-- <host/> elements to the service).                            -->
       <!--                                                              -->
       <!-- This is disabled by default. Uncomment to enable this        -->
       <!-- feature.                                                     -->
       <!--
       <out>@localstatedir@/spool/jabberd/inject.localhost</out>
       -->
     </dir>
   </service>

> Could someone please give me a pointer to more informations to get this
> running?

Many information on how to configure the server should be available 
right in the configuration file of jabberd14.


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/



More information about the JAdmin mailing list