3 bugs found running the script
- The downloaded tar contains Package.gz but Package is required
- The tar is extracted to /tmp/MQServer but the archive directory is set to ~/MQServer
- if you fix these two problems and try the amqsputc example you run into error "MQCONNX ended with reason code 2540"
In addition to these errors, it would be nice if the example could be kept up to date. The version downloaded by the script is 9.2, the current version is 9.3.4 ...
Are you referring to gettingStarted/installing-mq-ubuntu/mq-ubuntu-install.sh ?
If I've understood correctly then the following issues need looking at:
- Bump MQ version
- Doc isn't clear that its a gunzip
- We need to be explicit in the path to the tar
- Need to show how to set
MQSERVER
Incidentally 2540 is MQRC_UNKNOWN_CHANNEL_NAME, which implies that you are specifying the channel name incorrectly for amqsputc. Are you exporting the MQSERVER ?
set MQSERVER=DEV.APP.SVRCONN/TCP/localhost(1414)
set MQSAMP_USER_ID=app
amqsputc DEV.QUEUE.1 QM1
threads-max and the soft limit for nofile have been to low the installation should stop if the resources are not configred according the needs I first had tried to install on a server without the ability to scroll back the installation output it also is somewhat annoing that there is no check if directory ~/Downloads exists
Looks like you have made the relevant changes. I will accept a pull request.
Sorry – I did not change the script but executed all steps manually.