ejabberd - Comments for "trouble executing ejabberd-2.0.2-linux-x86-installer.bin" https://www.ejabberd.im/node/3189 en Looks good https://www.ejabberd.im/node/3189#comment-53656 <p>Hi Earl, </p> <p>That seems to cover most of the configuration. </p> <p>This might be a matter of preference but there is a web interface that allows the updating of users and various other things. If your on the machine running ejabberd open a browser and go to <noindex><a href="http://localhost:5280/" title="http://localhost:5280/" rel="nofollow" >http://localhost:5280/</a></noindex></p> <p>Use the admin users login credentials to get in. I seem to remember something about ejabberdctl overwriting changes made by the web interface though, although I can't remember where I read that. </p> <p>You may need to uncomment this line and restart ejabberd to get this working:</p> <p> {5280, ejabberd_http, [http_poll, web_admin]}<br /> ]}.</p> <p>Another thing that I've found quite useful is shared rosters and vhosts:</p> <p> <a href="http://www.ejabberd.im/shared-roster-all" title="http://www.ejabberd.im/shared-roster-all">http://www.ejabberd.im/shared-roster-all</a></p> <p> Multiple hosts/domains (vhosts):</p> <p> %% Hostname<br /> {hosts, ["example1.com", "example2.com", "example3.com"]}.</p> Wed, 15 Oct 2008 13:20:33 +0000 kurt comment 53656 at https://www.ejabberd.im found easy to understand tutorial_install + configure https://www.ejabberd.im/node/3189#comment-53655 <p>I just found a very good tutorial that is easy to understand.</p> <p><noindex><a href="http://sysmonblog.co.uk/?p=11" title="http://sysmonblog.co.uk/?p=11" rel="nofollow" >http://sysmonblog.co.uk/?p=11</a></noindex></p> <p>Will be following this tutorial and hope to get things working.</p> <p>Earl</p> Wed, 15 Oct 2008 11:31:15 +0000 Earl comment 53655 at https://www.ejabberd.im toubles installing ejabberd 2.0.1-2 on Ubuntu 8.0.4.1 https://www.ejabberd.im/node/3189#comment-53654 <p>Kurt,</p> <p>I uninstalled erlang-base and erlang-nox and used Synaptic to reinstall ejabberd 2.0.1-2 hardy backport. It automatically added erlang-base and erlang-nox and installed these also. The installation went very fast.</p> <p>Unlike the (false) etch installation, ejabberd does not appear to be running. I only see one process instead of the two using the etch install, which hogged 100% CPU. That second process also had a very long command line (see below at bottom).</p> <p>For hardy backport installation:<br /> # ps -AF |grep erlan*<br /> ejabberd 6053 1 0 498 392 0 21:18 ? 00:00:00 /usr/lib/erlang/erts-5.5.5/bin/epmd -daemon<br /> root 6119 6102 0 751 764 0 21:20 pts/2 00:00:00 grep erlan*</p> <p># ps -AF |grep ejabber*<br /> ejabberd 6053 1 0 498 392 0 21:18 ? 00:00:00 /usr/lib/erlang/erts-5.5.5/bin/epmd -daemon<br /> root 6121 6102 0 751 768 0 21:21 pts/2 00:00:00 grep ejabber*</p> <p># ejabberdctl status<br /> RPC failed on the node ejabberd@Persistent: nodedown</p> <p># ejabberdctl start<br /> RPC failed on the node ejabberd@Persistent: nodedown</p> <p># sudo ejabberdctl register name password<br /> RPC failed on the node ejabberd@Persistent: nodedown</p> <p>I saw a comment<br /> "you need to edit the /etc/ejabberd/ejabberd.cfg and put your hostname in where it tells you in the comments",<br /> but don't understand exactly what to do.</p> <p>Do you have any comments how I can get ejabberd running<br /> completely?</p> <p>Earl</p> <p>--------------------<br /> under /etc/init.d/ejabberd is the following:</p> <p>#! /bin/sh<br /> #<br /> # ejabberd Start/stop ejabberd server<br /> #</p> <p>### BEGIN INIT INFO<br /> # Provides: ejabberd<br /> # Required-Start: $remote_fs $network<br /> # Required-Stop: $remote_fs $network<br /> # Default-Start: 2 3 4 5<br /> # Default-Stop: 0 1 6<br /> # Short-Description: Starts ejabberd jabber server<br /> # Description: Starts ejabberd jabber server, an XMPP<br /> # compliant server written in Erlang.<br /> ### END INIT INFO</p> <p>PATH=/sbin:/bin:/usr/sbin:/usr/bin<br /> EJABBERD=/usr/sbin/ejabberd<br /> EJABBERDCTL=/usr/sbin/ejabberdctl<br /> EJABBERDUSER=ejabberd<br /> NAME=ejabberd</p> <p>test -f $EJABBERD || exit 0<br /> test -f $EJABBERDCTL || exit 0</p> <p># Include ejabberd defaults if available<br /> if [ -f /etc/default/ejabberd ] ; then<br /> . /etc/default/ejabberd<br /> fi</p> <p>ctl()<br /> {<br /> action="$1"<br /> su $EJABBERDUSER -c "$EJABBERDCTL $action" &gt;/dev/null<br /> }</p> <p>start()<br /> {<br /> cd /var/lib/ejabberd<br /> su $EJABBERDUSER -c "$EJABBERD -noshell -detached"<br /> }</p> <p>stop()<br /> {<br /> if ctl stop ; then<br /> cnt=0<br /> sleep 1<br /> while ctl status ; do<br /> echo -n .<br /> cnt=`expr $cnt + 1`<br /> if [ $cnt -gt 60 ] ; then<br /> echo -n " failed"<br /> break<br /> fi<br /> sleep 1<br /> done<br /> else<br /> echo -n " failed"<br /> fi<br /> }</p> <p>case "$1" in<br /> start)<br /> echo -n "Starting jabber server: $NAME"<br /> if ctl status ; then<br /> echo -n " already running"<br /> else<br /> start<br /> fi<br /> ;;<br /> stop)<br /> echo -n "Stopping jabber server: $NAME"<br /> if ctl status ; then<br /> stop<br /> else<br /> echo -n " already stopped"<br /> fi<br /> ;;<br /> restart|force-reload)<br /> echo -n "Restarting jabber server: $NAME"<br /> if ctl status ; then<br /> stop<br /> start<br /> else<br /> echo -n " is not running. Starting $NAME"<br /> start<br /> fi<br /> ;;<br /> *)<br /> echo "Usage: $0 {start|stop|restart|force-reload}" &gt;&amp;2<br /> exit 1<br /> ;;<br /> esac</p> <p>if [ $? -eq 0 ]; then<br /> echo .<br /> else<br /> echo " failed."<br /> fi</p> <p>exit 0<br /> ==========================<br /> here are the two processes when I falsely installed from etch:</p> <p># ps -AF |grep ejabberd</p> <p>ejabberd 4718 1 0 498 396 0 Oct02 ? 00:00:04 /usr/lib/erlang/erts-5.5.5/bin/epmd -daemon</p> <p>ejabberd 4737 1 0 6219 20184 0 Oct02 ? 00:00:28 /usr/lib/erlang/erts-5.5.5/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -sname ejabberd -pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc "/etc/ejabberd/inetrc" -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" -smp disable -noshell -noshell -noinput</p> Wed, 15 Oct 2008 11:00:20 +0000 Earl comment 53654 at https://www.ejabberd.im ejabberd 2.0.1-2 https://www.ejabberd.im/node/3189#comment-53648 <p>There shouldn't be a problem installing that, you will be pulling in dependencies from back ports though so you should just double check that any upgrades won't effect anything else on the system.</p> <p>I decided to stay with the stable release so wouldn't be able to tell you if the newer releases will definetly work on your system. I don't see any problems with what you've done though and I've have completed the installation of ejabberd2 in this way before without any problems. </p> <p>Let me know how you get on. </p> <p>Regards,</p> <p>Kurt</p> Mon, 13 Oct 2008 10:33:27 +0000 kurt comment 53648 at https://www.ejabberd.im toubles installing ejabberd 2.0.1-2 on Ubuntu 8.0.4.1 https://www.ejabberd.im/node/3189#comment-53647 <p>Hi Kurt,</p> <p>yes, I did try to install 2.0.1-2~etch1 on Ubuntu 8.0.4.1.</p> <p>I asked Synaptic to completely remove this, which it did.</p> <p>I then removed from 3rd source repositories:<br /> now unchecked:<br /> <noindex><a href="http://sgolovan.jabber.ru/debian/" title="http://sgolovan.jabber.ru/debian/" rel="nofollow" >http://sgolovan.jabber.ru/debian/</a></noindex> etch main<br /> <noindex><a href="http://www.kamailio.net/debian" title="http://www.kamailio.net/debian" rel="nofollow" >http://www.kamailio.net/debian</a></noindex> sarge main</p> <p>and added<br /> deb <noindex><a href="http://fr.archive.ubuntu.com/ubuntu" title="http://fr.archive.ubuntu.com/ubuntu" rel="nofollow" >http://fr.archive.ubuntu.com/ubuntu</a></noindex> hardy-backports main universe</p> <p>I have seen some comments about the hardy backport and assume that it is working correctly now:<br /> <noindex><a href="https://bugs.launchpad.net/hardy-backports/+bug/237187/comments/4" title="https://bugs.launchpad.net/hardy-backports/+bug/237187/comments/4" rel="nofollow" >https://bugs.launchpad.net/hardy-backports/+bug/237187/comments/4</a></noindex><br /> <noindex><a href="https://lists.ubuntu.com/archives/ubuntu-backports/2008-September/009079.html" title="https://lists.ubuntu.com/archives/ubuntu-backports/2008-September/009079.html" rel="nofollow" >https://lists.ubuntu.com/archives/ubuntu-backports/2008-September/009079...</a></noindex></p> <p>Under Synaptic, I now see ejabberd 2.0.1.-2 and could install it.</p> <p>Please confirm that it is OK to install<br /> ejabberd 2.0.1.-2 hardy backport by using Synaptic.</p> <p>Thanks for your help, Earl</p> Mon, 13 Oct 2008 08:36:15 +0000 Earl comment 53647 at https://www.ejabberd.im Sources https://www.ejabberd.im/node/3189#comment-53646 <p>Could you provide a little more information eg. which sources were added? </p> <p>Isn't etch a Debian release I hope you aren't installing this on an Ubuntu system. What are you running?</p> Mon, 13 Oct 2008 07:41:49 +0000 kurt comment 53646 at https://www.ejabberd.im installed via Synaptic, but CPU=100% https://www.ejabberd.im/node/3189#comment-53645 <p>Hi,</p> <p>I added some sources to the Synaptic package manager and installed ejabberd 2.0.1-2~etch1.</p> <p>Then<br /> # ps -AF |grep ejabberd</p> <p>ejabberd 4718 1 0 498 396 0 Oct02 ? 00:00:04 /usr/lib/erlang/erts-5.5.5/bin/epmd -daemon</p> <p>ejabberd 4737 1 0 6219 20184 0 Oct02 ? 00:00:28 /usr/lib/erlang/erts-5.5.5/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -sname ejabberd -pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc "/etc/ejabberd/inetrc" -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" -smp disable -noshell -noshell -noinput</p> <p>root 23414 23393 0 751 752 0 20:53 pts/1 00:00:00 grep ejabberd<br /> # </p> <p>I noticed that the CPU was at 100%, so I rebooted.</p> <p>After reboot, ps gave same results, so ejabberd is starting at boot-up. However CPU still at 100%.</p> <p>So I commanded</p> <p># kill 4733<br /> # kill 4714<br /> # ps -AF | grep ejabberd<br /> root 5650 5500 0 751 752 0 21:16 pts/0 00:00:00 grep ejabberd<br /> # </p> <p>and guess what: CPU dropped to low %</p> <p>This is really frustrating.</p> Sat, 11 Oct 2008 20:15:38 +0000 Earl comment 53645 at https://www.ejabberd.im Ubuntu sources https://www.ejabberd.im/node/3189#comment-53554 <p>Hey, </p> <p>I've tried doing the installation using the packages and have managed to get it working. I have found that installing from the Ubuntu repository is much easier. </p> <p>If your using Ubuntu desktop goto System &gt;&gt; Administration &gt;&gt; Synaptic Package Manager and then search for ejabberd. Currently the stable release on Ubuntu (&amp;debian) is 1.1.4-4 so if you do want 2+ you'll need to update your sources list or install from source.</p> <p>I believe 2.0.1-2~hardy1 is available in hardy-backports, I don't feel confident enough to leave further instructions here on how to go about installing backports you will need to read up on what this means (ie. I don't want to be responsible for you accidentally upgrading the wrong packages :P )</p> <p>Obviously you can use apt-get and aptitude from the command line (you will still need to update your sources if you need newer versions)</p> <p>Regards,</p> <p>Kurt</p> Mon, 15 Sep 2008 10:45:50 +0000 kurt comment 53554 at https://www.ejabberd.im no problems on Debian https://www.ejabberd.im/node/3189#comment-53546 <p>no problems on Debian 4.0</p> <p>works fine...</p> Fri, 12 Sep 2008 15:46:13 +0000 Lux comment 53546 at https://www.ejabberd.im having the same problem..... https://www.ejabberd.im/node/3189#comment-53526 <p>having the same problem.....</p> Tue, 02 Sep 2008 20:58:32 +0000 khelll comment 53526 at https://www.ejabberd.im