[jadmin] Cannot run MU-conference with Jabberd2

Alexander Semyonov bohtvaroh at gmail.com
Wed Aug 23 04:27:15 CDT 2006


Hi! I have jabberd2 up and running. I really liked it after ejabberd
crashes. I followed steps at
http://jabberd.jabberstudio.org/2/docs/section05.html section "5.9.
Using JCR to Connect to Jabberd 2 Components". But when I start
mu-conference (sudo -u jabber /usr/local/bin/mu-conference
-c /etc/jabberd2/muc-conf.xml -s) I have such errors:

Jabber Component Runtime -- 0.2.4
(c) 2003-2004 Paul Curtis

main.c:148 (main): Jabber Component Runtime -- 0.2.4  starting.
main.c:194 (main): Main loop starting.
jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream
connected.
jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.
jcr_elements.c:177 (jcr_read_data): Main Channel Error: rc=2
jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error,
resetting
jcr_deliver.c:97 (jcr_queue_deliver): packet delivery thread exiting.
jcr_deliver.c:98 (jcr_queue_deliver):   Last DvryQ Buffer=''
jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream
connected.
jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.
jcr_elements.c:177 (jcr_read_data): Main Channel Error: rc=2
jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error,
resetting
jcr_deliver.c:97 (jcr_queue_deliver): packet delivery thread exiting.
jcr_deliver.c:98 (jcr_queue_deliver):   Last DvryQ Buffer=''
Segmentation fault

My /etc/jabberd2/muc-conf.xml:

<jcr>
  <id>conference</id>
  <name>linker</name>
  <host>jabber.myhost.com</host>
  <ip>192.168.2.240</ip>
  <port>5347</port>
  <secret>mypasswd</secret>

  <spool>/etc/jabberd2/</spool>
  <logdir>/var/log/jabber</logdir>
  <pidfile>./muc-jabber.pid</pidfile>
  <recv-buffer>32768</recv-buffer>
  <send-buffer>32768</send-buffer>

  <conference xmlns="jabber:config:conference">
    <public/>
    <vCard>
      <FN>Public Chatrooms</FN>
      <DESC>This service is for public chatrooms.</DESC>
      <URL>http://jabber.terrapin.com/</URL>
    </vCard>
    <history>40</history>
    <logdir>/var/log/jabber</logdir>
    <loglevel>255</loglevel>
    <sadmin>pcurtis at www.terrapin.com</sadmin>
    <notice>
      <join>has joined</join>
      <leave>has left</leave>
      <rename>is now known as</rename>
    </notice>
  </conference>
</jcr>

My /etc/jabberd2/router.xml:

<router>
  <id>router</id>
  <pidfile>/var/run/jabber/router.pid</pidfile>
  <log type='file'>
    <file>/var/log/jabber/router.log</file>
  </log>

  <!-- Local network configuration -->
  <local>
    <ip>192.168.2.240</ip>
    <port>5347</port>
    <users>/etc/jabberd2/router-users.xml</users>
    <secret>mypasswd</secret>
  </local>

  <check>
    <interval>60</interval>
     <keepalive>0</keepalive>
  </check>

  <io>
    <max_fds>1024</max_fds>
    <limits>
      <bytes>0</bytes>
      <connects>0</connects>
    </limits>

    <access>
      <order>allow,deny</order>
    </access>
  </io>

  <aliases>
    <alias name='conference.jabber.myhost.com' target='linker'/>
  </aliases>

  <aci>
    <acl type='all'>
      <user>jabberd</user>
    </acl>
  </aci>

</router>

All files in /etc/jabberd2 and /var/log/jabber are owned by
jabber:jabber. Thanx for your advice.




More information about the JAdmin mailing list