|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Need help on ClusteringHiho
i'm admin of ts-onlyfree.org. we're hosting an openfire-server but this doesnt support clustering4free :( now i set up an ejabberd2 from install-script on first server. answered cluster-question with yes and set jab.ts-onlyfree.org as host. on second i set jab2.ts-onlyfree.org copied erlangcookie from first to second. but if i run this on second, it says always : Debian-40-etch-32-minimal:/opt /ejabberd-2.0.1/bin# erl -sname ejabberd \ > -mnesia extra_db_nodes "['ejabberd@...']" \ > -s mnesia Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false] Eshell V5.5.2 (abort with ^G) (ejabberd@Debian-40-etch-32-minimal)1> =ERROR REPORT==== 27-May-2008::18:39:02 === ** System NOT running to use fully qualified hostnames ** ** Hostname jab.ts-onlyfree.org is illegal ** =ERROR REPORT==== 27-May-2008::18:39:02 === ** System NOT running to use fully qualified hostnames ** ** Hostname jab.ts-onlyfree.org is illegal ** How to fix this? I found nothing in google, so i joined the mailing-list *g If this cluster works with 2 machine, i will join up to 5 servers into it =) Please help me :D Kind Regards Dennis -- ____________________________________________ www.ts-onlyfree.org Free Teamspeak-Hosting since 2005 Support-Forum : http://forum.ts-onlyfree.org _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
|
|
Re: Need help on Clusteringts-onlyfree Admin-eMail wrote:
> Hiho > > i'm admin of ts-onlyfree.org <http://ts-onlyfree.org/>. we're hosting an > openfire-server but this doesnt support clustering4free :( > > now i set up an ejabberd2 from install-script on first server. > > answered cluster-question with yes and set jab.ts-onlyfree.org > <http://jab.ts-onlyfree.org/> as host. > > on second i set jab2.ts-onlyfree.org <http://jab2.ts-onlyfree.org/> > > copied erlangcookie from first to second. > > but if i run this on second, it says always : > > Debian-40-etch-32-minimal:/opt > /ejabberd-2.0.1/bin# erl -sname ejabberd \ > > -mnesia extra_db_nodes "['ejabberd@... > <mailto:ejabberd@...>']" \ > > -s mnesia > Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] > [kernel-poll:false] > > Eshell V5.5.2 (abort with ^G) > (ejabberd@Debian-40-etch-32-minimal)1> > =ERROR REPORT==== 27-May-2008::18:39:02 === > ** System NOT running to use fully qualified hostnames ** > ** Hostname jab.ts-onlyfree.org <http://jab.ts-onlyfree.org/> is illegal ** > > =ERROR REPORT==== 27-May-2008::18:39:02 === > ** System NOT running to use fully qualified hostnames ** > ** Hostname jab.ts-onlyfree.org <http://jab.ts-onlyfree.org/> is illegal ** > > How to fix this? I found nothing in google, so i joined the mailing-list *g > > If this cluster works with 2 machine, i will join up to 5 servers into it =) > I've never setup clustering, but from the error messages it looks like you should change -mnesia extra_db_nodes "['ejabberd@...']" to -mnesia extra_db_nodes "['ejabberd@jab']" _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
|
|
Re: Need help on Clusteringhmm i set an entry to first ip with "jab" in /etc/hosts and started, but it says :
Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:fal se] Eshell V5.5.2 (abort with ^G) (ejabberd@Debian-40-etch-32-minimal)1> =ERROR REPORT==== 27-May-2008::19:21:19 === Error in process <0.51.0> on node 'ejabberd@Debian-40-etch-32-minimal' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@..."]} ,{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]} =ERROR REPORT==== 27-May-2008::19:21:19 === Error in process <0.55.0> on node 'ejabberd@Debian-40-etch-32-minimal' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@..."]} ,{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]} 2008/5/27 Sean Dilda <sean@...>:
I've never setup clustering, but from the error messages it looks like _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
|
|
Re: Need help on ClusteringOn Tue, May 27, 2008 at 6:53 PM, ts-onlyfree Admin-eMail
<admin@...> wrote: > answered cluster-question with yes and set jab.ts-onlyfree.org as host. > > on second i set jab2.ts-onlyfree.org It seems you confuse 'Jabber domain' with 'Erlang node name'. Let's see: 'If you have two nodes on the cluster, both of them should serve the same Jabber domain. If you want a Jabber server called "jabber.example.org", then both nodes should have this as hosts on their ejabberd.cfg.' [1] You can also check the forum thread: Clustering - Replicating User Accounts http://www.ejabberd.im/node/3039 Now, regarding the error report: > /ejabberd-2.0.1/bin# erl -sname ejabberd \ > -mnesia extra_db_nodes "['ejabberd@...']" \ > -s mnesia > Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] > [kernel-poll:false] > > Eshell V5.5.2 (abort with ^G) > (ejabberd@Debian-40-etch-32-minimal)1> > =ERROR REPORT==== 27-May-2008::18:39:02 === > ** System NOT running to use fully qualified hostnames ** > ** Hostname jab.ts-onlyfree.org is illegal ** Use the -sname option when you use short node names: $ erl -sname test@some-machine Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false] Eshell V5.6.2 (abort with ^G) (test@some-machine)1> $ erl -sname test@some-machine -mnesia extra_db_nodes "['test2@some-machine']" Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false] Eshell V5.6.2 (abort with ^G) (test@some-machine)1> Use the -name option when you use long node names: $ erl -name test@... Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false] Eshell V5.6.2 (abort with ^G) (test@...-machine)1> q(). $ erl -name test@... -mnesia extra_db_nodes "['test2@...']" Erlang (BEAM) emulator version 5.6.2 [source] [smp:2] [async-threads:0] [kernel-poll:false] Eshell V5.6.2 (abort with ^G) (test@...)1> Bad idea: Use the -sname option when you plan to use long node names... it crashes: $ erl -sname test@... {error_logger,{{2008,5,27},{18,57,27}},"Can't set short node name!\nPlease check your configuration\n",[]} ... $ erl -sname test@... -mnesia extra_db_nodes "['test2@...']" {error_logger,{{2008,5,27},{19,15,21}},"Can't set short node name!\nPlease check your configuration\n",[]} ... If you plan to deploy all nodes in a LAN, then you better use short node names. [1] http://www.ejabberd.im/node/1592#comment-26669 _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
|
|
Re: Need help on Clusteringyeah something happened :D
however, both hosts were set to the same jab.ts-onlyfree.org if i run >> erl -name ejabberd@... -mnesia extra_db_nodes "['ejabberd@...']" -s mnesia <<, following msg appears : Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false] Eshell V5.5.2 (abort with ^G) and drops me back to shell. i did not start it one more time. cant find any process called erl or mnesia btw, thx for your help =) cya dennis 2008/5/27 Badlop <badlop@...>:
-- ____________________________________________ www.ts-onlyfree.org Free Teamspeak-Hosting since 2005 Support-Forum : http://forum.ts-onlyfree.org _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
|
|
Re: Need help on ClusteringoO mom, this isnt the shell, seems to be the erl-shell ;)
2008/5/27 ts-onlyfree Admin-eMail <admin@...>: yeah something happened :D -- ____________________________________________ www.ts-onlyfree.org Free Teamspeak-Hosting since 2005 Support-Forum : http://forum.ts-onlyfree.org _______________________________________________ ejabberd mailing list ejabberd@... http://lists.jabber.ru/mailman/listinfo/ejabberd |
| Free embeddable forum powered by Nabble | Forum Help |