ejabberd - Comments for "Error adding admin user" https://www.ejabberd.im/node/651 en Now my full config is: {acl, https://www.ejabberd.im/node/651#comment-1361 <p>Now my full config is:</p> <p>{acl, local, {user_regexp, ""}}.<br /> {access, configure, [{allow, admin}]}.<br /> {welcome_message, none}.<br /> {access, announce, [{allow, admin}]}.<br /> {access, c2s, [{deny, blocked},<br /> {allow, all}]}.<br /> {shaper, normal, {maxrate, 1000}}.<br /> {shaper, fast, {maxrate, 50000}}.<br /> {access, c2s_shaper, [{none, admin},<br /> {normal, all}]}.<br /> {access, s2s_shaper, [{fast, all}]}.<br /> {access, muc_admin, [{allow, admin}]}.<br /> {access, muc, [{allow, all}]}.<br /> {access, local, [{allow, local}]}.<br /> {auth_method, internal}.<br /> {hosts, ["ats-manager"]}.<br /> {language, "en"}.<br /> {listen,<br /> [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},<br /> starttls, {certfile, "./ssl.pem"}]},<br /> ]}.<br /> {modules,<br /> [<br /> {mod_register, [{access, register}]},<br /> {mod_roster, []},<br /> {mod_privacy, []},<br /> {mod_configure, []},<br /> {mod_configure2, []},<br /> {mod_disco, []},<br /> {mod_stats, []},<br /> {mod_vcard, []},<br /> {mod_offline, []},<br /> {mod_announce, [{access, announce}]},<br /> {mod_echo, [{host, "echo.localhost"}]},<br /> {mod_private, []},<br /> {mod_muc, [{access, muc},<br /> {access_create, muc},<br /> {access_admin, muc_admin}]},<br /> {mod_pubsub, []},<br /> {mod_time, []},<br /> {mod_last, []},<br /> {mod_version, []}<br /> ]}.</p> <p>But I can't see open port 5222 in netstat. File /var/log/ejabberd/ejabberd.log is empty</p> Sat, 11 Feb 2006 12:24:17 +0000 ENP comment 1361 at https://www.ejabberd.im additional strange things # ps https://www.ejabberd.im/node/651#comment-1360 <p>I see additional strange things:</p> <p># ps aux | grep ejabber<br /> 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_<br /> ejabberd 16643 0.0 0.0 1184 368 ? S 14:00 0:00 heart -pid 16635<br /> 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<br /> root 19722 0.0 0.0 1372 436 pts/0 S 14:48 0:00 grep ejab<br /> # netstat -pan --inet | grep beam<br /> tcp 0 0 0.0.0.0:53866 0.0.0.0:* LISTEN 16635/beam<br /> tcp 0 0 127.0.0.1:53867 127.0.0.1:4369 ESTABLISHED 16635/beam<br /> # grep 16635 /etc/services<br /> # grep 16635 /etc/ejabberd/ejabberd.cfg<br /> #</p> <p>But n /etc/ejabberd/ejabberd.cfg I see:</p> <p>% Listened ports:<br /> {listen,<br /> [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},<br /> starttls, {certfile, "./ssl.pem"}]},<br /> {5223, ejabberd_c2s, [{access, c2s},<br /> tls, {certfile, "./ssl.pem"}]},<br /> % Use these two lines instead if TLS support is not compiled<br /> %{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]},<br /> %{5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]},<br /> {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}]},<br /> {5280, ejabberd_http, [http_poll, web_admin]},<br /> {8888, ejabberd_service, [{access, all},<br /> {hosts, ["icq.localhost", "sms.localhost"],<br /> [{password, "secret"}]}]}<br /> ]}.</p> <p>Why?</p> Sat, 11 Feb 2006 11:58:48 +0000 ENP comment 1360 at https://www.ejabberd.im