![Al iniciar el servicio activemq en Linux aparece el mensaje: "Cargado: cargado (/etc/init.d/activemq; incorrecto; preestablecido del proveedor: habilitado)"](https://rvso.com/image/1557232/Al%20iniciar%20el%20servicio%20activemq%20en%20Linux%20aparece%20el%20mensaje%3A%20%22Cargado%3A%20cargado%20(%2Fetc%2Finit.d%2Factivemq%3B%20incorrecto%3B%20preestablecido%20del%20proveedor%3A%20habilitado)%22.png)
Mi activemq cayó repentinamente (no estoy seguro de por qué). Cuando intento iniciar el servicio por
sudo service activemq starts
Parece estar bien. Sin embargo, cuando verifico el estado usando
sudo service activemq status
Recibí el siguiente mensaje.
activemq.service - LSB: Starts ActiveMQ
Loaded: loaded (/etc/init.d/activemq; bad; vendor preset: enabled)
Active: active (exited) since Fri 2018-03-30 19:51:54 UTC; 44min ago
Docs: man:systemd-sysv-generator(8)
Process: 1253 ExecStart=/etc/init.d/activemq start (code=exited, status=0/SUCCESS)
Tasks: 0
Memory: 0B
CPU: 0
Mar 30 19:51:54 ip-172-31-43-187 systemd[1]: Starting LSB: Starts ActiveMQ...
Mar 30 19:51:54 ip-172-31-43-187 activemq[1253]: INFO: Loading '/etc/default/activemq'
Mar 30 19:51:54 ip-172-31-43-187 activemq[1253]: INFO: Using java '/usr/bin/java'
Mar 30 19:51:54 ip-172-31-43-187 activemq[1253]: INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
Mar 30 19:51:54 ip-172-31-43-187 activemq[1253]: INFO: changing to user 'activemq' to invoke java
Mar 30 19:51:54 ip-172-31-43-187 su[1352]: Successful su for activemq by root
Mar 30 19:51:54 ip-172-31-43-187 su[1352]: + ??? root:activemq
Mar 30 19:51:54 ip-172-31-43-187 su[1352]: pam_unix(su:session): session opened for user activemq by (uid=0)
Mar 30 19:51:54 ip-172-31-43-187 activemq[1253]: INFO: pidfile created : '/etc//data/activemq.pid' (pid '1370')
Mar 30 19:51:54 ip-172-31-43-187 systemd[1]: Started LSB: Starts ActiveMQ.
Tenga en cuenta que si uso ps aux
, puedo encontrar el pid de activemq. Actualmente estoy usando el nivel gratuito de AWS. Y mi sistema de servidor Linux es
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
¿Algunas ideas? tipo. Por favor ayuda.
Respuesta1
Parece que podrías estar encontrando un error Error de Ubuntu ActiveMQ
en lugar desudo service activemq starts
prueba systemctl start activemq.service
que también puede fallar
Finalmente intenta /etc/init.d/activemq console main
vigilar el error.
buena suerte