Erlang Mailing Lists

Author Message

<  Ejabberd mailing list  ~  ejabberd login problem

Guest
Posted: Fri Jul 27, 2007 7:12 am Reply with quote
Guest
Hi @ll
i am a ejabber beginner, i installed the linux installer now ejabber is running, i can also registre new user but i cannt connect to the registered accounts.
has any body an idea where the problem is?

can anybody make his ejabberd.cfg available

as host i use xxx.xxx.eu
its contained in the ejabberd.cfg
but i can't connect
plz help im so helpless

logs when i try to connect

=INFO REPORT==== 2007-07-26 23:24:42 ===
I(:ejabberd_listener:90): (#Port) Accepted connection{{213,xxx,xxx,xxx},24839} ->{{62,xx,xxx,xx},5222}

=ERROR REPORT==== 2007-07-26 23:24:42 ===
** State machine terminating
** Last event in was {xmlstreamelement,
{xmlelement,"response",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-sasl"}],
[{xmlcdata,
<<"dXNlcm5hbWU9InNrb3JwIixyZWFsbT0iIixub25jZT0iMzEzMjQ1MDcwIixjbm9uY2U9ImRhMmU0Y2Mz...">>}]}}
** When State == wait_for_sasl_response
** Data == {state,#Port,
,
gen_tcp,
"120179540",
{sasl_state,"jabber",
"jabber.xxxxxxx.eu",
[],
#Fun,
#Fun,
cyrsasl_digest,
{state,
3,
"313245070",
undefined,
undefined,
#Fun}},
c2s,
c2s_shaper,
false,
false,
false,
false,
[],
false,
undefined,
[],
"jabber.xxxxxxx.eu",
[],
undefined,
{0,nil},
{0,nil},
{0,nil},
{0,nil},
undefined,
undefined,
undefined,
false,
none,
"tr"}
** Reason for termination =
** {badarg,[{ets,lookup,[crypto_server_table,port]},
{crypto,control,2},
{cyrsasl_digest,response,6},
{cyrsasl_digest,mech_step,2},
{cyrsasl,server_step,2},
{ejabberd_c2s,wait_for_sasl_response,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}
_________________________________________________________________
Testen Sie Live.com - die schnelle, personalisierte Homepage,
Guest
Posted: Fri Jul 27, 2007 7:29 am Reply with quote
Guest
Hello

you have the bug reported on the 1.1.3 installer. this is currently
been worked on.
for now, please use the ejabberd-1.1.2 installer.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 7:39 am Reply with quote
Guest
On 7/27/07, kaan kaan <kaanvlbg@hotmail.com> wrote:
>
> Hi @ll
> i am a ejabber beginner, i installed the linux installer now ejabber is running, i can also registre new user but i cannt connect to the registered accounts.
> has any body an idea where the problem is?

In fact, the problem is not your incorrect config or whatever. The
problem is a systemic error in Process-one approach of distributing
ejabberd in Linux.

They distribute *binary* installer and don't understand the simple
fact that different Linux distributions aren't binary compatible.
Therefore, if the installer works, it's a lucky coincidence.

>From the other hand, it's a big pain to get working ejabberd when
building it from the sources. It's because ejabberd doesn't contain
working start/stop scripts.

As a result, the only reasonable way of installing ejabberd in Linux
is using a distribution package (binary package in Debian or Ubuntu,
port in FreeBSD, ebuild in Gentoo, are there other examples?).

Cheers!
--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 7:56 am Reply with quote
Guest
On 27 juil. 07, at 09:39, Sergei Golovan wrote:

> They distribute *binary* installer and don't understand the simple
> fact that different Linux distributions aren't binary compatible.
> Therefore, if the installer works, it's a lucky coincidence.

Sergei,
the 1.1.2 installer is binary compatible with all linux distributions
i guess you will say it is, again, a very very lucky coincidence ?
before saying different linux distributions aren't binary compatible,
did you just checked that ?


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 8:09 am Reply with quote
Guest
Hi christophe thx for the fast answers,
i installed the ejabberd 1.1.2 installer it works fine thx





----------------------------------------
> From: cromain@process-one.net
> Date: Fri, 27 Jul 2007 09:29:21 +0200
> To: ejabberd@jabber.ru
> Subject: Re: [ejabberd] ejabberd login problem
>
> Hello
>
> you have the bug reported on the 1.1.3 installer. this is currently
> been worked on.
> for now, please use the ejabberd-1.1.2 installer.
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_________________________________________________________________
Testen Sie Live.com - die schnelle, personalisierte Homepage,
Guest
Posted: Fri Jul 27, 2007 8:17 am Reply with quote
Guest
On 7/27/07, Christophe Romain <cromain@process-one.net> wrote:
> Sergei,
> the 1.1.2 installer is binary compatible with all linux distributions
> i guess you will say it is, again, a very very lucky coincidence ?
> before saying different linux distributions aren't binary compatible,
> did you just checked that ?

Any distribution on architecture, which differs from x86 (the filename
contains x86 but the link doesn't).
Any distribution on glibs 2.0 (I know that they are very old).

Or does installer is statically linked to all necessary libraries?

Why do you think very few projects release binary packages for linux?
I think that there are two reasons to distribute binary packages: 1)
you build the package for some linux distribution (and specifies that
this package is for debian 4.0 for example), 2) you don't release
sources (then you test the package on as many distributions as you can
and list all of them in supported distribution list).
You can't ship "something for linux".

--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 8:36 am Reply with quote
Guest
On 7/27/07, Christophe Romain <cromain@process-one.net> wrote:
> Hello
>
> you have the bug reported on the 1.1.3 installer. this is currently
> been worked on.
> for now, please use the ejabberd-1.1.2 installer.

You're encouraging to use 1.1.2 with a security vulnerability? And it
wasn't removed from the download site just after this vulnerability
was discovered? And there's no a warning, which at least would warn
users not to use SQL databases with 1.1.2.

BTW, 1.1.3 was released on February, 2. And this bug with installer is
lasting for almost 6 months! Do you think that it is normal?

Another interesting bug is a bug in eldap, which was masked in erlang
up to R11B-1 inclusivly. But installer 1.1.3 ships with erlang R11B-2,
so all LDAP stuff is broken, and users don't have an opportunity to
downgrade erlang.

Cheers!
--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 8:51 am Reply with quote
Guest
> Or does installer is statically linked to all necessary libraries?
Well, the installer contains all dependent libraries.
the main problem here is host's libc6 version.
since last years, it's a big mess with libc, different distro use
different versions.

we can ship ejabberd for linux if we can build libraries against an
particular version of libc (version of which all linux distro are
100% back-compatible)
the problem is that we build linux image from debian's archive and/or
from our build host, which is too recent.
i'm working on a build environment that will scope binary as large as
possible.
next ejabberd installer will be build with it and should run as
ejabberd-1.1.2 installer.




_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 9:49 am Reply with quote
Guest
2007/7/27, Sergei Golovan <sgolovan@nes.ru>:
<snip>
> As a result, the only reasonable way of installing ejabberd in Linux
> is using a distribution package (binary package in Debian or Ubuntu,
> port in FreeBSD, ebuild in Gentoo, are there other examples?).

Not per se, source code also is reasonable as long as there is a good
erlc binary (or even better: easy to compile erlc). My hoster don't
has erlc installed and I also cannot install packages (of course),
that's why I currently am restricted to the binary installer (although
I would prefer to use source code).

That's also why I made this patch:
http://ejabberd.jabber.ru/node/1117

My vision is:
* Make ejabberd *extremely* easy to install and use using source code install
* In this way it will be easier for distributions to include ejabberd
in a userfriendly way
* In this way it will be easier for people that use shared hosting
(like me) to install ejabberd in a userfriendly and stable way.

That's also why I think even minor warnings should be fixed in the
compilation process: if distributors see no warnings at all, they will
be more likely to create a package and maintain this.

--
Mvg, Sander Devrieze.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 10:13 am Reply with quote
Guest
On 7/27/07, Sander Devrieze <s.devrieze@pandora.be> wrote:
> 2007/7/27, Sergei Golovan <sgolovan@nes.ru>:
> <snip>
> > As a result, the only reasonable way of installing ejabberd in Linux
> > is using a distribution package (binary package in Debian or Ubuntu,
> > port in FreeBSD, ebuild in Gentoo, are there other examples?).
>
> Not per se, source code also is reasonable as long as there is a good
> erlc binary (or even better: easy to compile erlc). My hoster don't

Currently installing ejabberd from the sources is nearly impossible.
After 'make install' you won't be able even start ejabberd without
reading docs. After reading docs you'll be able to start ejabberd, but
not stop ejabberd. Only after the user will find ejabberdctl which
isn't installed on 'make install' and has to be found in 'tools'
directory he possibly will be able to start it. (ejabberdctl isn't
documented anywhere though).

--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 10:41 am Reply with quote
Guest
> You're encouraging to use 1.1.2 with a security vulnerability?
i'm just saying ejabberd-1.1.2 works where 1.1.3 not
the vulnerability concerns only mod_roster_odbc, it's written in head
of the changelog.
many people do use ODBC that doesn't mean they all use it for roster.
user can use ODBC with ejabberd-1.1.2 without any vulnerability if
not using roster_odbc.
anyway, upgrading only mod_roster_odbc from source makes the
installation 1.1.3 equal.
the 1.1.3 installer also works for many people, and everybody can
upgrade mod_roster_odbc as they need.

> BTW, 1.1.3 was released on February, 2. And this bug with installer is
> lasting for almost 6 months! Do you think that it is normal?
finally, i'm not aware of that bug for 6 months. please be serious.
first identified entry on jabber.ru is
http://ejabberd.jabber.ru/badarg_crypto_server
date 2007-03-30, that is 4 months old
i'm aware of the bug since it's recorded in our ticket tracker
https://support.process-one.net/browse/EJAB-250
date 2007-06-13, that is 6 weeks old

if you're so concerned about this issue, why did you just pinged us
on 2007-03-30 to ask for a new installer...
this would be solved today.

all we are working on and correcting is clearly written on our
bugtracker.
i'm actually working on a new installer as you can see.

I'm agree with the constructive answer of Sander Devrieze, and
working in that direction.
FYI, when building from source, ejabberdctl is installed into sbin,
making it usable the same way as installed with the installer.


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 11:12 am Reply with quote
Guest
On 7/27/07, Christophe Romain <cromain@process-one.net> wrote:
>
> > You're encouraging to use 1.1.2 with a security vulnerability?
> i'm just saying ejabberd-1.1.2 works where 1.1.3 not
> the vulnerability concerns only mod_roster_odbc, it's written in head
> of the changelog.
> many people do use ODBC that doesn't mean they all use it for roster.
> user can use ODBC with ejabberd-1.1.2 without any vulnerability if
> not using roster_odbc.
> anyway, upgrading only mod_roster_odbc from source makes the
> installation 1.1.3 equal.
> the 1.1.3 installer also works for many people, and everybody can
> upgrade mod_roster_odbc as they need.

Nobody who downloaded 1.1.2 installer knows about the vulnerability.
It isn't mentioned anywhere but 1.1.3 changelog.

The upgrade procedure for mod_roster_odbc using installers-only
approach is pretty strange: one has to install 1.1.3, 1.1.2 and move
the beam from one installation to another. Can the targeted cohort of
users find this way? Using sources is not an option since installer
doesn't include compiler.

>
> > BTW, 1.1.3 was released on February, 2. And this bug with installer is
> > lasting for almost 6 months! Do you think that it is normal?

It's another problem with installer (in fact it reflects the quality
of users who use installer). Users don't report bugs. They ask in
forums, in chatrooms, but not in BTS. But if a user runs installer
which doesn't work theh usually you loose this user.

> finally, i'm not aware of that bug for 6 months. please be serious.
> first identified entry on jabber.ru is
> http://ejabberd.jabber.ru/badarg_crypto_server
> date 2007-03-30, that is 4 months old
> i'm aware of the bug since it's recorded in our ticket tracker
> https://support.process-one.net/browse/EJAB-250
> date 2007-06-13, that is 6 weeks old

The grave functionality bug lasting 4 months is ridiculous. Four or
six months doesn't matter. I would say that 6 weeks is also way too
many.

>
> if you're so concerned about this issue, why did you just pinged us
> on 2007-03-30 to ask for a new installer...
> this would be solved today.

I appreciate your work on an installer, but I simply think that this
work is useless. 'make install' is an installer for linux. And a good
(or at least existing) manual page.

>
> all we are working on and correcting is clearly written on our
> bugtracker.
> i'm actually working on a new installer as you can see.

About instlaller: I would never include stripped down erlang into
installer. Another common question of installer users is: "Why can't I
add this cool ejabberd module?". And the answer is: "The installer
doesn't include erlang compiler".

BTW, where are the sources of installer scripts? I assume that they
should be available by terms of ejabberd license.

>
> I'm agree with the constructive answer of Sander Devrieze, and
> working in that direction.
> FYI, when building from source, ejabberdctl is installed into sbin,
> making it usable the same way as installed with the installer.

Aha. Then it becomes slightly closer to OK.

--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 11:22 am Reply with quote
Guest
2007/7/27, Sergei Golovan <sgolovan@nes.ru>:
<snip>
> Currently installing ejabberd from the sources is nearly impossible.
> After 'make install' you won't be able even start ejabberd without
> reading docs. After reading docs you'll be able to start ejabberd, but
> not stop ejabberd. Only after the user will find ejabberdctl which
> isn't installed on 'make install' and has to be found in 'tools'
> directory he possibly will be able to start it.

Apply my patch (only tested for 1.1.2) and try to install ejabberd
from source... Wink

>(ejabberdctl isn't
> documented anywhere though).

In the guide, also see the --help command in my patch.

--
Mvg, Sander Devrieze.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 11:40 am Reply with quote
Guest
On 7/27/07, Christophe Romain <cromain@process-one.net> wrote:
> I'm agree with the constructive answer of Sander Devrieze, and
> working in that direction.

I agree with Sander, that installing from the sources should be improved.

About installer again: why don't you add to a download page that

1) Installer is for x86 architecture only;
2) Installer requires glibc 2.5 (or whatever version should be?);
3) A recommendation not to use mod_roster_odbc with 1.1.2?

Why everyone should search for this information everywhere but the
ejabberd home?

--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Jul 27, 2007 11:58 am Reply with quote
Guest
2007/7/27, Sergei Golovan <sgolovan@nes.ru>:
<snip>
> I appreciate your work on an installer, but I simply think that this
> work is useless. 'make install' is an installer for linux. And a good
> (or at least existing) manual page.

It's not useless. It can help people to switch easier between
platforms (because of "application inertia"). So, if one platforms
offers better scalability features, people easier can switch to that
platform. You are right that the need for a Linux/FreeBSD installer is
less urgent if all distributions have as good ejabberd packages as
Debian and FreeBSD. But the ejabberd project (read "Process-one")
seems not interested in sustaining packagers because that devaluates
their proprietary installer (see also my comment on next paragraph).

> > all we are working on and correcting is clearly written on our
> > bugtracker.
> > i'm actually working on a new installer as you can see.
>
> About instlaller: I would never include stripped down erlang into
> installer. Another common question of installer users is: "Why can't I
> add this cool ejabberd module?". And the answer is: "The installer
> doesn't include erlang compiler".

This can be fixed with install options for the installer.

> BTW, where are the sources of installer scripts? I assume that they
> should be available by terms of ejabberd license.

I don't think this is necessary by the license. However, the current
situation with the installer is one of the ways how Process-One
creates a user lock-in. (note that I'm not saying that open-sourcing
the installer scripts is the way to go!!) And as long as these
lock-ins are not fixed and the project becomes independent from
Process-One again, I do not feel any interest to contribute to the
ejabberd project (translation updates, bug reports, docs, scripts,
support, marketing,...) anymore. That's why I started with "full-time"
contributions to the Coccinella project some time ago. Oh yes, from a
contributor point of view Tigase seems to be the best XMPP server
project these days (and Openfire the worst, despite all the money Jive
wastes in order to keep its community).

<snip>

--
Mvg, Sander Devrieze.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 2
Goto page 1, 2  Next
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum