Hi Dear All,
I've got a problem. First of all - why I use 1.1.4-2. Because the newer versions crash, when I write
/usr/local/etc/rc.d/ejabberd start
check_msg: not found.
And I've googled that, but found nothing, so I have to use an older version.
So, my config of jabber looks like (without comments):
override_acls.
%% Admin user
{acl, admin, {user, "adminname", "site.local"}}.
%% Hostname
{hosts, ["site.local", "localhost"]}.
% Blocked users:
{acl, blocked, {user, "test"}}.
% Local users:
{acl, local, {user_regexp, ""}}.
% Everybody can create pubsub nodes
{access, pubsub_createnode, [{allow, all}]}.
% Only admins can use configuration interface:
{access, configure, [{allow, admin}]}.
% Every username can be registered via in-band registration:
{access, register, [{allow, all}]}.
% None username can be registered via in-band registration:
%{access, register, [{deny, all}]}.
{welcome_message, none}.
% List of people who will get notifications about registered users
%{registration_watchers, ["admin1@localhost",
% "admin2@localhost"]}.
% Only admins can send announcement messages:
{access, announce, [{allow, admin}]}.
% Only non-blocked users can use c2s connections:
{access, c2s, [{deny, blocked},
{allow, all}]}.
% Set shaper with name "normal" to limit traffic speed to 1000B/s
{shaper, normal, {maxrate, 1000}}.
% Set shaper with name "fast" to limit traffic speed to 50000B/s
{shaper, fast, {maxrate, 50000}}.
% For all users except admins used "normal" shaper
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
% For all S2S connections used "fast" shaper
{access, s2s_shaper, [{fast, all}]}.
% Admins of this server are also admins of MUC service:
{access, muc_admin, [{allow, admin}]}.
% Authentication method. If you want to use internal user base, then use
% this line:
{auth_method, internal}.
%% Define the maximum number of time a single user is allowed to connect:
{max_user_sessions, 10}.
% Default language for server messages
{language, "en"}.
% Listened ports:
{listen,
%Ordinary client-2-server service
[{5222, ejabberd_c2s, [{access, c2s},
{max_stanza_size, 65536},
starttls, {certfile, "/etc/ejabberd/ejabberd.pem"},
{shaper, c2s_shaper}]},
% SSL-enabled client-2-server service
{5223, ejabberd_c2s, [{access, c2s},
{max_stanza_size, 65536},
tls, {certfile, "/etc/ejabberd/ejabberd.pem"},
{shaper, c2s_shaper}]},
{5280, ejabberd_http, [http_poll, web_admin]}
]}.
% Use STARTTLS+Dialback for S2S connections
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/ejabberd/ejabberd.pem"}.
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % Depends on mod_adhoc
{mod_register, [{access, register}]},
{mod_roster, []},
{mod_privacy, []},
{mod_configure, []}, % Depends on mod_adhoc
{mod_configure2, []},
{mod_disco, [{extra_domains, ["users.jabber.org"]}]},
{mod_stats, []},
{mod_vcard, []},
{mod_offline, []},
{mod_echo, []},
{mod_private, []},
{mod_irc, []},
{mod_muc, [{access, muc},
{access_create, muc},
{access_admin, muc_admin}]},
{mod_muc_log, []},
{mod_shared_roster, []},
{mod_pubsub, [{access_createnode, pubsub_createnode}]},
{mod_time, []},
{mod_last, []},
{mod_shared_roster, [{iqdisc, no_queue}]},
{mod_version, []}
]}.
When I try to use ejabberdctl it write (under user ejabberd):
{"init terminating in do_boot",{badarg,[{ets,match_object,[ejabberd_ctl_cmds,'_']},{ets,tab2list,1},{ejabberd_ctl,print_usage,0},{ejabberd_ctl,start,0},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()
I find someone who told me that solution will be
$ ejabberdctl ejabberd@mydomain.local
RPC failed on the node 'ejabberd@mydomain.local': nodedown
=ERROR REPORT==== 4-Mar-2010::14:44:50 ===
** System NOT running to use fully qualified hostnames **
** Hostname mydomain.local is illegal **
What I have to do? I can't start it for a week....((
The version of erlang r13b03_1,1.
Quote: Because the newer
Because the newer versions crash, when I write
/usr/local/etc/rc.d/ejabberd start
check_msg: not found.
And I've googled that, but found nothing,
I don't see the word check_msg in ejabberd source code. And I never saw anybody mentioning that error.
You can try to download ejabberd source code, compile, install and then try to start with:
ejabberdctl live
I use 1.1.4-2.
The version of erlang r13b03_1,1.
ejabberd 1.1.* or 2.0.* don't work with Erlang R13.
To use Erlang R13, you need to use ejabberd 2.1.0 or newer.
When I try to use ejabberdctl it write (under user ejabberd):
{"init terminating in do_boot",{badarg,[{ets,match_object,[ejabberd_ctl_cmds,'_']},{ets,tab2list,1},{ejabberd_ctl,print_usage,0},{ejabberd_ctl,start,0},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()
I have seen that error message somewhere, so you are not alone. But I don't remember where it was shown, or how to solve it :(
I find someone who told me that solution will be
$ ejabberdctl ejabberd@mydomain.local
RPC failed on the node 'ejabberd@mydomain.local': nodedown
=ERROR REPORT==== 4-Mar-2010::14:44:50 ===
** System NOT running to use fully qualified hostnames **
** Hostname mydomain.local is illegal **
You can also try
ejabberdctl ejabberd@mydomain
or even:
ejabberdctl ejabberd