Mark Bainter | 6 Oct 15:16 2005
Picon

MUC Conference Room Errors

I've got a successfull install of ejabberd, on an RHEL4 system.  Everything is
working great except for MUC.

For some reason, whenever I make changes to certain parts of it, anything
further I try to do gets me this as a response in tkabber:
query list: Unrecoverable Error (Conference room does not exist)

I can see this in the logs:
=ERROR REPORT==== 2005-10-06 08:02:24 ===
** State machine <0.266.0> terminating 
** Last event in was {route,{jid,"mbainter",
                                 "jabber.domain.corp",
                                 "tkabber",
                                 "mbainter",
                                 "jabber.domain.corp",
                                 "tkabber"},
                            [],
                            {xmlelement,
                                "iq",
                                [{"id","8"},
                                 {"to",
                                  "mailteam <at> conference.jabber.domain.corp"},
                                 {"type","set"}],
                                [{xmlelement,
                                     "query",
                                     [{"xmlns",
                                       "http://jabber.org/protocol/muc#admin"}],
                                     [{xmlelement,
                                          "item",
                                          [{"nick","testuser"},
(Continue reading)

Alexey Shchepin | 11 Oct 00:00 2005
Picon

Re: MUC Conference Room Errors

Hello, Mark!

On Thu, 6 Oct 2005 13:16:56 +0000 (UTC), you said:

 MB> I've got a successfull install of ejabberd, on an RHEL4 system.
 MB> Everything is working great except for MUC.

 MB> For some reason, whenever I make changes to certain parts of it, anything
 MB> further I try to do gets me this as a response in tkabber: query list:
 MB> Unrecoverable Error (Conference room does not exist)

 MB> I can see this in the logs:

[...]

 MB> {{case_clause,{user,"admin","mbainter","testuser"}},

It seems you have something like this in config:

{acl, admin, {user,"admin","mbainter","testuser"}}.

It is incorrect, probably you need to replace it with

{acl, admin, {user, "admin"}}.
{acl, admin, {user, "mbainter"}}.
{acl, admin, {user, "testuser"}}.

And uncomment "override_acls." in the beginning of config.
Travis Bell | 11 Oct 06:27 2005
Picon

Can't make ejabberd...

Hey guys,

I have got every pre-requisite installed correctly (as far as I can see) but when I go to "make" ejabberd it spits out the following error;


lasher:/Users/admin/Desktop/ejabberd-0.9.8/src root# make
gcc -Wall -g -O2 -I/usr/local/lib/erlang/usr/include  \
                expat_erl.c \
                -lexpat  \
                -L/usr/local/lib/erlang/lib/erl_interface-3.5.4/lib -lerl_interface -lei -I/usr/local/lib/erlang/lib/erl_interface-3.5.4/include -I/usr/local/lib/erlang/usr/include \
                -o expat_erl.so -fpic -shared
gcc: unrecognized option `-shared'
cc1: warning: -fpic is not supported; -fPIC assumed
expat_erl.c: In function `ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'
ld: Undefined symbols:
_main
_driver_alloc
_driver_alloc_binary
_driver_free
_set_port_control_flags
make: *** [expat_erl.so] Error 1


This is on a G5 Xserve with OS X 10.3. I have checked my PATH vars and they seem to look good.

Can anyone help me out here? I am at somewhat of a loss!


-- 

Travis Bell




_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Mickael Remond | 11 Oct 09:25 2005

Re: Can't make ejabberd...

Travis Bell wrote:
> Hey guys,
> 
> I have got every pre-requisite installed correctly (as far as I can see)
> but when I go to "make" ejabberd it spits out the following error;
> 
> 
> lasher:/Users/admin/Desktop/ejabberd-0.9.8/src root# make
> gcc -Wall -g -O2 -I/usr/local/lib/erlang/usr/include  \
>                 expat_erl.c \
>                 -lexpat  \
>                 -L/usr/local/lib/erlang/lib/erl_interface-3.5.4/lib
> -lerl_interface -lei
> -I/usr/local/lib/erlang/lib/erl_interface-3.5.4/include
> -I/usr/local/lib/erlang/usr/include \
>                 -o expat_erl.so -fpic -shared
> gcc: unrecognized option `-shared'
> cc1: warning: -fpic is not supported; -fPIC assumed
> expat_erl.c: In function `ei_x_encode_string_len_fixed':
> expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'
> ld: Undefined symbols:
> _main
> _driver_alloc
> _driver_alloc_binary
> _driver_free
> _set_port_control_flags
> make: *** [expat_erl.so] Error 1
> 
> 
> This is on a G5 Xserve with OS X 10.3. I have checked my PATH vars and
> they seem to look good.
> 
> Can anyone help me out here? I am at somewhat of a loss!

Hello,

I have compiled ejabberd for MacOS (For the REPOS CDROM) and here are
the needed modifications. You have to change the Makefile:

- on line 51, remove -fPIC -shared
- on line 4, add to the CFLAGS value: -fno-common -bundle -undefined
suppress -flat_namespace

Do the same for all the make file that are causing trouble.
(This tips was given to me by Christophe Romain :-)

I hope this will also work for you.

--

-- 
Mickaël Rémond
Attachment (mickael.remond.vcf): text/x-vcard, 256 bytes
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Travis Bell | 11 Oct 20:01 2005
Picon

Re: Can't make ejabberd...

Do you know what other files I need to change? I am not sure myself, and yes after I changed that it proceeded to get much farther until eventually erroring out again.

Also, just so I'm clear, the line to add to CFLAGS is:

-fno-common -bundle -undefined suppress -flat_namespace

Thanks for your help, I really appreciate it.


-- 

Travis Bell




On 11-Oct-05, at 1:25 AM, Mickael Remond wrote:

Travis Bell wrote:

Hey guys,

I have got every pre-requisite installed correctly (as far as I can see)
but when I go to "make" ejabberd it spits out the following error;


lasher:/Users/admin/Desktop/ejabberd-0.9.8/src root# make
gcc -Wall -g -O2 -I/usr/local/lib/erlang/usr/include  \
                expat_erl.c \
                -lexpat  \
                -L/usr/local/lib/erlang/lib/erl_interface-3.5.4/lib
-lerl_interface -lei
-I/usr/local/lib/erlang/lib/erl_interface-3.5.4/include
-I/usr/local/lib/erlang/usr/include \
                -o expat_erl.so -fpic -shared
gcc: unrecognized option `-shared'
cc1: warning: -fpic is not supported; -fPIC assumed
expat_erl.c: In function `ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'
ld: Undefined symbols:
_main
_driver_alloc
_driver_alloc_binary
_driver_free
_set_port_control_flags
make: *** [expat_erl.so] Error 1


This is on a G5 Xserve with OS X 10.3. I have checked my PATH vars and
they seem to look good.

Can anyone help me out here? I am at somewhat of a loss!


Hello,

I have compiled ejabberd for MacOS (For the REPOS CDROM) and here are
the needed modifications. You have to change the Makefile:

- on line 51, remove -fPIC -shared
- on line 4, add to the CFLAGS value: -fno-common -bundle -undefined
suppress -flat_namespace


Do the same for all the make file that are causing trouble.
(This tips was given to me by Christophe Romain :-)

I hope this will also work for you.

-- 
Mickaël Rémond

<mickael.remond.vcf>


_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Tiaan | 12 Oct 18:29 2005
Picon

Desperate for answers

Hi,
 
I've got a post open on the forum, but we are getting desperate for answers.
 
Our situation :
We currently run an jabberd implementation with 120 000 users, growing by more than 2 000 per day, with no end in sight. We have 60 000 unique users per day with 10 000 concurrent users at peak times. Our current environment can't cope with the load, and are planning to migrate to ejabberd. The plan, and this have been tested to some extend, is to run on Windows servers with NLB (Network Load Balancing) and an MSSQL backend.
 
We are stuck on the roster ODBC module not working correctly. Presence is send when the user is added to the roster initially, but after that the presence does not get send when it changes. It seems like this happens for both MSSQL and Postgres. I've done a lot of debugging, but I don't have any Erlang experience making progress very slow. I've noticed the record (struct) in the normal and odbc roster modules is different, and suspect this to be the issue ?
 
We need to have the user, roster, etc information in an external database because many of the programs running in the background uses the information.
 
Can someone please help ? The plan is to have ejabber in production by the end of next week, which is a tight deadline, but we are running out of options with the current environment.

If you need more information, please ask.
 
Another question:
How does the commercial support for ejabberd work, I read something on the Process One website ? Can we buy development time to find a solution to this problem ?

Regards
Tiaan
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Magnus Henoch | 12 Oct 20:41 2005
Picon

Re: Desperate for answers

Tiaan <tiaanh <at> gmail.com> writes:

>  We are stuck on the roster ODBC module not working correctly. Presence is
> send when the user is added to the roster initially, but after that the
> presence does not get send when it changes. It seems like this happens for
> both MSSQL and Postgres. I've done a lot of debugging, but I don't have any
> Erlang experience making progress very slow. I've noticed the record
> (struct) in the normal and odbc roster modules is different, and suspect
> this to be the issue ?

Not that I have even the slightest experience with ODBC (or
Erlang+ODBC for that matter), but my suspicion is turned to the
function get_subscription_lists in mod_roster_odbc.  Does the SQL
statement there work?  Does it produce output acceptable to
fill_subscription_lists right below?  Try running the query in the
Erlang shell; the output might be enlightening...

BTW, in the configuration, mod_roster should be disabled.  Is it? 

--

-- 
Magnus
JID: legoscia <at> jabber.cd.chalmers.se
Tiaan | 12 Oct 23:00 2005
Picon

Re: Re: Desperate for answers

Hi,

I also think it's in the "get_subscription_lists" function or one of the functions that masages the data, the SQL does work, and values are passed back, but when I compare these values to the values as passes back by mod_roster, there is a few differences. I will send them when I'm at work tomorrow.

Yip, mod_roster is disabled.

Thanks
Tiaan

On 10/12/05, Magnus Henoch <mange <at> freemail.hu> wrote:
Tiaan <tiaanh <at> gmail.com> writes:

>  We are stuck on the roster ODBC module not working correctly. Presence is
> send when the user is added to the roster initially, but after that the
> presence does not get send when it changes. It seems like this happens for
> both MSSQL and Postgres. I've done a lot of debugging, but I don't have any
> Erlang experience making progress very slow. I've noticed the record
> (struct) in the normal and odbc roster modules is different, and suspect
> this to be the issue ?

Not that I have even the slightest experience with ODBC (or
Erlang+ODBC for that matter), but my suspicion is turned to the
function get_subscription_lists in mod_roster_odbc.  Does the SQL
statement there work?  Does it produce output acceptable to
fill_subscription_lists right below?  Try running the query in the
Erlang shell; the output might be enlightening...

BTW, in the configuration, mod_roster should be disabled.  Is it?

--
Magnus
JID: legoscia <at> jabber.cd.chalmers.se

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Jesús Torres | 19 Oct 01:47 2005
Picon

mod_vcard_ldap error

Hello, 

I have ejabber running with ldap authentication. Now I want to use 
mod_vcard_ldap for searching users. If I enable mod_vcard_ldap, ejabberd tell 
me the error report at the end of this post. 

I has been try many things but nothing solve the problem. And I has found 
nothing in google. 

Can any help me, please? 

=ERROR REPORT==== 2005-10-19 00:42:02 === 
** State machine eldap_mod_vcard_ldap terminating 
** Last event in was timeout 
** When State == connecting 
**      Data  == {eldap,3, 
                        undefined, 
                        null, 
                        389, 
                        null, 
                        undefined, 
                        undefined, 
                        0, 
                        #Fun<eldap.0.107797513>, 
                        undefined, 
                        {dict,0, 
                              16, 
                              16, 
                              8, 
                              80, 
                              48, 
                              {[], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               [], 
                               []}, 
                              {{[], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                [], 
                                []}}}, 
                        0} 
** Reason for termination = 
** {function_clause,[{eldap,next_host,[null,undefined,undefined]}, 
                     {eldap,connect_bind,1}, 
                     {eldap,connecting,2}, 
                     {gen_fsm,handle_msg,7}, 
                     {proc_lib,init_p,5}]} 

=ERROR REPORT==== 2005-10-19 00:42:02 === 
E(<0.2796.0>:gen_mod:46): {{badmatch,"jud.fisica.ull.es"}, 
                           [{mod_vcard_ldap,start,2}, 
                            {gen_mod,start_module,3}, 
                            {lists,foreach,2}, 
                            {ejabberd_app,start,2}, 
                            {application_master,start_it_old,4}]} 
Tim Seago | 19 Oct 11:02 2005
Picon

Presence problems

I'm experimenting with ejabberd, primarily for presence information,
but results differ depending on the client used.

Windows/JAJC - Roster loads but all contacts show offline whatever the
contact's actual status.

Windows/Yabber - Roster loads but contacts appear to have random
status, some shown as offline when they're online. It is possible to
chat with 'offline' users! If correctly shown as online, other status
such as DND or Away is fine.

Linux/Kopete - as Windows/JAJC

Linux/Gaim - Perfect!!

I'm guessing I've done something wrong somewhere, but I have no idea
where to start looking. Given my initial success with Gaim I started
to suspect the other clients but now I'm not so sure.
ejabberd 0.9.8
_________________________________________________________________

This e-mail may contain confidential information and/or copyright material. This e-mail is intended for
the use of the addressee only. Any unauthorised use may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by using the reply facility in
your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of these subsidiary companies is authorised and regulated by the Financial Services Authority.

The ultimate holding company is Friends Provident plc. Registered number 4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.
www.friendsprovident.com

_________________________________________________________________

Gmane