terça-feira, 22 de setembro de 2015

Failed to start SYSV: Openfire is an XMPP server


Dica para instalar o Openfire no Oracle Linux / Centos 7

Supondo que você já tenha baixado o Java, o Maridb e o pacote do Openfire.

E ao subir o serviço apareceu :

# service openfire start
Starting openfire (via systemctl):  Job for openfire.service failed. See 'systemctl status openfire.service' and 'journalctl -xn' for details.   [FAILED]
                                                           

# journalctl -xn

localhost.localdomain systemd[1]: Failed to start SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat..
localhost.localdomain systemd[1]: Unit openfire.service entered failed state.


Adicione a linha abaixo no arquivo /etc/yum.conf

multilib_policy=all

E instale o que falta

# yum -y install libstdc++.i686

Feito isso :

# systemctl enable openfire

# service openfire start

# netstat -ant | grep 9090
tcp6       0      0 :::9090                 :::*                    OUÇA


Só configurar.


Referência:
https://community.igniterealtime.org/thread/53255