Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  ejabberd cluster help

Guest
Posted: Thu Jul 13, 2006 10:20 am Reply with quote
Guest
Hello!!
Guest
Posted: Thu Jul 13, 2006 11:07 am Reply with quote
Guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What's exactly your problem ?

Fabien NCTEL wrote:
> Hello!!
>
> I have 2 servers with ejabberd. And I want use this servers in cluster.
> I have read this tutorial :
> http://ejabberd.jabber.ru/interconnect-erl-nodes and the documention of
> ejabberd.
> But nothing works... I'm looking for another docs.
>
> Thank You
>
> Fabien
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtik7fP+GwT1GJ3ERAo7NAKCOf4tkhAamzQYGHq8i1N63AAYI5gCg1lJV
PF1Cc6L1TsBEmrdGUkWJTA0=
=oqNC
-----END PGP SIGNATURE-----

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 11:54 am Reply with quote
Guest
The first problem is :
When I do this :
erl -setcookie SFEWRG34AFDSGAFG35235
erlang:get_cookie().

no cookie

Then I have a problem with the name of the node... When I want see the name
of the node on the server I have : nonode@nohost
But, in my web admin I have default@localhost as node....

Thanks

Fabien

----- Original Message -----
From: "Alexandre LISSY" <alexandrelissy@free.fr>
To: <ejabberd@jabber.ru>
Sent: Thursday, July 13, 2006 1:06 PM
Subject: Re: [ejabberd] ejabberd cluster help


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What's exactly your problem ?
>
> Fabien NCTEL wrote:
> > Hello!!
> >
> > I have 2 servers with ejabberd. And I want use this servers in cluster.
> > I have read this tutorial :
> > http://ejabberd.jabber.ru/interconnect-erl-nodes and the documention of
> > ejabberd.
> > But nothing works... I'm looking for another docs.
> >
> > Thank You
> >
> > Fabien
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd@jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEtik7fP+GwT1GJ3ERAo7NAKCOf4tkhAamzQYGHq8i1N63AAYI5gCg1lJV
> PF1Cc6L1TsBEmrdGUkWJTA0=
> =oqNC
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 12:00 pm Reply with quote
Guest
On 13/07/2006, at 9:53 PM, Fabien NCTEL wrote:

> The first problem is :
> When I do this :
> erl -setcookie SFEWRG34AFDSGAFG35235
> erlang:get_cookie().
>
> no cookie
>
> Then I have a problem with the name of the node... When I want see
> the name
> of the node on the server I have : nonode@nohost
> But, in my web admin I have default@localhost as node....

The two problems are related. For cookies to work, you must also
specify a node name, with the -name or -sname (short name)
parameters. e.g.

erl -setcookie SFEWRG34AFDSGAFG35235 -name default
erl -setcookie SFEWRG34AFDSGAFG35235 -sname default


--
% Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>



_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 12:17 pm Reply with quote
Guest
Thank you for your quick answer.

When I do :
erl -setcookie SFEWRG34AFDSGAFG35235 -name default

I have :
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

Thanks

Fabien

----- Original Message -----
From: "Andre Pang" <ozone@algorithm.com.au>
To: <ejabberd@jabber.ru>
Sent: Thursday, July 13, 2006 2:00 PM
Subject: Re: [ejabberd] ejabberd cluster help


> On 13/07/2006, at 9:53 PM, Fabien NCTEL wrote:
>
> > The first problem is :
> > When I do this :
> > erl -setcookie SFEWRG34AFDSGAFG35235
> > erlang:get_cookie().
> >
> > no cookie
> >
> > Then I have a problem with the name of the node... When I want see
> > the name
> > of the node on the server I have : nonode@nohost
> > But, in my web admin I have default@localhost as node....
>
> The two problems are related. For cookies to work, you must also
> specify a node name, with the -name or -sname (short name)
> parameters. e.g.
>
> erl -setcookie SFEWRG34AFDSGAFG35235 -name default
> erl -setcookie SFEWRG34AFDSGAFG35235 -sname default
>
>
> --
> % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
>
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 12:19 pm Reply with quote
Guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you tried to wrote the cooki by hand, by copying the file ?
(for example, under debian, it's /var/lib/ejabberd/.erlang.cookie

Fabien NCTEL wrote:
> Thank you for your quick answer.
>
> When I do :
> erl -setcookie SFEWRG34AFDSGAFG35235 -name default
>
> I have :
> Crash dump was written to: erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
> Thanks
>
> Fabien
>
> ----- Original Message -----
> From: "Andre Pang" <ozone@algorithm.com.au>
> To: <ejabberd@jabber.ru>
> Sent: Thursday, July 13, 2006 2:00 PM
> Subject: Re: [ejabberd] ejabberd cluster help
>
>
>> On 13/07/2006, at 9:53 PM, Fabien NCTEL wrote:
>>
>>> The first problem is :
>>> When I do this :
>>> erl -setcookie SFEWRG34AFDSGAFG35235
>>> erlang:get_cookie().
>>>
>>> no cookie
>>>
>>> Then I have a problem with the name of the node... When I want see
>>> the name
>>> of the node on the server I have : nonode@nohost
>>> But, in my web admin I have default@localhost as node....
>> The two problems are related. For cookies to work, you must also
>> specify a node name, with the -name or -sname (short name)
>> parameters. e.g.
>>
>> erl -setcookie SFEWRG34AFDSGAFG35235 -name default
>> erl -setcookie SFEWRG34AFDSGAFG35235 -sname default
>>
>>
>> --
>> % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
>>
>>
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd@jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtjonfP+GwT1GJ3ERAoGlAJ9OiA0FyHyqpunLK4wL9xf8vCzCXQCaAioy
hWYStBnm7uGXL9EGEDpkpdI=
=leM3
-----END PGP SIGNATURE-----

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 12:21 pm Reply with quote
Guest
Yes, I have write the cookie in /opt/ejabberd-1.1.1/.erlang.cookie

Thanks

Fabien
----- Original Message -----
From: "Alexandre LISSY" <alexandrelissy@free.fr>
To: <ejabberd@jabber.ru>
Sent: Thursday, July 13, 2006 2:18 PM
Subject: Re: [ejabberd] ejabberd cluster help


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Did you tried to wrote the cooki by hand, by copying the file ?
> (for example, under debian, it's /var/lib/ejabberd/.erlang.cookie
>
> Fabien NCTEL wrote:
> > Thank you for your quick answer.
> >
> > When I do :
> > erl -setcookie SFEWRG34AFDSGAFG35235 -name default
> >
> > I have :
> > Crash dump was written to: erl_crash.dump
> > Kernel pid terminated (application_controller)
> >
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
> >
> > Thanks
> >
> > Fabien
> >
> > ----- Original Message -----
> > From: "Andre Pang" <ozone@algorithm.com.au>
> > To: <ejabberd@jabber.ru>
> > Sent: Thursday, July 13, 2006 2:00 PM
> > Subject: Re: [ejabberd] ejabberd cluster help
> >
> >
> >> On 13/07/2006, at 9:53 PM, Fabien NCTEL wrote:
> >>
> >>> The first problem is :
> >>> When I do this :
> >>> erl -setcookie SFEWRG34AFDSGAFG35235
> >>> erlang:get_cookie().
> >>>
> >>> no cookie
> >>>
> >>> Then I have a problem with the name of the node... When I want see
> >>> the name
> >>> of the node on the server I have : nonode@nohost
> >>> But, in my web admin I have default@localhost as node....
> >> The two problems are related. For cookies to work, you must also
> >> specify a node name, with the -name or -sname (short name)
> >> parameters. e.g.
> >>
> >> erl -setcookie SFEWRG34AFDSGAFG35235 -name default
> >> erl -setcookie SFEWRG34AFDSGAFG35235 -sname default
> >>
> >>
> >> --
> >> % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
> >>
> >>
> >>
> >> _______________________________________________
> >> ejabberd mailing list
> >> ejabberd@jabber.ru
> >> http://lists.jabber.ru/mailman/listinfo/ejabberd
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd@jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> >
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEtjonfP+GwT1GJ3ERAoGlAJ9OiA0FyHyqpunLK4wL9xf8vCzCXQCaAioy
> hWYStBnm7uGXL9EGEDpkpdI=
> =leM3
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived frommailinglist
Guest
Posted: Thu Jul 13, 2006 12:56 pm Reply with quote
Guest
Hello,

could you also try with the erl option -sname instead of -name ?

--
Micka
Guest
Posted: Thu Jul 13, 2006 12:56 pm Reply with quote
Guest
Yes, and it's the same result..
----- Original Message -----
From: "Mickael Remond" <mickael.remond@process-one.net>
To: <ejabberd@jabber.ru>
Sent: Thursday, July 13, 2006 2:55 PM
Subject: Re: [ejabberd] ejabberd cluster help


> Hello,
>
> could you also try with the erl option -sname instead of -name ?
>
> --
> Micka
Guest
Posted: Thu Jul 27, 2006 8:57 am Reply with quote
Guest
Hi,
I can see in my web admin (jabber1@mydomaine.com) two nodes :
jabber1@mydomaine.com and jabber2@mydomaine.com.
I have create somes users on jabber1 and I want to connect on jabber2 with
the users of jabber1.
But, It doesn't work...
How can I do to connect on the jabber2?
And how can I check that the DB is the same on jabber1 and jabber2.

Thank you!!

Fab



----- Original Message -----
From: "Mickael Remond" <mickael.remond@process-one.net>
To: <ejabberd@jabber.ru>
Sent: Thursday, July 13, 2006 2:55 PM
Subject: Re: [ejabberd] ejabberd cluster help


> Hello,
>
> could you also try with the erl option -sname instead of -name ?
>
> --
> Micka

Display posts from previous:  

All times are GMT
Page 1 of 1
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