ejabberd - Comments for "FreeBSD 5.4 Problems starting...." https://www.ejabberd.im/node/556 en Re: Tks for the reply. I https://www.ejabberd.im/node/556#comment-1191 <div class="quote-msg"> <div class="quote-author"><em>blake</em> wrote:</div> <p>But by running ejabberctl as user ejabberd, it all seems to work. Is it ok to continue this way? Or is there some reason it's better not to do this?</p></div> <p>I think it's ok, and in fact avoiding the root account is a good idea for security reasons.</p> <div class="quote-msg"> <div class="quote-author"><em>blake</em> wrote:</div> <p>Now when I try to log on to the web, having set my user as an admin in the ejabberd.cfg, it does not accept the logon.</p> <p><noindex><a href="http://ejabber.my.local:5280/admin/" title="http://ejabber.my.local:5280/admin/" rel="nofollow" >http://ejabber.my.local:5280/admin/</a></noindex></p> <p>brings up the logon:</p> <p>Name: blake<br /> Pass: password</p> <p>No go! </p></div> <p>When you browser asks for the 'username', put the full JID. It's described on the ejabberd guide.</p> Sat, 24 Dec 2005 00:02:03 +0000 mfoss comment 1191 at https://www.ejabberd.im Tks for the reply. I https://www.ejabberd.im/node/556#comment-1190 <p>Tks for the reply. I appreciate your help.<br /> I've no knowledge at all of erl, so hope I can grasp this.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>I think the reason is: ejabberdctl and ejabberd must have the same 'cookie' (it's an Erlang/OTP thing, not related to your webbrowser). The cookie can be set on $HOME/.erlang.cookie, or with -setcookie SDADSAD option when calling 'erl'. </p></div> <p>I'm not clear how to set the cookies at all. But by running ejabberctl as user ejabberd, it all seems to work. Is it ok to continue this way? Or is there some reason it's better not to do this?</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Ejabberd says this when I put a wrong Jabber server. If you say 'blake ejabber password', in ejabberd.cfg you have something like this, right? </p></div> <p>I still had the full domain name here, so changed it. It then registered a new user. It now shows when asked to list: </p> <p>blake@ejabber</p> <p>Now when I try to log on to the web, having set my user as an admin in the ejabberd.cfg, it does not accept the logon.</p> <p><noindex><a href="http://ejabber.my.local:5280/admin/" title="http://ejabber.my.local:5280/admin/" rel="nofollow" >http://ejabber.my.local:5280/admin/</a></noindex></p> <p>brings up the logon:</p> <p>Name: blake<br /> Pass: password</p> <p>No go!</p> <p>I am now able to register new users from client programs, so that's good.</p> <p>tks.</p> <p>~ blake</p> Fri, 23 Dec 2005 23:32:37 +0000 blake comment 1190 at https://www.ejabberd.im Re: FreeBSD 5.4 Problems starting.... https://www.ejabberd.im/node/556#comment-1189 <div class="quote-msg"> <div class="quote-author"><em>blake</em> wrote:</div> <p>from my system, as root:<br /> ejabberdctl ejabbderd@ejabber status</p> <p>error returned:<br /> Can't get node ejabbderd@ejabber status: nodedown</p> <p>If I su to user jabberd and do the same:<br /> ejabberdctl ejabbderd@ejabber status</p> <p>results:<br /> Node ejabberd@ejabber is started. Status: started </p></div> <p>I think the reason is: ejabberdctl and ejabberd must have the same 'cookie' (it's an Erlang/OTP thing, not related to your webbrowser). The cookie can be set on $HOME/.erlang.cookie, or with -setcookie SDADSAD option when calling 'erl'.</p> <div class="quote-msg"> <div class="quote-author"><em>blake</em> wrote:</div> <p>When trying to register a new user as user jabberd:<br /> ejabberdctl ejabberd@ejabber register blake ejabber password</p> <p>results:<br /> Can't register user "blake@ejabber" at node ejabberd@ejabber: not_allowed </p></div> <p>Ejabberd says this when I put a wrong Jabber server. If you say 'blake ejabber password', in ejabberd.cfg you have something like this, right?</p> <pre>{hosts, ["ejabber"]}.</pre> Fri, 23 Dec 2005 20:33:55 +0000 mfoss comment 1189 at https://www.ejabberd.im