Kurt Buff | 1 Oct 2004 02:06
Favicon

After perusing the docs...

Howdy all,

I've just set up a new jabberd system as an internal test for our company,
and I've run into some difficulties.

Platform:
Server - FreeBSD 5.3beta6, installed jabberd-2.0.3 from ports.

Client - Win2k Pro and  Win2k3 Server, running gaim 1.0.0 for Win32, with
GTK.

Am using BDB for storage and auth on the server, as I wanted something
simple and quick to put together, and am not a *nix guru, so didn't want to
play with MySQL just yet. 

I've got public registration enabled, which seems to work just fine, and am
testing on two different machines, with two test accounts.

The issue comes when trying to actually contact someone on the server. When,
for instance, the 'tester' account tries to initiate a conversation with the
'ghod' account, or vice versa, I get a 502 error code "message delivery to
.... failed"

I found the debug window for teh gaim client, and saw the following during
testing:

jabber: Sending: <iq type='set' id='gaimc6ad198f'><query
xmlns='jabber:iq:roster'><item
jid='tester'><group>Buddies</group></item></query></iq>

(Continue reading)

acqant | 1 Oct 2004 04:46
Favicon

Have to restart the server after adding users?

I've taken over a jabber server in a new position.  I'm pretty sure that 
 we/they have never had to restart the jabber server in order to get 
the new accounts to login.  Now for some reason after adding users I can 
only login if the server is stopped and restarted.

I'm running jabber 1.4.2.  I have about 520 users in the directory.

If someone can point me in some direction I'd appreciate.  The only 
thing in the logs is Auth fail.  Client gets 401.

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN

Bert Radke | 1 Oct 2004 07:19
Picon

Re: After perusing the docs...


On Friday 01 October 2004 02:06, Kurt Buff wrote:
> Howdy all,
> The issue comes when trying to actually contact someone on the
> server. When, for instance, the 'tester' account tries to initiate
> a conversation with the 'ghod' account, or vice versa, I get a 502
> error code "message delivery to .... failed"
>
> I found the debug window for teh gaim client, and saw the following
> during testing:
>
> jabber: Sending: <iq type='set' id='gaimc6ad198f'><query
> xmlns='jabber:iq:roster'><item
> jid='tester'><group>Buddies</group></item></query></iq>
>

You need to add/send using an address of tester <at> server. The part after 
the ' <at> ' depends on the your configuration ('hostname' in your 
config).

Bert
Florian 'fh' Holzhauer | 1 Oct 2004 10:20
Picon

Re: Presence Indicator Server

On Thu, 30 Sep 2004 13:00:32 +0200, Alban Crequy <alban.crequy <at> apinc.org> wrote:
> You can have a look at Edgar the Bot:
> http://edgar.netflint.net/
> Edgar the Bot works well (I use it)

Well, it was way too buggy for me, so I looked for alternatives, and
found Webber, written in Python: http://mrinal.net/webber/

Currently I am running a self-written Perl-Script on my server,
"inspired" by webber.
A very ugly and uncommented source can be found here:
http://jabber.schwimmt.net/wiki/index.php/Statusbot.pl

Florian.
--

-- 
xmpp: fh <at> jabber.ccc.de
_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN

Florian 'fh' Holzhauer | 1 Oct 2004 10:23
Picon

Re: Have to restart the server after adding users?

Hi there,

On Thu, 30 Sep 2004 22:46:49 -0400, acqant <acqant <at> optonline.net> wrote:
> the new accounts to login.  Now for some reason after adding users I can
> only login if the server is stopped and restarted.

By default is xdb_file caching the spoolfiles forever.
Check if there is a <timeout> in the xdb-section, like this:
<xdb id="xdb">
    <host/>
    <load>
      <xdb_file>./xdb_file/xdb_file.so</xdb_file>
    </load>
    <xdb_file xmlns="jabber:config:xdb_file">
      <spool><jabberd:cmdline flag='s'>/var/lib/jabber</jabberd:cmdline></spool>
      <timeout>600</timeout>
    </xdb_file>
</xdb>
--

-- 
xmpp: fh <at> jabber.ccc.de
_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN

Matthias Wimmer | 1 Oct 2004 13:31

Re: Have to restart the server after adding users?

Hi Acqant!

acqant schrieb am 2004-09-30 22:46:49:
> I'm running jabber 1.4.2.

As Florian already told you, that you have to change the caching setup
of your xdb_file component. I just want to add, that you should upgrade
your server to 1.4.3.1 - as 1.4.2 contains two known DoS
vulnerabilities.

Tot kijk
    Matthias

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN
anthony | 1 Oct 2004 14:22
Favicon

Re: Have to restart the server after adding users?

Thank you both.  I will try the timeout setting but I found this in the 
source of xdb_file.c

#define FILES_PRIME 509

xf->cache = 
ghash_create(j_atoi(xmlnode_get_tag_data(config,"maxfiles"),FILES_PRIME),(KEYHASHFUNC)str_hash_code,(KEYCOMPAREFUNC)j_strcmp);

The 509 number in the source and fact that I have 520 files in the spool 
dir and this just started to happen seems rather susspicous to me.

If the timeout does not fix it I guess this is something else to check.

Matthias Wimmer wrote:
> Hi Acqant!
> 
> acqant schrieb am 2004-09-30 22:46:49:
> 
>>I'm running jabber 1.4.2.
> 
> 
> As Florian already told you, that you have to change the caching setup
> of your xdb_file component. I just want to add, that you should upgrade
> your server to 1.4.3.1 - as 1.4.2 contains two known DoS
> vulnerabilities.
> 
> 
> Tot kijk
>     Matthias
> 
(Continue reading)

lwiechec2 | 1 Oct 2004 16:35
Picon
Favicon

problems with server-to-server communication

Dear All,

I'm trying to connect two jabber servers in a way that makes it possible for
users on different servers to talk to each other. Each separate installation
runs fine, i.e. users on each server can chat/send messages/view presence
correctly. However, when user user1 <at> jabber1 tries to add user2 <at> jabber2 to
his
roster or sends a direct message to him, nothing really happens.

Now, looking at Psi's 'XML Console' shows that both sides receive '502'
errors
each time they try to access remote jabber server.

I was looking into 's2s.xml' and 'c2s.xml' but they look fine; the ACL list
allows everyone to contact (this is a closed environment) and both machines
can
access other side, for example telnetting to port 5222 and other ports that
jabber uses.

Setup: jabber2.0s3, Linux (one side) and Solaris (other side).

*BIG* thanks, greets from Poland,

--

-- 
L.
_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN
(Continue reading)

Peter Saint-Andre | 1 Oct 2004 18:04

Re: jabberd2 docs: new location

In article <1096419491.415a08a3509e8 <at> mail.home.net.my>,
 Roger Thomas <sniper <at> home.net.my> wrote:

> OT: What tool is used to develop that documentation ?

Will Kamishlian converted it from the wiki pages at www.jabberdoc.org 
into static HTML files, so at this point I'd say it's pure HTML.

/psa

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN

Etienne LAVANANT | 1 Oct 2004 19:13
Picon

Re: After perusing the docs...

> Message: 2
> Date: Thu, 30 Sep 2004 17:06:28 -0700
> From: Kurt Buff <KBuff <at> zetron.com>
> Subject: [jadmin] After perusing the docs...
> To: "'jadmin <at> jabber.org'" <jadmin <at> jabber.org>
> Message-ID:
> 	<054222519C2ED411A68E00508B603AC706534532 <at> zetxch01.zetron.com>
> Content-Type: text/plain;	charset="iso-8859-1"
>

Hi,
when you had a contact, you have to had the all JID, not just the pseudo (it is
like an e-mail address). In your case, erase the contact "tester" and add the
contact "tester <at> kurt-test.zetron.com". It should work fine then.

You can still give this contact an alias if you want it to appear in your roster
as "tester"

Tiennou, first e-mail on the jadmin list :-)

> Howdy all,
>
> I've just set up a new jabberd system as an internal test for our company,
> and I've run into some difficulties.
>
> Platform:
> Server - FreeBSD 5.3beta6, installed jabberd-2.0.3 from ports.
>
> Client - Win2k Pro and  Win2k3 Server, running gaim 1.0.0 for Win32, with
> GTK.
(Continue reading)


Gmane