[jadmin] Loosing MUC rooms

Thorsten Kleindienst thorsten.kleindienst at switch.ch
Mon Nov 13 12:22:35 CST 2006


On Nov 13, 2006, at 10:54 AM, Gregoire Menuel wrote:

> Thorsten Kleindienst wrote:
>> Hello list,
>>
>> I succeeded in installing jabberd2 with muc-conference as a  
>> jabberd-1.4
>> component.
>> All works well, but rooms are lost after a restart of the jabberd2
>> server even if they
>> are defined as "persistent". I didn't find a corresponding option  
>> in the
>> configuration files.
>> Has somoene an idea?
>> Thanks for any help.
>
> Does the <spool> dir defined in the configuration exist ? Does  
> files are
> created there when you create a new persistent room ? Have you  
> tried to
> set the <loglevel> to 255, and look in the log if there is anything
> helpful ?
Thanks to your helpful advices, I could solve the problem.
The following configuration section was missing in jabber-muc.xml
in which a spool directory and logging parameters are defined:

...
    <log id="muclog">
        <file>/var/log/jabber/muc/muc.log</file>
        <host/>
        <logtype/>
        <format>%d: [%t] (%h): %s</format>
    </log>

    <xdb id="xdb">
        <host>conference.jabber.mydomain.com</host>
        <load>
            <xdb_file>/usr/lib/jabber/xdb_file/xdb_file.so</xdb_file>
        </load>
        <xdb_file xmlns="jabber:config:xdb_file">
            <spool>/var/log/jabber/spool</spool>
        </xdb_file>
    </xdb>
...

and after

$ mkdir /var/log/jabber/muc var/log/jabber/spool
$ chown jabber /var/log/jabber/muc var/log/jabber/spool

all is fine now.

Besides,  I didn't find any <loglevel> tag, maybe because
I do not use the jcr component.

--
Thorsten Kleindienst




>
> -- 
> Grégoire Menuel
> JID : omega at im.apinc.org
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________




More information about the JAdmin mailing list