I am trying to get ActiveMQ service running on a RedHat. The service is not started
[root@localhost]# systemctl status messagequeue.service
● messagequeue.service - MessageQueue
Loaded: loaded (/etc/systemd/system/messagequeue.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2024-05-30 10:51:06 +08; 6s ago
Process: 7858 ExecStart=/opt/messagequeue/bin/activemq start (code=exited, status=0/SUCCESS)
Main PID: 7923 (code=exited, status=1/FAILURE)
CPU: 540ms
Running ActiveMQ server throws the following error:
[root@localhost bin]# ./activemq start
INFO: Loading '/opt/apache-activemq-6.1.2//bin/setenv'
INFO: Using java '/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j2.properties to get details
INFO: pidfile created : '/opt/apache-activemq-6.1.2//data/activemq.pid' (pid '8719')
Why is this error occurring? Are there any configurations or Java options needed?
New contributor
Fukari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.