Linux에서 activemq 서비스를 시작하면 "로드됨: 로드됨(/etc/init.d/activemq; 불량; 공급업체 사전 설정: 활성화됨)"이라는 메시지가 표시됩니다.

Linux에서 activemq 서비스를 시작하면 "로드됨: 로드됨(/etc/init.d/activemq; 불량; 공급업체 사전 설정: 활성화됨)"이라는 메시지가 표시됩니다.

내 activemq가 갑자기 다운되었습니다(이유는 확실하지 않음). 내가 서비스를 시작하려고 할 때

sudo service activemq starts 

괜찮은 것 같습니다. 그러나 다음을 사용하여 상태를 확인하면

sudo service activemq status

다음 메시지를 받았습니다.

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.

을 사용하면 ps auxactivemq pid를 찾을 수 있습니다. 현재 AWS 프리 티어를 사용하고 있습니다. 그리고 내 Linux 서버 시스템은

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

어떤 아이디어가 있나요? 얘들아. 도와주세요.

답변1

버그가 발생한 것 같습니다. 우분투 activemq 버그

대신에sudo service activemq starts

systemctl start activemq.service 실패할 수도 있는 시도

마지막으로 /etc/init.d/activemq console main버그를 관찰해 보세요.

행운을 빌어요

관련 정보