ejabberd - Comments for "Error when reading /var/lib/ejabberd/spool/.erlang.cookie: eacces" https://www.ejabberd.im/node/4007 en I'm faced the same error, but https://www.ejabberd.im/node/4007#comment-66377 <p>I'm faced the same error, but turns to be a permission error in /var/lib/ejabberd/PREVIOUS.LOG which was owned by root (?)<br /> I just chown it to ejabberd:ejabberd and things went back to normality.</p> Tue, 10 Nov 2015 12:29:44 +0000 raultk comment 66377 at https://www.ejabberd.im Thanks for pointing me in the https://www.ejabberd.im/node/4007#comment-55604 <p>Thanks for pointing me in the right direction, but it turned out to be /var/log/ejabberd/ejabberd.log that was the trouble. I compared everything to another server that is working, and that file was chmod 644 instead of 640, as it should be.</p> Mon, 19 Apr 2010 15:16:18 +0000 arth comment 55604 at https://www.ejabberd.im It's a disk read permission, https://www.ejabberd.im/node/4007#comment-55599 <p>It's a disk read permission, see <noindex><a href="http://www.erlang.org/doc/man/file.html#read_file-1" rel="nofollow" >the documentation</a></noindex>:</p> <pre> eacces Missing permission for reading the file, or for searching one of the parent directories. </pre><p> In your case, it seems to affect the /var/lib/ejabberd/spool/ dir.</p> Mon, 19 Apr 2010 09:41:59 +0000 mfoss comment 55599 at https://www.ejabberd.im