GoogleCloudPlatform/click-to-deploy

GCP ActiveMQ (Click to deploy) - ./bin/activemq: ps: not found

brian-tholen opened this issue · 0 comments

Category:

Container images

Type:

  • [ X] Bug
  • Feature Request
  • Process

I'm using the latest image (gcr.io/cloud-marketplace/google/activemq:5.17.1-20220522-145939) and the application is failing its' healthchecks. When I comment health checks out, the pod gives a status of running, but the service is still not available.

When manually exec'ing into the pod to execute 'bin/activemq start' I receive the following output:

activemq@activemq-st-activemq-66d6ff776d-cdcf6:~$ bin/activemq start
INFO: Loading '/opt/activemq/bin/env'
INFO: Using java '/usr/bin/java'
bin/activemq: 1: bin/activemq: ps: not found
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/opt/activemq/data/activemq.pid' (pid '228')

I also see the same 'bin/activemq: 1: bin/activemq: ps: not found' in the logs, as well as when doing a 'bin/activemq status'

Checking at the command line while exec'd into the pod with a 'ps' confirms:

activemq@activemq-st-activemq-66d6ff776d-cdcf6:~$ ps
bash: ps: command not found

If activemq requires 'ps' command to run, shouldn't the pod have it available to run?

Thanks for any assistance in this issue.