ejabberd - Comments for "Ejabberd on Debian testing" https://www.ejabberd.im/node/1136 en Actually, I dont think that https://www.ejabberd.im/node/1136#comment-2488 <p>Actually, I dont think that hipe vs. non-hipe is the problem, either. Somehow the package was just corrupted is my guess...</p> Wed, 01 Nov 2006 12:07:35 +0000 sandos@jabber.sandos.se comment 2488 at https://www.ejabberd.im I can't imagine that https://www.ejabberd.im/node/1136#comment-2444 <p>I can't imagine that erlang-base-hipe can run ejabberd and erlang-base not. But anyway, happy ejabbering!</p> Mon, 23 Oct 2006 15:23:08 +0000 teo comment 2444 at https://www.ejabberd.im I actually reinstalled the https://www.ejabberd.im/node/1136#comment-2443 <p>I actually reinstalled the package, and Im now using the HIPE enabled erlang debian package. It's running flawlessly now....</p> Mon, 23 Oct 2006 15:07:13 +0000 sandos@jabber.sandos.se comment 2443 at https://www.ejabberd.im Show top few lines of https://www.ejabberd.im/node/1136#comment-2442 <p>Show top few lines of erl_crash.dump. Also, who is the owner of /var/lib/ejabberd, of /var/log/ejabberd. Show the result of </p> <pre>ls -al /var/lib/ejabberd</pre><p> and </p> <pre>ls -al /var/log/ejabberd</pre> Mon, 23 Oct 2006 06:47:59 +0000 teo comment 2442 at https://www.ejabberd.im I found a file called https://www.ejabberd.im/node/1136#comment-2439 <p>I found a file called erl_crash.dump in /var/lib/ejabberd</p> <p>I guess this means something crashed? :)</p> Sun, 22 Oct 2006 13:40:05 +0000 sandos@jabber.org comment 2439 at https://www.ejabberd.im It _seems_ its not saving my https://www.ejabberd.im/node/1136#comment-2437 <p>It _seems_ its not saving my roster for some reason.</p> <p>Revise: It was _not_ working at all. I was connecting to jabber.org instead. My server is still unusable. =(</p> Sun, 22 Oct 2006 13:32:18 +0000 sandos@jabber.org comment 2437 at https://www.ejabberd.im Working now! ;) https://www.ejabberd.im/node/1136#comment-2435 <p>ps axu | egrep '(beam|epmd)'<br /> ejabberd 2944 0.0 0.0 1740 416 ? S Oct03 0:00 /usr/lib/erlang/erts-5.5.1/bin/epmd -daemon<br /> ejabberd 6445 0.0 1.3 22500 10084 pts/5 Sl Oct19 0:17 /usr/lib/erlang/erts-5.5.1/bin/beam -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -sname ejabberd -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" -noshell -noshell -noinput<br /> root 5655 0.0 0.0 1956 620 pts/8 R+ 12:09 0:00 grep -E (beam|epmd)</p> <p>Weirdly enough, I've done _nothing_ to the machine, but now its working again! I'm sure it will stop working sometime again though...</p> <p>--- /usr/share/ejabberd/ejabberd.cfg 2006-10-08 12:12:21.000000000 +0200<br /> +++ /etc/ejabberd/ejabberd.cfg 2006-10-19 22:51:27.000000000 +0200<br /> @@ -6,10 +6,10 @@<br /> %% ucf section</p> <p> %% Admin user<br /> -{acl, admin, {user, "__USER__", "__HOSTNAME__"}}.<br /> +{acl, admin, {user, "sandos", "jabber.sandos.se"}}.</p> <p> %% Hostname<br /> -{hosts, ["__HOSTNAME__"]}.<br /> +{hosts, ["jabber.sandos.se"]}.</p> <p> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</p> <p>@@ -150,9 +150,9 @@<br /> % {host, "muc.localhost", [{password, "secret"}]}]},</p> <p> % Jabber ICQ Transport<br /> -% {5555, ejabberd_service, [{ip, {127, 0, 0, 1}},<br /> -% {access, all},<br /> -% {hosts, ["icq.localhost", "sms.localhost"], [{password, "secret"}]}]},<br /> + {5555, ejabberd_service, [{ip, {127, 0, 0, 1}},<br /> + {access, all},<br /> + {hosts, ["icq.jabber.sandos.se", ], [{password, "majs"}]}]},</p> <p> % AIM Transport<br /> % {5556, ejabberd_service, [{ip, {127, 0, 0, 1}},</p> <p>I wonder if this is somehow timing related. Any timing I can think of is DNS-lookups, but [icq.]jabber.sandos.se does resolve. Might be that it takes some time (hours??) to start ejabberd?</p> <p>I will have to investigate a bit more I think.</p> Sun, 22 Oct 2006 10:15:00 +0000 sandos@jabber.org comment 2435 at https://www.ejabberd.im There were similar symptoms https://www.ejabberd.im/node/1136#comment-2431 <p>There were similar symptoms in Debian bug tracking system: <noindex><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393994" title="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393994" rel="nofollow" >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393994</a></noindex><br /> Can you show the output of</p> <pre>ps axu | egrep '(beam|epmd)'</pre><p>and</p> <pre>diff /usr/share/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberd.cfg</pre> Sat, 21 Oct 2006 12:40:29 +0000 teo comment 2431 at https://www.ejabberd.im Its not logging anything, https://www.ejabberd.im/node/1136#comment-2430 <p>Its not logging anything, thats the problem. It for some reason stops logging after awhile, but epmd/beam is still running. It also seems to close its ports. (This could be it happend only after restart, not sure)</p> <p>I tried compiling erlang (0.10, following the guide) myself, and was planning on compiling ejabberd aswell, but the erlang compile failed with some error that Google was not able to help me with. :(</p> Sat, 21 Oct 2006 10:21:39 +0000 sandos@jabber.org comment 2430 at https://www.ejabberd.im Try to be more specific in https://www.ejabberd.im/node/1136#comment-2425 <p>Try to be more specific in "is not working at all". Are there epmd and beam processes after ejabberd start? Are there log files in /var/log/ejabberd? Could you show sasl.log from there?</p> Fri, 20 Oct 2006 10:40:01 +0000 teo comment 2425 at https://www.ejabberd.im