ejabberd - Comments for "Start eJabberd as Service" https://www.ejabberd.im/node/3625 en Why script just not come good programmed ? https://www.ejabberd.im/node/3625#comment-56332 <p>I having the same problem ..<br /> adduser ejabberd<br /> chmod -Rv /opt/ejabberd-2.1.4/</p> <p>ejabberdctl start work great ...</p> <p>BUT ejabberd.init never start the service ...</p> <p>some suggestion ?</p> Wed, 30 Jun 2010 19:35:08 +0000 yllsuarez comment 56332 at https://www.ejabberd.im Permissions https://www.ejabberd.im/node/3625#comment-54684 <p>Also, if you installed on /opt/ then you need to change the owner of those files like chown -Rv ejabberd:ejabberd /opt/ejabber*</p> Wed, 23 Sep 2009 13:34:51 +0000 devo comment 54684 at https://www.ejabberd.im Looking at that script, I see https://www.ejabberd.im/node/3625#comment-54570 <p>Looking at that script, I see those lines:</p> <pre> USER=ejabberd test -d "$DIR" || exit 0 grep ^"$USER": /etc/passwd &gt;/dev/null || exit 0 </pre><p> It seems ejabberd.init expects that you have a system user called "ejabberd". Otherwise, the script exits without even showing the help. And you must run the script as root.</p> Mon, 24 Aug 2009 12:26:00 +0000 mfoss comment 54570 at https://www.ejabberd.im