Yu-Shun Wang | 1 Aug 11:24 2005
Picon

problem connecting to ietf.xmpp.org (group chat)

Hi,

Our clients could not connect to ietf.xmpp.org. The logs are
included below. I saw Randy's thread about non-default port
and SRV lookup problem, and had already applied the patch
in that thread ("s2s conf issues" at 3/7/2005).

Note that there's an "invalid" INFO entry below. Any idea how
to proceed?

Thanks.

===================================================
=INFO REPORT==== 2005-08-01 01:55:09 ===
I(<0.20668.2>:ejabberd_s2s_out:87): started: {"jabber.isi.edu",
                                               "ietf.xmpp.org",
                                               {new,"2391626069"}}

=INFO REPORT==== 2005-08-01 01:55:09 ===
I(<0.20509.2>:ejabberd_listener:90): (#Port<0.135050>) Accepted 
connection {{208,24
5,212,98},39559} -> {{128,9,168,121},5269}

=INFO REPORT==== 2005-08-01 01:55:09 ===
I(<0.20670.2>:ejabberd_s2s_in:93): started: {gen_tcp,#Port<0.135050>}

=INFO REPORT==== 2005-08-01 01:55:09 ===
I(<0.20670.2>:ejabberd_s2s_in:161): VERIFY KEY: {"jabber.isi.edu",
                                                  "ietf.xmpp.org",
                                                  "C42C2110C7FC",
(Continue reading)

Sergei Golovan | 1 Aug 11:44 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

On Mon, Aug 01, 2005 at 02:24:05AM -0700, Yu-Shun Wang wrote:
> Hi,
> 
> Our clients could not connect to ietf.xmpp.org. The logs are
> included below. I saw Randy's thread about non-default port
> and SRV lookup problem, and had already applied the patch
> in that thread ("s2s conf issues" at 3/7/2005).

You didn't specify ejabberd, erlang and operating system versions you're running.
But if it's erlang R10b then you should probably do the following:

1) create file /etc/ejabberd/inetrc and put the following line into it:
{file, resolv, "/etc/resolv.conf"}.

2) add the following options to ejabberd command line:
-kernel inetrc \"/etc/ejabberd/inetrc\"

After that ejabberd should properly resolve SRV records and connect to unusual
ports like 6269 at ietf.xmpp.org.

--

-- 
Sergei 'TeopeTuK' Golovan
Lars Eggert | 1 Aug 12:11 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

Hi,

On Aug 1, 2005, at 11:44, Sergei Golovan wrote:
> You didn't specify ejabberd, erlang and operating system versions  
> you're running.
> But if it's erlang R10b then you should probably do the following:
>
> 1) create file /etc/ejabberd/inetrc and put the following line into  
> it:
> {file, resolv, "/etc/resolv.conf"}.
>
> 2) add the following options to ejabberd command line:
> -kernel inetrc \"/etc/ejabberd/inetrc\"
>
> After that ejabberd should properly resolve SRV records and connect  
> to unusual
> ports like 6269 at ietf.xmpp.org.

I have the same problem as Yu-Shun on FreeBSD-5.4-STABLE with  
ejabberd-0.9.1 and erlang-r10b6_1,1, having done the above steps.

Any further clues?

Thanks,
Lars
--
Lars Eggert                                     NEC Network Laboratories

Attachment (smime.p7s): application/pkcs7-signature, 4981 bytes
(Continue reading)

Alexey Shchepin | 1 Aug 21:00 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

Hello, Yu-Shun!

On Mon, 01 Aug 2005 11:46:25 -0700, you said:

 YW> Alexey Shchepin wrote:
 >> Please, show the content of /etc/resolv.conf, and the result of executing
 >> the following in erlang shell:

[...]

Hm, looks ok, try to run "ets:tab2list(inet_db)." using
% erl -sname test -kernel inetrc \"/etc/ejabberd/inetrc\"

and also try to run
inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).
Yu-Shun Wang | 1 Aug 20:46 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

Alexey Shchepin wrote:
> Hello, Yu-Shun!
> 
> On Mon, 01 Aug 2005 10:50:58 -0700, you said:
> 
>  >> I have the same problem as Yu-Shun on FreeBSD-5.4-STABLE with
>  >> ejabberd-0.9.1 and erlang-r10b6_1,1, having done the above steps.
> 
>  YW> Yes. Any hint on how to debug or how to proceed?
> 
> Please, show the content of /etc/resolv.conf, and the result of executing the
> following in erlang shell:

/etc/resolv.conf:

search isi.edu
nameserver 127.0.0.1
nameserver 128.9.160.161
nameserver 128.9.128.128

> % erl -name test
> Erlang (BEAM) emulator version 5.4.5 [source] [threads:0]                        
> Eshell V5.4.5  (abort with ^G)
> (test <at> ...)1> ets:tab2list(inet_db).

[root <at> jabber: /var/log/ejabberd] erl -name test
Erlang (BEAM) emulator version 5.4.8 [source] [hipe] [threads:0] 
[kernel-poll]

Eshell V5.4.8  (abort with ^G)
(Continue reading)

Adam.Daughterson1 | 2 Aug 21:19 2005

Advice regarding system wide JID changes

Hello folks!  I have an ejabberd 0.7.5 running very well and have about
100 users chatting up a storm.  Initially I set the Host Name to
SERVER.DOM.DOM.COM and so all the JID's had to be in the form of
USER <at> SERVER.DOM.DOM.COM which is not all that pretty or end-user
friendly.  After building a test server, I then realized that all I
needed was SERVER since I am only hosting this service within our
corporate DMZ.
Is there any way for me to migrate all of the existing JID's from the
longer format to the shorter format?  I tried just changing the
/etc/ejabberd/ejabberd.cfg to the short name, but succeded only in
cleaning out all of my users' rosters! 

Thanks,

Adam

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Staszek Pitucha | 2 Aug 22:01 2005
Picon

Updates and new versions

Hello
I've got 2 suggestions:
1. The $DESTDIR bug is still not fixed - please correct it. Can't 
install with prefix normally without it.
2. There's no official guide for updating ejabberd. There is 
installation guide, but no things like: this option dissapeared from 
cfg, this is new, this setting should be checked... That kind of things 
would help with checking if new cfg is correct and can be safely copied 
from previous version.

--

-- 
/* no comments */
Staszek Pitucha
Attachment (smime.p7s): application/x-pkcs7-signature, 2976 bytes
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Sander Devrieze | 2 Aug 22:30 2005
Picon

Re: Updates and new versions

Op dinsdag 2 augustus 2005 22:01, schreef Staszek Pitucha:
<snip>
> 2. There's no official guide for updating ejabberd. There is
> installation guide, but no things like: this option dissapeared from
> cfg, this is new, this setting should be checked... That kind of things
> would help with checking if new cfg is correct and can be safely copied
> from previous version.

See doc/release_notes files; at least at the end of the one for 0.9 contains 
some updating information. Though, it might be also a good idea to add this 
information also somewhere on the website.

--

-- 
Mvg, Sander Devrieze.

xmpp:sander <at> l4l.be ( http://jabber.tk/ )
Yu-Shun Wang | 1 Aug 21:53 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

Alexey Shchepin wrote:
> Hello, Yu-Shun!
> 
> On Mon, 01 Aug 2005 11:46:25 -0700, you said:
> 
>  YW> Alexey Shchepin wrote:
>  >> Please, show the content of /etc/resolv.conf, and the result of executing
>  >> the following in erlang shell:
> 
> [...]
> 
> Hm, looks ok, try to run "ets:tab2list(inet_db)." using
> % erl -sname test -kernel inetrc \"/etc/ejabberd/inetrc\"
> 
> and also try to run
> inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).

Both commands below, looks fine to me as it gets the port
xmpp.org is using (6269):

[root <at> jabber: /var/log/ejabberd] erl -sname test -kernel inetrc 
\"/usr/local/etc/ejabberd/inetrc\"
Erlang (BEAM) emulator version 5.4.8 [source] [hipe] [threads:0] 
[kernel-poll]

Eshell V5.4.8  (abort with ^G)
(test <at> jabber)1> ets:tab2list(inet_db).
[{socks5_noproxy,[]},
  {res_recurse,1},
  {res_id,0},
  {hostname,"jabber"},
  {res_alt_ns,[]},
  {cache_refresh_interval,3600000},
  {res_inet6,false},
  {socks5_port,1080},
  {socks5_methods,[none]},
  {res_timeout,2000},
  {cache_size,100},
  {res_domain,"isi.edu"},
  {res_retry,3},
  {res_ns,[{{127,0,0,1},53},{{128,9,160,161},53},{{128,9,128,128},53}]},
  {res_lookup,[native]},
  {udp_module,inet_udp},
  {tcp_module,inet_tcp},
  {socks5_server,[]},
  {res_search,["isi.edu"]},
  {res_usevc,false}]
(test <at> jabber)2> inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).
{ok,{hostent,"_xmpp-server._tcp.ietf.xmpp.org",
              [],
              srv,
              1,
              [{30,30,6269,"xmpp.org"}]}}
(test <at> jabber)3>

--

-- 
Yu-Shun Wang <yushunwa <at> isi.edu>  http://www.isi.edu/~yushunwa
USC Information Sciences Institute
Attachment (smime.p7s): application/x-pkcs7-signature, 4481 bytes
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Alexey Shchepin | 1 Aug 20:41 2005
Picon

Re: problem connecting to ietf.xmpp.org (group chat)

Hello, Yu-Shun!

On Mon, 01 Aug 2005 10:50:58 -0700, you said:

 >> I have the same problem as Yu-Shun on FreeBSD-5.4-STABLE with
 >> ejabberd-0.9.1 and erlang-r10b6_1,1, having done the above steps.

 YW> Yes. Any hint on how to debug or how to proceed?

Please, show the content of /etc/resolv.conf, and the result of executing the
following in erlang shell:

% erl -name test
Erlang (BEAM) emulator version 5.4.5 [source] [threads:0]                        
Eshell V5.4.5  (abort with ^G)
(test <at> ...)1> ets:tab2list(inet_db).

Gmane