MUC 0.8.0 and Subdomains
James Wilson <[email protected]> Sun, 15 May 2011 12:26:57 +1000
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Message-ID | <[email protected]> |
--===============0025314870==
Content-type: multipart/alternative;
boundary="Boundary_(ID_AGeOORjXYzDTDMA2pbgwoQ)"
--Boundary_(ID_AGeOORjXYzDTDMA2pbgwoQ)
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Hi guys,
Please find below 1x MUC config file and 1x Jabberd2 Configuration snippet and a copy of the log of starting jabberd2.
-- muc.xml: --
<jcr>
<!--
This is a config file for a copy of MU-Conference, compiled against
the Jabber Component Runtime (JCR). This is the same file that I use
to connect to my development server, running jabberd2 beta2
In order to connect to a jabberd v1.4 server, simply change the
<name> value to muclinker, and make sure the muclinker section is in
your main jabber.xml file, as per the MU-Conference README file.
-->
<name>conf.im.mysite.id.au</name> <!-- the jid of your component -->
<host>conf.im.mysite.id.au</host> <!-- this should be the same as above -->
<ip>localhost</ip> <!-- adress of the jabber server -->
<port>5347</port> <!-- port used to connect the service to the jabber server -->
<secret>secret</secret> <!-- secret shared with the jabber server -->
<spool>/usr/local/jabberd-2.2.13/var/spool/conf.im.mysite.id.au/</spool> <!-- directory containing the rooms data -->
<logdir>/usr/local/jabberd-2.2.13/log/</logdir> <!-- directory containing the debug log (the file is called mu-conference.log) -->
<pidfile>/usr/local/jabberd-2.2.13/var/run/mu-conference.pid</pidfile> <!-- file that will contain the PID of the
process -->
<!-- <logstderr/> --> <!-- uncomment to also send log to stderr -->
<loglevel>255</loglevel> <!-- log verbosity, 255 for very verbose, 0 for quiet -->
<conference xmlns="jabber:config:conference">
<public/> <!-- rooms are public when created, comment to make them private by default -->
<!-- the vCard section contains the vCard of the service -->
<vCard>
<FN>timeimps jabber server</FN>
<DESC>For those who respect others.</DESC>
<URL>http://foo.bar/</URL>
</vCard>
<history>40</history> <!-- maximum numbers of history lines send when joining a room -->
<logdir>/usr/local/jabberd-2.2.13/log/</logdir> <!-- where to store the room logs, comment to disable logging -->
<logsubdirs/> <!-- uncomment to stores the room logs in subdirs (for example 2007/08/02) -->
<!--<stylesheet>../style.css</stylesheet>--> <!--URL of the log stylesheet -->
<!-- default text to send to legacy clients, will also be used in the logs -->
<notice>
<join>has become available</join>
<leave>has left</leave>
<rename>is now known as</rename>
</notice>
<!-- lists of admins of the service, add a <user/> tag by admin -->
<sadmin>
<user>[email protected]</user>
</sadmin>
<dynamic/><!-- when uncommented, only dynamic rooms can be created -->
<persistent/><!-- persistent rooms will be created, overide <dynamic/> -->
<!-- <locknicks/> --> <!-- enforce the user nickname to the user part of his jid -->
<roomlock/><!-- uncomment to allow only admins to create rooms -->
<!-- <hideempty/> --> <!-- uncomment to hide rooms with no participants -->
<!-- configuration of MySQL, only used if the MySQL exports is activated, see README.sql -->
<!--<mysql>
<user>root</user>
<pass/>
<database>chat</database>
<host>localhost</host>
</mysql>-->
</conference>
</jcr>
-- end muc.xml --
-- jabberd.cfg --
#
# jabberd config file
#
#
# This file tells the jabberd wrapper what programs to launch,
# and the config files to launch them with. If the config file
# is left out, then the system default will be used.
#
# To run multiple Session Managers, just list them all seperatly
# and provide the path to the appropriate config files.
#
# program [ path to config file ]
#
router /usr/local/jabberd-2.2.13/etc/router.xml
sm /usr/local/jabberd-2.2.13/etc/sm.xml
s2s /usr/local/jabberd-2.2.13/etc/s2s.xml
c2s /usr/local/jabberd-2.2.13/etc/c2s.xml
mu-conference /usr/local/jabberd-2.2.13/etc/muc.xml
-- end jabberd.cfg--
When attempting to start /usr/local/jabberd-2.2.13/bin/jabberd -D, the following error appears:
JBRD: debug on
JBRD: version(2.2.13)
JBRD: config_dir(/usr/local/jabberd-2.2.13/etc)
JBRD: LaunchJob: router -> /usr/local/jabberd-2.2.13/bin/router -c /usr/local/jabberd-2.2.13/etc/router.xml -D
JBRD: LaunchJob: sm -> /usr/local/jabberd-2.2.13/bin/sm -c /usr/local/jabberd-2.2.13/etc/sm.xml -D
JBRD: LaunchJob: s2s -> /usr/local/jabberd-2.2.13/bin/s2s -c /usr/local/jabberd-2.2.13/etc/s2s.xml -D
JBRD: LaunchJob: c2s -> /usr/local/jabberd-2.2.13/bin/c2s -c /usr/local/jabberd-2.2.13/etc/c2s.xml -D
JBRD: LaunchJob: mu-conference -> -c /usr/local/jabberd-2.2.13/etc/muc.xml -D
ERROR: mu-conference died. Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM. Shut it all down!
Then, if I try starting it again a few seconds later, this is the result:
JBRD: debug on
JBRD: version(2.2.13)
JBRD: config_dir(/usr/local/jabberd-2.2.13/etc)
JBRD: LaunchJob: router -> /usr/local/jabberd-2.2.13/bin/router -c /usr/local/jabberd-2.2.13/etc/router.xml -D
JBRD: LaunchJob: sm -> /usr/local/jabberd-2.2.13/bin/sm -c /usr/local/jabberd-2.2.13/etc/sm.xml -D
JBRD: LaunchJob: s2s -> /usr/local/jabberd-2.2.13/bin/s2s -c /usr/local/jabberd-2.2.13/etc/s2s.xml -D
JBRD: LaunchJob: c2s -> /usr/local/jabberd-2.2.13/bin/c2s -c /usr/local/jabberd-2.2.13/etc/c2s.xml -D
JBRD: LaunchJob: mu-conference -> -c /usr/local/jabberd-2.2.13/etc/muc.xml -D
Does this mean there is something wrong with the MUC config? If I start it by running /usr/local/jabberd-2.2.13/bin/mu-conference manually, I can join rooms normally!
-timeimp
--Boundary_(ID_AGeOORjXYzDTDMA2pbgwoQ)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: quoted-printable
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Hi guys,<div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>Please =
find below 1x MUC config file and 1x Jabberd2 Configuration snippet and =
a copy of the log of starting jabberd2.</div><div><br></div><div>-- =
muc.xml: =
--</div><div><br></div><div><div><jcr></div><div> <!--=
</div><div> This is a config file for a =
copy of MU-Conference, compiled against </div><div> =
the Jabber Component Runtime (JCR). This is the same file =
that I use</div><div> to connect to my =
development server, running jabberd2 =
beta2 </div><div><br></div><div> In order =
to connect to a jabberd v1.4 server, simply change =
the </div><div> <name> value to =
muclinker, and make sure the muclinker section is =
in</div><div> your main jabber.xml file, as =
per the MU-Conference README =
file.</div><div> --></div><div><br></div><div> &l=
t;name>conf.im.mysite.id.au</name> <!-- the jid of your =
component =
--></div><div> <host>conf.im.mysite.id.au</host>=
<!-- this should be the same as above =
--></div><div> <ip>localhost</ip> <!-- =
adress of the jabber server =
--></div><div> <port>5347</port> <!-- =
port used to connect the service to the jabber server =
--></div><div> <secret>secret</secret> <!-- =
secret shared with the jabber server =
--></div><div><br></div><div> <spool>/usr/local/jabber=
d-2.2.13/var/spool/conf.im.mysite.id.au/</spool> <!-- directory =
containing the rooms data =
--></div><div> <logdir>/usr/local/jabberd-2.2.13/log/&=
lt;/logdir> <!-- directory containing the debug log (the file is =
called mu-conference.log) =
--></div><div> <pidfile>/usr/local/jabberd-2.2.13/var/=
run/mu-conference.pid</pidfile> <!-- file that will contain the =
PID of the </div><div>process =
--></div><div> </div><div> <!-- =
<logstderr/> --> <!-- uncomment to also send log to stderr =
--></div><div> <loglevel>255</loglevel> =
<!-- log verbosity, 255 for very verbose, 0 for quiet =
--></div><div><br></div><div> <conference =
xmlns=3D"<a =
href=3D"jabber:config:conference">jabber:config:conference</a>"></div><=
div> <public/> <!-- rooms are public =
when created, comment to make them private by default =
--></div><div> <!-- the vCard section =
contains the vCard of the service --></div><div> =
<vCard></div><div> =
<FN>timeimps jabber server</FN></div><div> =
<DESC>For those who respect =
others.</DESC></div><div> =
<URL>http://foo.bar/</URL></div><div> =
</vCard></div><div> =
<history>40</history> <!-- maximum numbers of =
history lines send when joining a room --></div><div> =
<logdir>/usr/local/jabberd-2.2.13/log/</logdir> =
<!-- where to store the room logs, comment to disable logging =
--></div><div> <logsubdirs/> <!-- =
uncomment to stores the room logs in subdirs (for example 2007/08/02) =
--></div><div> =
<!--<stylesheet>../style.css</stylesheet>--> =
<!--URL of the log stylesheet --></div><div> =
<!-- default text to send to legacy clients, will also be used =
in the logs --></div><div> =
<notice></div><div> =
<join>has become =
available</join></div><div> =
<leave>has left</leave></div><div> =
<rename>is now known =
as</rename></div><div> =
</notice></div><div> <!-- lists =
of admins of the service, add a <user/> tag by admin =
--></div><div> =
<sadmin></div><div> =
<user>[email protected]</user></div><div> &nb=
sp; </sadmin></div><div> =
<dynamic/><!-- when uncommented, only dynamic rooms can =
be created --></div><div> =
<persistent/><!-- persistent rooms will be created, =
overide <dynamic/> --></div><div> =
<!-- <locknicks/> --> <!-- enforce the user =
nickname to the user part of his jid --></div><div> =
<roomlock/><!-- uncomment to allow only admins to =
create rooms --></div><div> <!-- =
<hideempty/> --> <!-- uncomment to hide rooms with no =
participants --></div><div> <!-- =
configuration of MySQL, only used if the MySQL exports is activated, see =
README.sql --></div><div> =
<!--<mysql></div><div> =
<user>root</user></div><div> =
<pass/></div><div> =
<database>chat</database></div><div> =
=
<host>localhost</host></div><div> =
</mysql>--></div><div> =
</conference></div><div></jcr></div></div><div><br></div=
><div>-- end muc.xml --</div><div><br></div><div>-- jabberd.cfg =
--</div><div><div><br></div><div>#</div><div># jabberd config =
file</div><div>#</div><div>#</div><div># This file tells the =
jabberd wrapper what programs to launch,</div><div># and the config =
files to launch them with. If the config file</div><div># is left =
out, then the system default will be used.</div><div>#</div><div># =
To run multiple Session Managers, just list them all =
seperatly</div><div># and provide the path to the appropriate config =
files.</div><div>#</div><div># program [ path to config file =
]</div><div>#</div><div><br></div><div>router =
/usr/local/jabberd-2.2.13/etc/router.xml</div><div>sm =
/usr/local/jabberd-2.2.13/etc/sm.xml</div><div>s2s =
/usr/local/jabberd-2.2.13/etc/s2s.xml</div><div>c2s =
/usr/local/jabberd-2.2.13/etc/c2s.xml</div><div>mu-conference =
/usr/local/jabberd-2.2.13/etc/muc.xml</div></div><div><br></div><div>-- =
end jabberd.cfg--</div><div><br></div><div>When attempting to start =
/usr/local/jabberd-2.2.13/bin/jabberd -D, the following error =
appears:</div><div><br></div><div><meta charset=3D"utf-8"><span =
class=3D"Apple-style-span" style=3D"font-family: sans-serif; color: =
rgb(51, 51, 51); font-size: 13px; "><pre style=3D"font-size: 8pt; =
">JBRD: debug on
JBRD: version(2.2.13)
JBRD: config_dir(/usr/local/jabberd-2.2.13/etc)
JBRD: LaunchJob: router -> /usr/local/jabberd-2.2.13/bin/router -c =
/usr/local/jabberd-2.2.13/etc/router.xml -D
JBRD: LaunchJob: sm -> /usr/local/jabberd-2.2.13/bin/sm -c =
/usr/local/jabberd-2.2.13/etc/sm.xml -D
JBRD: LaunchJob: s2s -> /usr/local/jabberd-2.2.13/bin/s2s -c =
/usr/local/jabberd-2.2.13/etc/s2s.xml -D
JBRD: LaunchJob: c2s -> /usr/local/jabberd-2.2.13/bin/c2s -c =
/usr/local/jabberd-2.2.13/etc/c2s.xml -D
JBRD: LaunchJob: mu-conference -> -c =
/usr/local/jabberd-2.2.13/etc/muc.xml -D</pre><pre style=3D"font-size: =
8pt; ">ERROR: mu-conference died. Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM. Shut it all =
down!</pre></span><div><br></div></div><div><br></div><div>Then, if I =
try starting it again a few seconds later, this is the =
result:</div><div><br></div><div><meta charset=3D"utf-8"><span =
class=3D"Apple-style-span" style=3D"font-family: sans-serif; color: =
rgb(51, 51, 51); font-size: 13px; "><pre style=3D"font-size: 8pt; =
">JBRD: debug on
JBRD: version(2.2.13)
JBRD: config_dir(/usr/local/jabberd-2.2.13/etc)
JBRD: LaunchJob: router -> /usr/local/jabberd-2.2.13/bin/router -c =
/usr/local/jabberd-2.2.13/etc/router.xml -D
JBRD: LaunchJob: sm -> /usr/local/jabberd-2.2.13/bin/sm -c =
/usr/local/jabberd-2.2.13/etc/sm.xml -D
JBRD: LaunchJob: s2s -> /usr/local/jabberd-2.2.13/bin/s2s -c =
/usr/local/jabberd-2.2.13/etc/s2s.xml -D
JBRD: LaunchJob: c2s -> /usr/local/jabberd-2.2.13/bin/c2s -c =
/usr/local/jabberd-2.2.13/etc/c2s.xml -D
JBRD: LaunchJob: mu-conference -> -c =
/usr/local/jabberd-2.2.13/etc/muc.xml =
-D</pre></span><div><br></div></div><div>Does this mean there is =
something wrong with the MUC config? If I start it by running =
/usr/local/jabberd-2.2.13/bin/mu-conference manually, I can join rooms =
normally!</div><div><br></div><div>-timeimp</div></body></html>=
--Boundary_(ID_AGeOORjXYzDTDMA2pbgwoQ)--
--===============0025314870==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: [email protected]
_______________________________________________
--===============0025314870==--