ot4i / ace-docker

75 stars 167 forks source link

runmqserver executable not in path #154

Closed vikrampawar closed 2 years ago

vikrampawar commented 3 years ago

When I set the enviroment variable USE_QMGR to true, I get the below error and the container doesn't start up.

Command run : docker run --name aceservermq -p 7600:7600 -p 7900:7800 -p 7843:7843 --env LICENSE=accept --env ACE_SERVER_NAME=ACESERVER --env USE_QMGR=true ibmcom/ace:latest

And the output :

2021-05-02T14:31:13.872Z Image created: 2020-07-27T14:00:38+00:00 2021-05-02T14:31:13.873Z Image revision: Not specified 2021-05-02T14:31:13.873Z Image source: Not specified 2021-05-02T14:31:14.293Z ACE version: 11009 2021-05-02T14:31:14.293Z ACE level: S000-L200527.16701 2021-05-02T14:31:14.293Z ACE build type: Production, 64 bit, amd64_linux_2 2021-05-02T14:31:14.293Z Starting MQ Initialisation 2021/05/02 14:31:14 MQ initialization complete 2021-05-02T14:31:14.294Z Starting queue manager 2021-05-02T14:31:14.294Z exec: "runmqserver": executable file not found in $PATH

mattbaileyuk commented 3 years ago

That's not a supported environment variable with that image, so you're getting some unexpected behaviour; the ibmcom/ace image does not have an MQ server to run queue managers, only an MQ client to connect to a queue manager elsewhere. We do not have a supported ACE+MQserver image, though this repo does have an example Dockerfile for building your own.