Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
5.16.3
-
None
-
None
-
Platform: Linux - Red Hat Enterprise Linux release 8.4 (Ootpa)
-
Patch Available
Description
After upgrading from version 5.15.7 to 5.16.3 the broker no longer stops on command.
Step-by-step:
- tar zxf apache-activemq-5.16.3-bin.tar.gz
- cd apache-activemq-5.16.3
- vi bin/env
- Set: ACTIVEMQ_USER="<current_user>"
- sudo bin/activemq start
- sudo bin/activemq stop
The "sudo" part is important. In our prod system we run this script as root so that is can change the user to $ACTIVEMQ_USER.
Output from start command:
INFO: Loading '/home/hakjo/Downloads/apache-activemq-5.16.3//bin/env' INFO: Using java '/usr/bin/java' INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details INFO: changing to user 'hakjo' to invoke java INFO: pidfile created : '/home/hakjo/Downloads/apache-activemq-5.16.3//data/activemq.pid' (pid '40650')
Output from stop command:
INFO: Loading '/home/hakjo/Downloads/apache-activemq-5.16.3//bin/env' INFO: Using java '/usr/bin/java' ERROR: No or outdated process id in '/home/hakjo/Downloads/apache-activemq-5.16.3//data/activemq.pid' INFO: Removing /home/hakjo/Downloads/apache-activemq-5.16.3//data/activemq.pid
Attachments
Attachments
Issue Links
- is duplicated by
-
AMQ-8425 Linux start script doesn't work depending of ps command version
- Resolved