[ejabberd] ejabberd running error

Eugene Prokopiev prokopiev at stc.donpac.ru
Sat Feb 11 15:52:58 MSK 2006


Hi,

ejabberd started with:

# ps aux | grep ejabber
ejabberd 16635 0.0 1.7 13596 8948 pts/0 S 14:00 0:02 
/usr/lib/erlang/erts-5.4.12/bin/beam -- -root /usr/lib/erlang -progname 
erl -- -home /var/lib/ejabberd -pa /var/lib/ejabberd/ebin -sname 
ejabberd -s ejabberd -ejabberd config "/etc/ejabberd/ejabberd.cfg" 
log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_
ejabberd 16643 0.0 0.0 1184 368 ? S 14:00 0:00 heart -pid 16635
ejabberd 16648 0.0 0.2 2724 1032 ? S 14:00 0:00 
/usr/lib/erlang/lib/ssl-3.0.10/priv/bin/ssl_esock
root 19722 0.0 0.0 1372 436 pts/0 S 14:48 0:00 grep ejab

I can't add any user:

ejabberdctl register admin ats-manager admpwd
Can't register user "admin at ats-manager" at node 'ejabberd at ats-manager': 
{'EXIT',
{badarg,
[{erlang,
port_control,
[stringprep_port,
1,
"ats-manager"]},
{stringprep,
control,
2},
{jlib,
nameprep,
1},
{ejabberd_auth,
try_register,
3},
{rpc,
'-handle_call/3-fun-0-',
5}]}}

I can't connect with Gaim. There are no any service listen on port 5222:

# netstat -pan --inet | grep beam
tcp 0 0 0.0.0.0:53866 0.0.0.0:* LISTEN 16635/beam
tcp 0 0 127.0.0.1:53867 127.0.0.1:4369 ESTABLISHED 16635/beam

/etc/ejabberd/ejabberd.cfg contains:

{acl, local, {user_regexp, ""}}.
{access, configure, [{allow, admin}]}.
{welcome_message, none}.
{access, announce, [{allow, admin}]}.
{access, c2s, [{deny, blocked},
{allow, all}]}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
{access, local, [{allow, local}]}.
{auth_method, internal}.
{hosts, ["ats-manager"]}.
{language, "en"}.
{listen,
[{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},
starttls, {certfile, "./ssl.pem"}]},
]}.
{modules,
[
{mod_register, [{access, register}]},
{mod_roster, []},
{mod_privacy, []},
{mod_configure, []},
{mod_configure2, []},
{mod_disco, []},
{mod_stats, []},
{mod_vcard, []},
{mod_offline, []},
{mod_announce, [{access, announce}]},
{mod_echo, [{host, "echo.localhost"}]},
{mod_private, []},
{mod_muc, [{access, muc},
{access_create, muc},
{access_admin, muc_admin}]},
{mod_pubsub, []},
{mod_time, []},
{mod_last, []},
{mod_version, []}
]}.

What's wrong?

--
Thanks,
Eugene Prokopiev


More information about the ejabberd mailing list