Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point symbol in MQ_QMGR_NAME #409

Open
Ivansamara opened this issue Jun 14, 2020 · 2 comments
Open

Point symbol in MQ_QMGR_NAME #409

Ivansamara opened this issue Jun 14, 2020 · 2 comments
Labels

Comments

@Ivansamara
Copy link

Ivansamara commented Jun 14, 2020

Hello. I have error

open /var/mqm/qmgrs/DEV.MGR/qm.ini: no such file or directory
...
AMQ8004I: IBM MQ queue manager 'DEV.MGR' ended.

when MQ_QMGR_NAME contains point symbol

Full log:

mq_1  | 2020-06-14T08:46:49.368Z CPU architecture: amd64
mq_1  | 2020-06-14T08:46:49.368Z Linux kernel version: 4.9.125-linuxkit
mq_1  | 2020-06-14T08:46:49.368Z Container runtime: docker
mq_1  | 2020-06-14T08:46:49.368Z Base image: Red Hat Enterprise Linux 8.1 (Ootpa)
mq_1  | 2020-06-14T08:46:49.368Z Running as user ID 1001 with primary group 0
mq_1  | 2020-06-14T08:46:49.368Z Capabilities (bounding set): chown,dac_override,fowner,fsetid,kill,setgid,setuid,setpcap,net_bind_service,net_raw,sys_chroot,mknod,audit_write,setfcap
mq_1  | 2020-06-14T08:46:49.368Z seccomp enforcing mode: filtering
mq_1  | 2020-06-14T08:46:49.368Z Process security attributes: none
mq_1  | 2020-06-14T08:46:49.368Z No volume detected. Persistent messages may be lost
mq_1  | 2020-06-14T08:46:49.439Z Using queue manager name: DEV.MGR
mq_1  | 2020-06-14T08:46:49.447Z Created directory structure under /var/mqm
mq_1  | 2020-06-14T08:46:49.447Z Image created: 2020-03-31T06:57:13+00:00
mq_1  | 2020-06-14T08:46:49.447Z Image tag: ibm-mqadvanced-server-dev:9.1.5.0-r1-amd64
mq_1  | 2020-06-14T08:46:49.460Z MQ version: 9.1.5.0
mq_1  | 2020-06-14T08:46:49.460Z MQ level: p915-ifix-L200325.DE
mq_1  | 2020-06-14T08:46:49.460Z MQ license: Developer
mq_1  | 2020-06-14T08:46:50.193Z Creating queue manager DEV.MGR
mq_1  | 2020-06-14T08:46:50.194Z Starting web server
mq_1  | 2020-06-14T08:46:50.838Z Created queue manager
mq_1  | 2020-06-14T08:46:50.848Z Removing existing ServiceComponent configuration
mq_1  | 2020-06-14T08:46:50.308Z AMQ6287I: IBM MQ V9.1.5.0 (p915-ifix-L200325.DE).
mq_1  | 2020-06-14T08:46:50.307Z AMQ5051I: The queue manager task 'LOGGER-IO' has started.
mq_1  | 2020-06-14T08:46:50.311Z AMQ5051I: The queue manager task 'CHECKPOINT' has started.
mq_1  | 2020-06-14T08:46:50.849Z open /var/mqm/qmgrs/DEV.MGR/qm.ini: no such file or directory
mq_1  | 2020-06-14T08:46:50.314Z AMQ5041I: The queue manager task 'CHECKPOINT' has ended.
mq_1  | 2020-06-14T08:46:50.316Z AMQ5041I: The queue manager task 'LOGGER-IO' has ended.
mq_1  | 2020-06-14T08:46:50.364Z AMQ5051I: The queue manager task 'LOGGER-IO' has started.
mq_1  | 2020-06-14T08:46:50.367Z AMQ7229I: 4 log records accessed on queue manager 'DEV.MGR' during the log replay phase.
mq_1  | 2020-06-14T08:46:50.368Z AMQ7230I: Log replay for queue manager 'DEV.MGR' complete.
mq_1  | 2020-06-14T08:46:50.368Z AMQ5051I: The queue manager task 'CHECKPOINT' has started.
mq_1  | 2020-06-14T08:46:50.370Z AMQ7231I: 0 log records accessed on queue manager 'DEV.MGR' during the recovery phase.
mq_1  | 2020-06-14T08:46:50.370Z AMQ7232I: Transaction manager state recovered for queue manager 'DEV.MGR'.
mq_1  | 2020-06-14T08:46:50.373Z AMQ7233I: 0 out of 0 in-flight transactions resolved for queue manager 'DEV.MGR'.
mq_1  | 2020-06-14T08:46:50.383Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'ERROR-LOG' has started.
mq_1  | 2020-06-14T08:46:50.385Z AMQ5037I: The queue manager task 'APP-SIGNAL' has started.
mq_1  | 2020-06-14T08:46:50.683Z AMQ8048I: Default objects statistics : 84 created. 0 replaced. 0 failed.
mq_1  | 2020-06-14T08:46:50.683Z AMQ8003I: IBM MQ queue manager 'DEV.MGR' started using V9.1.5.0.
mq_1  | 2020-06-14T08:46:50.690Z AMQ5041I: The queue manager task 'APP-SIGNAL' has ended.
mq_1  | 2020-06-14T08:46:50.690Z AMQ5041I: The queue manager task 'APP-SIGNAL' has ended.
mq_1  | 2020-06-14T08:46:50.694Z AMQ5041I: The queue manager task 'ERROR-LOG' has ended.
mq_1  | 2020-06-14T08:46:50.707Z AMQ5041I: The queue manager task 'CHECKPOINT' has ended.
mq_1  | 2020-06-14T08:46:50.715Z AMQ5041I: The queue manager task 'LOGGER-IO' has ended.
mq_1  | 2020-06-14T08:46:50.718Z AMQ8004I: IBM MQ queue manager 'DEV.MGR' ended.

Queue manager successfully started when the name does not contain point symbol.
Have any ideas?

@arthurbarr arthurbarr added the bug label Jun 30, 2020
@jonasgiehl
Copy link

Same problem here.

@timothegenzmer
Copy link

We were facing the same issue.
I did some digging and the underlying issue is that the path is wrong
used path:
/var/mqm/qmgrs/DEV.MGR/qm.ini
actual path:
/var/mqm/qmgrs/DEV!MGR/qm.ini

I believe the issue can be fixed here:
The name would need to be adjusted. . replaced by !

dataDir := filepath.Join("/var/mqm/qmgrs", name)

This would probably also needs to be updated:

args = append(args, "-v", fmt.Sprintf("Directory=%v", name))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants