Public bug reported: The following commands should be sufficient to install and run Active MQ:
apt-get install activemq ln -s /etc/activemq/instances-available/main /etc/activemq/instances-enabled/main systemctl start activemq.service However, there is no service running afterwards. Try: ps-ef | grep activemq Running the service manually as explained in /usr/share/doc/activemq/README.Debian works, command: /etc/init.d/activemq console main However, issuing "/etc/init.d/activemq start" does nothing except printing [ ok ] Starting activemq (via systemctl): activemq.service. but no service is started. The reason is in /etc/init.d/activemq line 30 which reads (with preceding comments): # Define LSB log_* functions. # Depend on lsb-base (>= 3.2-14) to ensure that this file is present # and status_of_proc is working. . /lib/lsb/init-functions This line causes the above screen message but does not return. (I put an "echo" before and after. The "echo" before is executed, the one after isn’t any more.) However, it must return in order for the script to continue its work and reach the start-servers() section (which is quite complex). In addition, the file /lib/systemd/system/activemq.service contains absolute paths to a non-existent WorkingDirectory and non-existent commands in ExecStart and ExecStop. I tried changing these values with some guesses but could not get it running right now. I could imagine the solution would be to change ExecStart and ExecStop to /etc/init.d/activemq start or stop and make sure the script called in line 30 does not break execution. The bug seems to be related to #1361831 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: activemq 5.13.2+dfsg-2 ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87 Uname: Linux 4.4.0-97-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.13 Architecture: amd64 Date: Wed Nov 22 13:20:19 2017 PackageArchitecture: all ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=de_DE.UTF8 SHELL=/bin/bash SourcePackage: activemq UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.init.d.activemq: [modified] mtime.conffile..etc.init.d.activemq: 2017-11-22T13:05:27.720711 ** Affects: activemq (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1733853 Title: Active MQ does not start on Xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/activemq/+bug/1733853/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs