Error running post installation script

Hi

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.

I tried to start ejabberd with the desktop script but I get the error:

"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.

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.

Also, when I try to run the postinstall.sh script, I get the following error:

Error: the command "register" requires 3 more arcument.

May I know what's wrong?

Thanks.

OK I just saw this thread

OK I just saw this thread http://www.ejabberd.im/node/4924 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.

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".

Would appreciate a little help. Thanks!

galapogos wrote: OK I just

galapogos wrote:

OK I just saw this thread http://www.ejabberd.im/node/4924 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.

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.

galapogos wrote:

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".

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.

Same problem here. Trying to

Same problem here.
Trying to install ejabberd 2.1.9 on Ubuntu 11.10 and getting a post-installation script failed error.
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'.

I tried to uninstall 2.1.9 and reinstall it, but the error remains.

I don't see any beam, erl or epmd processes before installing.

Can anyone help here?

Many thanks

Solved on my machine. This is

Solved on my machine.

This is what I did:
Removed my repository ejabberd 2.1.6 completely: sudo apt-get remove --purge ejabberd
Removed erlang dependencies: sudo apt-get autoremove
Installed the ejabberd 2.1.9 from the binary.

The installation finished OK, but for some reasom I don't have Start and Stop shortcuts on my desktop.

Anyway, I ran into another problem, where I would get a 'sha_drv.so' not found error when running ejabberdctl live.

I typed: ldd /opt/ejabberd-2.1.9/lib/ejabberd-2.1.9/priv/linux-x86/lib/sha_drv.so
and found out that the libssl and libcrypto can't be accessed.

So I created two symlinks like
' so:
sudo ln -s libssl.so.1.0.0 libssl.so.0.9.8
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8

and for now, everything is running well.

Hope this helps.

galapogos wrote: I just

galapogos wrote:

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.

I tried to start ejabberd with the desktop script but I get the error:

"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.

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.

If the installation didn't complete, probably the admin account wasn't registered.

galapogos wrote:

Also, when I try to run the postinstall.sh script, I get the following error:

Error: the command "register" requires 3 more arcument.

May I know what's wrong?

Probably that script excepts three arguments: username domain password

Syndicate content