how to uninstall ejabberd & upgrade it to new version on centos

hi

i has installed ejabberd 2.1.11 on my vps , and i want uninstall it but dont know by which command i should uninstall it ! im newbie , can anybody say how to uninstall it?

and i want upgrade it to last version , how i should do this?

TNX

i remove ejabberd old version

i remove ejabberd old version by this command

yum remove ejabberd

and i get ejabberd last version by this command

[root@imagap ~]# wget http://www.process-one.net/downloads/ejabberd/13.12/ejabberd-13.12-linux...
--2014-03-29 05:36:35-- http://www.process-one.net/downloads/ejabberd/13.12/ejabberd-13.12-linux...
Resolving www.process-one.net... 54.235.202.77
Connecting to www.process-one.net|54.235.202.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15624723 (15M) [application/octet-stream]
Saving to: `ejabberd-13.12-linux-x86-installer.run'

100%[======================================>] 15,624,723 1.03M/s in 13s

2014-03-29 05:36:53 (1.13 MB/s) - `ejabberd-13.12-linux-x86-installer.run' saved [15624723/15624723]

and do this command for install

[root@imagap ~]# chmod +x ejabberd-13.12-linux-x86-installer.run
[root@imagap ~]# chmod 755 ejabberd-13.12-linux-x86-installer.run

but after all installation level i got this error

Please wait while Setup installs ejabberd on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################
Error: Error running Post Install Script.
The installation may have not completed correctly

what should i do to solve it?

Hi I would remove the old

Hi

I would remove the old version of ejabberd using the following command

yum remove ejabberd

And a new version of it using the following command I received

[root@imagap ~]# wget http://www.process-one.net/downloads/ejabberd/13.12/ejabberd-13.12-linux...
--2014-03-29 05:36:35-- http://www.process-one.net/downloads/ejabberd/13.12/ejabberd-13.12-linux...
Resolving www.process-one.net... 54.235.202.77
Connecting to www.process-one.net|54.235.202.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15624723 (15M) [application/octet-stream]
Saving to: `ejabberd-13.12-linux-x86-installer.run'

100%[======================================>] 15,624,723 1.03M/s in 13s

2014-03-29 05:36:53 (1.13 MB/s) - `ejabberd-13.12-linux-x86-installer.run' saved [15624723/15624723]

 I installed it using the following command:

[root@imagap ~]# chmod +x ejabberd-13.12-linux-x86-installer.run
[root@imagap ~]# chmod 755 ejabberd-13.12-linux-x86-installer.run
[root@imagap ~]# ./ejabberd-13.12-linux-x86-installer.run

But at the end of the installation I get the following error

Please wait while Setup installs ejabberd on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################
Error: Error running Post Install Script.
The installation may have not completed correctly

To fix this error, what should I do?

Thank

You should check the

You should check the install.log in /opt/ejabberd/logs directory.

It's too late to reply this, but maybe someone else find this helpful.

Having the same issue,

Having the same issue, checked my logs. Postinstall.sh fails. When I run it manually, it says:
* Checking ejabberd installation

* Starting ejabberd instance
* Error, ejabberd can not start

Installed 15.03, works.

Installed 15.03, works.

Syndicate content