ejabberd - Comments for "Error running post installation script" https://www.ejabberd.im/node/5095 en Solved on my machine. This is https://www.ejabberd.im/node/5095#comment-58132 <p>Solved on my machine.</p> <p>This is what I did:<br /> Removed my repository ejabberd 2.1.6 completely: sudo apt-get remove --purge ejabberd<br /> Removed erlang dependencies: sudo apt-get autoremove<br /> Installed the ejabberd 2.1.9 from the binary.</p> <p>The installation finished OK, but for some reasom I don't have Start and Stop shortcuts on my desktop.</p> <p>Anyway, I ran into another problem, where I would get a 'sha_drv.so' not found error when running ejabberdctl live.</p> <p>I typed: ldd /opt/ejabberd-2.1.9/lib/ejabberd-2.1.9/priv/linux-x86/lib/sha_drv.so<br /> and found out that the libssl and libcrypto can't be accessed.</p> <p>So I created two symlinks like<br /> ' so:<br /> sudo ln -s libssl.so.1.0.0 libssl.so.0.9.8<br /> sudo ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8</p> <p>and for now, everything is running well.</p> <p>Hope this helps.</p> Mon, 12 Dec 2011 16:23:33 +0000 Shuval comment 58132 at https://www.ejabberd.im galapogos wrote: OK I just https://www.ejabberd.im/node/5095#comment-58131 <div class="quote-msg"> <div class="quote-author"><em>galapogos</em> wrote:</div> <p>OK I just saw this thread <a href="http://www.ejabberd.im/node/4924" title="http://www.ejabberd.im/node/4924">http://www.ejabberd.im/node/4924</a> with an identical problem as mine, except my installation is on Ubuntu rather than Windows. The solution seems to be to uninstall and reinstall. May I know how to uninstall ejabberd? The installation guide doesn't give instructions. apt-get remove ejabberd doesn't work. </p></div> <p>I think that the binary installer only does 2 file-system things: create a directory with the binaries, database, config... (that you can remove completely), and copying the shortcuts in the desktop (that you can also remove). I mean: the installer doesn't touch your /usr, or /bin, or your APT system.</p> <div class="quote-msg"> <div class="quote-author"><em>galapogos</em> wrote:</div> <p>Also, I'm a little confused as to the ejabber server domain. The instruction says that "This computer must be known on the network with this address name". My PC is part of an office network, and my Ubuntu VM is running in Windows 7, and network isn't configured properly yet(trying to figure that one out) and so I'm not sure what my computer is known on the network as. The pre-filled-in value is simply "ubuntu". </p></div> <p>This is a DNS thing. If a user configures his client, in his machine, to connect to the server "ubuntu", probably the client can't find that machine, and obviously his client won't connect to the server.</p> Mon, 12 Dec 2011 10:45:44 +0000 mfoss comment 58131 at https://www.ejabberd.im galapogos wrote: I just https://www.ejabberd.im/node/5095#comment-58130 <div class="quote-msg"> <div class="quote-author"><em>galapogos</em> wrote:</div> <p>I just downloaded and installed ejabberd 2.1.9 on Ubuntu 11.10 in a virtual machine with the ejabberd-2.1.9-linux-x86-installer.bin installer file. After the installation, I was informed that the post-installation script failed to complete.</p> <p>I tried to start ejabberd with the desktop script but I get the error:</p> <p>"Untrusted application launcher - The application launcher "Start ejabber.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may be unsafe." with only a Cancel button.</p> <p>I then tried to launch it with the binary in ejabberd-2.1.9/bin/start, which seemed to work. However, when I tried to authenticate using the admin password that I specified during installation, authentication failed. </p></div> <p>If the installation didn't complete, probably the admin account wasn't registered.</p> <div class="quote-msg"> <div class="quote-author"><em>galapogos</em> wrote:</div> <p>Also, when I try to run the postinstall.sh script, I get the following error:</p> <p>Error: the command "register" requires 3 more arcument.</p> <p>May I know what's wrong? </p></div> <p>Probably that script excepts three arguments: username domain password</p> Mon, 12 Dec 2011 10:40:27 +0000 mfoss comment 58130 at https://www.ejabberd.im Same problem here. Trying to https://www.ejabberd.im/node/5095#comment-58127 <p>Same problem here.<br /> Trying to install ejabberd 2.1.9 on Ubuntu 11.10 and getting a post-installation script failed error.<br /> For the record, I did install the Ubuntu repo version (2.1.6) using: 'sudo apt-get install ejabberd', but since I wanted version 2.1.9 I removed 2.1.6 with: 'sudo apt-get remove ejabberd'.</p> <p>I tried to uninstall 2.1.9 and reinstall it, but the error remains.</p> <p>I don't see any beam, erl or epmd processes before installing.</p> <p>Can anyone help here?</p> <p>Many thanks</p> Sun, 11 Dec 2011 19:57:02 +0000 Shuval comment 58127 at https://www.ejabberd.im OK I just saw this thread https://www.ejabberd.im/node/5095#comment-58112 <p>OK I just saw this thread <a href="http://www.ejabberd.im/node/4924" title="http://www.ejabberd.im/node/4924">http://www.ejabberd.im/node/4924</a> with an identical problem as mine, except my installation is on Ubuntu rather than Windows. The solution seems to be to uninstall and reinstall. May I know how to uninstall ejabberd? The installation guide doesn't give instructions. apt-get remove ejabberd doesn't work.</p> <p>Also, I'm a little confused as to the ejabber server domain. The instruction says that "This computer must be known on the network with this address name". My PC is part of an office network, and my Ubuntu VM is running in Windows 7, and network isn't configured properly yet(trying to figure that one out) and so I'm not sure what my computer is known on the network as. The pre-filled-in value is simply "ubuntu".</p> <p>Would appreciate a little help. Thanks!</p> Thu, 08 Dec 2011 01:55:22 +0000 galapogos comment 58112 at https://www.ejabberd.im