ejabberd - Comments for "[newy] first start problems" https://www.ejabberd.im/node/173 en web admin https://www.ejabberd.im/node/173#comment-468 <p>i run into problem when access <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> with result "not allow".</p> <p>Can you access this url? if can, how to conf it?</p> <p>Thanks</p> Thu, 19 May 2005 13:23:25 +0000 wangyatong comment 468 at https://www.ejabberd.im Great!!! https://www.ejabberd.im/node/173#comment-367 <p>Ok, Really thank you for being so helpfull with such an awful newby ;o)<br /> Now, every things seem to work properly. So, I am going to try XMPP and test what I can make with this platform...<br /> See you next time I get a challenge in my XMPP quest ;o)</p> Thu, 21 Apr 2005 08:12:06 +0000 Seb comment 367 at https://www.ejabberd.im webadmin: use the full JID https://www.ejabberd.im/node/173#comment-361 <blockquote>there is always a "but" in my posts</blockquote> <p>Yes, I noticed that :)</p> <blockquote>I still get a "401 unauthorised"</blockquote> <p> Possible errors when authenticating on the web admin: <ul> <li>401 unauthorised: you did not specify an existing user, or a valid password. On ejabberd 0.9, the webadmin login user is the full JID: admin@localhost or admin@cpuname... </li><li>Not Allowed: you entered an existing user, but he has no privileges to view the page. </li></ul> </p> <blockquote>I am wondering why my XMPP server on localhost only works with user@localhost JIDs and not with user@cpuName JIDs</blockquote> <p>Set the host name in ejabberd.cfg to the Jabber server name: 'cpuname', or 'cpuname.org' or jabber.cpuname.org'..., not to 'localhost'. JIDs will be user@servername.</p> Tue, 19 Apr 2005 14:12:45 +0000 mfoss comment 361 at https://www.ejabberd.im nearly working... https://www.ejabberd.im/node/173#comment-360 <p>Ok, ejabberd server and ejabberdctl work properly now.</p> <p>But (there is always a "but" in my posts...), I cannot log in the admin console. I set {acl, admin, {user, "admin"}} and created a account for admin but I still get a "401 unauthorised". I restarted several times the server to make it take into account the admin settings but it does not work better... Any idea?</p> <p>Moreover, I am wondering why my XMPP server on localhost only works with user@localhost JIDs and not with user@cpuName JIDs (cpuName is the name of my computer on the network) whereas all the application are able to make the translation and use both server name (i.e. localhost or cpuName). PDUs are routed on the same machine/interface, that is to say it should make no differences...</p> <p>Regards,<br /> Seb</p> Tue, 19 Apr 2005 12:33:25 +0000 Seb comment 360 at https://www.ejabberd.im copy the script to the beam directory https://www.ejabberd.im/node/173#comment-359 <blockquote>ejabberdctl script does not work: undef, [{ejabberd_ctl,start</blockquote> <p>The error reported by Erlang when running that script means it can't find the ejabberd *.beam files. Check these solutions: <ul> <li>Copy that script to the directory where ejabberd *.beam files are, and execute it from there. </li><li>Tell Erlang the directory where the ejabberd *.beam files are; add something like this to the script: -pa /var/lib/ejabberd/ebin </li></ul> </p> <blockquote>{acl, admin, {user, "Admin"}}</blockquote> <p>It's not relevant now, but better put it lowercase.</p> <blockquote>Psi (it does not know the server...)</blockquote> <p>Maybe the server name can't be resolved. Does 'ping servername' work?. Try setting the servername as 'localhost', it should work</p> Tue, 19 Apr 2005 11:00:54 +0000 mfoss comment 359 at https://www.ejabberd.im It works ;o) https://www.ejabberd.im/node/173#comment-358 <p>Ok, I downloaded las ejabberd version 0.9 and I made a new installation that seems to work... but I still have a problem (I am a horrible newby, don't you think?): I cannot create a user account.<br /> Indeed, I have not an access to the admin console since I have not created my admin account yet and ejabberdctl script does not work (see the error message below). I specified a username for admin in the ejabberd.cfg with {acl, admin, {user, "Admin"}}. but I am not able to create this account even if I use Psi (it does not know the server...).<br /> So, how to make a first XMPP admin account on the ejabberd server?</p> <p>Regards,<br /> Seb</p> <p>ejabberdctl's error message:<br /> {"init terminating in do_boot",{undef,[{ejabberd_ctl,start,[]},{init,start_it,1},{init,start_em,1}]}}</p> <p>Crash dump was written to: erl_crash.dump<br /> init terminating in do_boot ()</p> Tue, 19 Apr 2005 09:23:14 +0000 Seb comment 358 at https://www.ejabberd.im I have a ejabberd.cfg file in https://www.ejabberd.im/node/173#comment-357 <blockquote>I have a ejabberd.cfg file in /etc/ejabberd/ and directly in /var/lib/ejabberd/</blockquote> <p>If you do not specify the exact file with '-ejabberd config "/etc/ejabberd/ejabberd.cfg" ', ejabberd will look for ejabberd.cfg on the current directory, where the *.beam files are.</p> Tue, 19 Apr 2005 08:52:38 +0000 mfoss comment 357 at https://www.ejabberd.im Still does not work... https://www.ejabberd.im/node/173#comment-356 <p>Thanks for your help but I still cannot make it work...<br /> I have a ejabberd.cfg file in /etc/ejabberd/ and directly in /var/lib/ejabberd/ but I always get the same ERROR report, even if I am logged as root with full rights on the files. So, is there another mistake I could have done?</p> <p>thanks,<br /> Seb</p> Tue, 19 Apr 2005 08:41:19 +0000 Seb comment 356 at https://www.ejabberd.im Solution... https://www.ejabberd.im/node/173#comment-354 <p>If you pass the locale of the cfg file to the erl command as an argument it seems to work:<br /> erl -pa /var/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path "/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir "/var/lib/ejabberd/spool\"</p> <p>Or just copy the ejabberd.cfg from /etc/ejabberd to /var/lib/ejabberd</p> Mon, 18 Apr 2005 20:26:56 +0000 adaughterson comment 354 at https://www.ejabberd.im ejabberd.cfg does not exist https://www.ejabberd.im/node/173#comment-353 <blockquote>I tried to start it without any success</blockquote> <p>Only ERROR and CRASH REPORT are significant now. The key is here: <pre>=<b>ERROR REPORT</b>==== 18-Apr-2005::12:05:56 === E(&lt;0.39.0>:ejabberd_config:58): <b>Can't load config file "ejabberd.cfg"</b>: <b>enoent</b></pre> The error is that ejabberd can't load the config file 'ejabberd.cfg'. And 'enoent' means that the file does not even exist.</p> <p>You can use 'ejabberd.cfg.example' to create your config file. Don't forget to specify its full path to erlang, and make it readable by the user that will run ejabberd.</p> <blockquote>I would like to install transport components on ejabberd</blockquote> <p>I hope <a href="/tutorials-transports">those tutorials</a> are good enought :)</p> Mon, 18 Apr 2005 14:59:31 +0000 mfoss comment 353 at https://www.ejabberd.im