ejabberd - Comments for "Once again: Login into Webadmin fails" https://www.ejabberd.im/node/1092 en in 1.1.2 still same problem with web admin console https://www.ejabberd.im/node/1092#comment-2358 <p>hi all,</p> <p>still have the same problem with version 1.1.2.<br /> the problem exist with the initial administrator and a new account.<br /> are there any other known solutions?</p> <p>override_acls.<br /> {acl, admin, {user, "admin", "hostname"}}.<br /> {acl, local, {user_regexp, ""}}.<br /> {access, pubsub_createnode, [{allow, all}]}.<br /> {access, configure, [{allow, admin}]}.</p> <p>If I exchgange following line with the next one it works fine!!!<br /> {access, configure, [{allow, admin}]}.<br /> {access, configure, [{allow, all}]}.</p> <p>When I log on to Web Console I can see I AM an Administrator. But I still can´t connect when I use the first line!?<br /> (I don´t know if this is important - I used the Installer Package)</p> <p>thanks for advise</p> <p>joe</p> Tue, 03 Oct 2006 07:47:49 +0000 weij comment 2358 at https://www.ejabberd.im works fine, thx again. https://www.ejabberd.im/node/1092#comment-2352 <p>works fine, thx again.</p> Fri, 29 Sep 2006 13:36:07 +0000 kriz99 comment 2352 at https://www.ejabberd.im Yes, the latter is probably https://www.ejabberd.im/node/1092#comment-2342 <p>Yes, the latter is probably better, but FreeBSD is also a good alternative for ejabberd ;-)</p> <p>--<br /> sander</p> Wed, 27 Sep 2006 16:20:48 +0000 sander comment 2342 at https://www.ejabberd.im I do know Cygwin, but never https://www.ejabberd.im/node/1092#comment-2341 <p>I do know Cygwin, but never tried... but installing the whole package only to add an admin? I'm not sure... I think I wait for 1.2 beta - or switch to Linux. ;-)</p> Wed, 27 Sep 2006 09:44:47 +0000 kriz99 comment 2341 at https://www.ejabberd.im The ejabberd 1.1.1 installer https://www.ejabberd.im/node/1092#comment-2340 <p>The ejabberd 1.1.1 installer was compiled for Erlang R10B-10, and you installed R11B instead. Just uninstall R11 and install R10.</p> Wed, 27 Sep 2006 09:12:49 +0000 mfoss comment 2340 at https://www.ejabberd.im Cygwin is Windows software; https://www.ejabberd.im/node/1092#comment-2339 <p>Cygwin is Windows software; it adds missing parts to Windows ;-)</p> <p>--<br /> sander</p> Wed, 27 Sep 2006 08:34:55 +0000 sander comment 2339 at https://www.ejabberd.im I've tried it with Exodus https://www.ejabberd.im/node/1092#comment-2337 <p>I've tried it with Exodus using:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Jabber ID: admin@jabber.local<br /> Password: admin<br /> Ressource: WORK (btw: what stands that for?)<br /> Priority: 1<br /> Save PWD: checked<br /> This is a new account: checked </p></div> <p>...but the server only responds this: </p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Erlang (BEAM) emulator version 5.5.1 [async-threads:0]</p> <p>Eshell V5.5.1 (abort with ^G)<br /> (ejabberd@wss08)1&gt;<br /> =INFO REPORT==== 27-Sep-2006::07:21:46 ===<br /> I(&lt;0.225.0&gt;:ejabberd_listener:90): (#Port&lt;0.326&gt;) Accepted connection {{172,17,<br /> xxx,xxx},1115} -&gt; {{172,17,xxx,xxx},5222}</p> <p>=ERROR REPORT==== 27-Sep-2006::07:21:47 ===<br /> ** Generic server &lt;0.289.0&gt; terminating<br /> ** Last message in was {tcp,#Port&lt;0.326&gt;,<br /> &lt;&lt;""&gt;<br /> }<br /> ** When Server state == {state,#Port&lt;0.326&gt;,<br /> gen_tcp,<br /> none,<br /> &lt;0.288.0&gt;,<br /> infinity,<br /> {xml_stream_state,<br /> &lt;0.288.0&gt;,<br /> #Port&lt;0.331&gt;,<br /> [],<br /> 0,<br /> infinity},<br /> infinity}<br /> ** Reason for termination ==<br /> ** {badarg,[{erlang,binary_to_term,<br /> [&lt;&lt;0,0,0,0,131,108,0,0,0,1,104,2,97,0,104,2,107,0,13,115,11<br /> ,114,101,97,109,58,115,116,114,101,97,109,108,0,0,0,4,104,2,107,0,2,116,111,107<br /> 0,12,106,97,98,98,101,114,46,108,111,99,97,108,104,2,107,0,5,120,109,108,110,11<br /> ,107,0,13,106,97,98,98,101,114,58,99,108,105,101,110,116,104,2,107,0,12,120,109<br /> 108,110,115,58,115,116,114,101,97,109,107,0,32,104,116,116,112,58,47,47,101,116<br /> 104,101,114,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114,101,97,10<br /> ,115,104,2,107,0,7,118,101,114,115,105,111,110,107,0,3,49&gt;&gt;]},<br /> {xml_stream,parse,2},<br /> {ejabberd_receiver,process_data,2},<br /> {ejabberd_receiver,handle_info,2},<br /> {gen_server,handle_msg,6},<br /> {proc_lib,init_p,5}]} </p></div> <p>What does that mean?</p> Wed, 27 Sep 2006 06:27:38 +0000 kriz99 comment 2337 at https://www.ejabberd.im Windows installer https://www.ejabberd.im/node/1092#comment-2336 <p>Ok... then I wait 'til it's released and try again.</p> Wed, 27 Sep 2006 05:51:31 +0000 kriz99 comment 2336 at https://www.ejabberd.im Cygwin https://www.ejabberd.im/node/1092#comment-2335 <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>1 will probably work when you install Cygwin. You better do this, because it makes Windows less userunfriendly</p></div> <p>If I wanted to run Linux I would have installed it. :-D</p> Wed, 27 Sep 2006 05:48:12 +0000 kriz99 comment 2335 at https://www.ejabberd.im The upcoming packaged https://www.ejabberd.im/node/1092#comment-2334 <p>The upcoming packaged Windows installer let you define the admin account and password at installation time.<br /> It has been in beta test and it will be release for ejabberd 1.1.2 (due tomorrow).</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net" rel="nofollow" >Process-one</a></noindex></p> Tue, 26 Sep 2006 21:24:30 +0000 mremond comment 2334 at https://www.ejabberd.im 1 will probably work when https://www.ejabberd.im/node/1092#comment-2332 <p>1 will probably work when you install Cygwin. You better do this, because it makes Windows less userunfriendly :o)</p> <p>--<br /> sander</p> Tue, 26 Sep 2006 17:35:37 +0000 sander comment 2332 at https://www.ejabberd.im create the jabber account with any client https://www.ejabberd.im/node/1092#comment-2330 <div class="quote-msg"> <div class="quote-author"><em>kriz99</em> wrote:</div> <p>Is 1. possible with Ejabbered on Windows?</p></div> <p>Not that I'm aware, but don't worry.</p> <div class="quote-msg"> <div class="quote-author"><em>kriz99</em> wrote:</div> <p>Or what Client can I take do do this (I have exodus installed)?</p></div> <p>Most Jabber clients can register accounts, Exodus too.</p> Tue, 26 Sep 2006 14:22:08 +0000 mfoss comment 2330 at https://www.ejabberd.im Thx... your right! But I https://www.ejabberd.im/node/1092#comment-2329 <p>Thx... your right! But I believe I've even missed "3.3 Creating an Initial Administrator"! Sorry, my mistake. </p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Instructions to create an initial administrator account:</p> <p> 1. Register an account on your ejabberd deployment. An account can be created in two ways:<br /> 1. Using the tool ejabberdctl (see section 3.4.2):</p> <p> % ejabberdctl node@host register admin example.org password</p> <p> 2. Using In-Band Registration (see section A.14): you can use a Jabber client to register an account. </p></div> <p>Is 1. possible with Ejabbered on Windows? Or what Client can I take do do this (I have exodus installed)?</p> <p>Thx again,<br /> Chris</p> Tue, 26 Sep 2006 14:07:18 +0000 kriz99 comment 2329 at https://www.ejabberd.im kriz99 wrote: When I go to https://www.ejabberd.im/node/1092#comment-2328 <div class="quote-msg"> <div class="quote-author"><em>kriz99</em> wrote:</div> <p>When I go to <noindex><a href="http://host:5280/admin" title="http://host:5280/admin" rel="nofollow" >http://host:5280/admin</a></noindex> and try to login using:</p> <p>admin@jabber.local<br /> admin</p> <p>My ejabberd.cfg:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>...<br /> %override_acls.</p> <p>% Users that have admin access. Add line like one of the following after you<br /> % will be successfully registered on server to get admin access:<br /> %{acl, admin, {user, "aleksey"}}.<br /> %{acl, admin, {user, "ermine"}}.<br /> {acl, admin, {admin, "admin", "jabber.local"}}. </p></div> <p>Where is the problem? </p></div> <p>The syntax on your ejabberd.cfg is not correct, and you will need to override the old ACLs, so replace</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>%override_acls.<br /> {acl, admin, {admin, "admin", "jabber.local"}}.</p></div> <p>with</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>override_acls.<br /> {acl, admin, {user, "admin", "jabber.local"}}.</p></div> Tue, 26 Sep 2006 13:46:07 +0000 mfoss comment 2328 at https://www.ejabberd.im