ejabberd - Comments for "FreeBSD 7.2 - how to start ejabberd at boot time ?" https://www.ejabberd.im/node/3737 en Thanx https://www.ejabberd.im/node/3737#comment-54840 <p>Yes, i installed ejabberd with ports. I changed owner to ejabberd and everything is working corretly after BOOT process :) Thank you so much :)</p> Sun, 08 Nov 2009 11:53:36 +0000 durcozb comment 54840 at https://www.ejabberd.im Check file owners https://www.ejabberd.im/node/3737#comment-54836 <p>Have you installed it from ports or from packages or by hands?</p> <p>If you did it from ports/packages, then the rc.d script /usr/local/etc/rc.d/ejabberd uses the account that had been created at install time (ejabberd) to start the server. You can manually check what's wrong with your startup using the command<br /> <code>su ejabberd -c &quot;ejabberdctl live&quot;</code><br /> (effectively doing the same thing that the script does) and then check the error output, but the most probable cause is that your server data files are owned by root, not by ejabberd. I did it like this:</p> <div class="codeblock"><code>chown ejabberd /var/spool/ejabberd<br />chown ejabberd /var/spool/ejabberd/*<br />chown ejabberd /var/spool/ejabberd/.erlang.cookie</code></div> <p>(their mode must be 0700).</p> <p>Regards, Mike.</p> Sun, 08 Nov 2009 00:10:23 +0000 mikekaganski comment 54836 at https://www.ejabberd.im