Unable to provide the permission to user - ibm-mq

We are using mq version 9.0,and operating system is linux,we have configured the Active/Passive cluster setup.while application trying to connecting the queue manager getting error JMSWMQ2013 with 2035 error.while we are trying providing the permission to user 'sfms' we are getting error AMQ7026 " A principle or group is invalid".
any one can help on this we unable to providing the permission to user.
also requesting to confirm me for below command,what is the use in which scenarios will use this command.
set chlauth(*) type( BLOCKUSER) USERLIST('noboby','*MQADMIN')"
please find the below queue manager logs.
----- cmqxrsrv.c : 2377 -------------------------------------------------------
07/18/2018 03:58:39 AM - Process(23409.32) User(mqm) Program(amqrmppa)
Host(XXXXXX) Installation(Installation1)
VRMF(9.0.0.1) QMgr(QM1)
AMQ9557: Queue Manager User ID initialization failed for 'pfmsadmin'.
EXPLANATION:
The call to initialize the User ID 'pfmsadmin' failed with CompCode 2 and Reason
2035. If an MQCSP block was used, the User ID in the MQCSP block was ''.
ACTION:
Correct the error and try again.
----- cmqxrsrv.c : 2377 -------------------------------------------------------
07/18/2018 04:16:34 AM - Process(23409.33) User(mqm) Program(amqrmppa)
Host(XXXXXX) Installation(Installation1)
VRMF(9.0.0.1) QMgr(QM1)
AMQ9557: Queue Manager User ID initialization failed for 'pfmsadmin'.
EXPLANATION:
The call to initialize the User ID 'pfmsadmin' failed with CompCode 2 and Reason
2035. If an MQCSP block was used, the User ID in the MQCSP block was ''.
ACTION:
Correct the error and try again.
----- cmqxrsrv.c : 2377 -------------------------------------------------------
#JoshMc: Sorry :) Application User is 'pfmsadmin', we have attached the proper logs please check.
#JoshMc: we have tried given command getting error "id: pfmsadmin: no such user"
#JoshMc: can i create user"pfmsadmin" in local system?
#JoshMc: Yes Josh,my application team is tried to connect my Queueu manager with user and password.can you please help us to resolve this issue.

Related

Command server of a qmgr is stopping automatically

Command server of the QMGR is automatically going to stopped state with the below errors in logs. So client is not able to QMGR. could you plz check and help me to find permanent solution for this. Thanks in adavance
AMQ5053W: IBM MQ process 879 (amqrmppa) cannot be found and is assumed to be
terminated.
EXPLANATION:
A queue manager process has terminated, the queue manager will continue to run
but the functionality of the queue manager may be limited until the problem is
resolved. Possible reasons for the termination are: 1) A user has inadvertently
terminated the process. 2) The system is low on resources. Some operating
systems terminate processes to free resources. 3) The process encountered an
error.
ACTION:
Check for earlier messages in the queue manager and system error logs that may
indicate the problem. When the problem is rectified the queue manager will need
to be restarted to restore the lost functionality.
----- amqxfdcx.c : 842 --------------------------------------------------------
12/14/21 12:03:14 - Process(413.3) User(root) Program(runmqlsr)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.010Z)
ArithInsert1(413)
CommentInsert1("QMGR NAME")
AMQ6184W: An internal IBM MQ error has occurred on queue manager "QMGR NAME".
EXPLANATION:
An error has been detected, and the IBM MQ error recording routine has been
called. The failing process is process 413.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier and to save any generated output files. Use either the MQ Support
site: https://www.ibm.com/support/home/, or IBM Support Assistant (ISA):
https://www.ibm.com/support/home/product/C100515X13178X21/other_software/ibm_support_assistant,
to see whether a solution is already available. If you are unable to find a
match, contact your IBM support center. Do not discard these files until the
problem has been resolved.
----- amqxfdcx.c : 888 --------------------------------------------------------
12/14/21 12:03:14 - Process(413.2) User(root) Program(runmqlsr)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.011Z)
ArithInsert1(545284135)
AMQ6125E: An internal IBM MQ error has occurred.
EXPLANATION:
An internal error has occurred with identifier 20806027. This message is
issued in association with other messages.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier and to save any generated output files. Use either the MQ Support
site: https://www.ibm.com/support/home/, or IBM Support Assistant (ISA):
https://www.ibm.com/support/home/product/C100515X13178X21/other_software/ibm_support_assistant,
to see whether a solution is already available. If you are unable to find a
match, contact your IBM support center. Do not discard these files until the
problem has been resolved.
----- amqxfdcx.c : 842 --------------------------------------------------------
12/14/21 12:03:14 - Process(413.2) User(root) Program(runmqlsr)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.011Z)
ArithInsert1(413)
AMQ6183W: An internal IBM MQ error has occurred.
EXPLANATION:
An error has been detected, and the IBM MQ error recording routine has been
called. The failing process is process 413.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier and to save any generated output files. Use either the MQ Support
site: https://www.ibm.com/support/home/, or IBM Support Assistant (ISA):
https://www.ibm.com/support/home/product/C100515X13178X21/other_software/ibm_support_assistant,
to see whether a solution is already available. If you are unable to find a
match, contact your IBM support center. Do not discard these files until the
problem has been resolved.
12/14/21 12:03:14 - Process(409.1) User(root) Program(runmqchi)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.506Z)
AMQ9542W: Queue manager is ending.
EXPLANATION:
The program will end because the queue manager is quiescing.
ACTION:
None.
----- amqrimna.c : 1009 -------------------------------------------------------
12/14/21 12:03:14 - Process(412.1) User(root) Program(amqpcsea)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr(AZMQES01)
Time(2021-12-14T12:03:14.807Z)
ArithInsert1(2009) ArithInsert2(2)
CommentInsert1(SYSTEM.ADMIN.COMMAND.QUEUE )
AMQ8507E: Command server MQPUT1 request for an undelivered message failed with
reason code 2009.
EXPLANATION:
An attempt by the command server to put a message to the dead-letter queue,
using MQPUT1, failed with reason code 2009. The MQDLH reason code was 2.
ACTION:
None.
----- amqphrea.c : 86 ---------------------------------------------------------
12/14/21 12:03:14 - Process(412.1) User(root) Program(amqpcsea)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.807Z)
ArithInsert1(2009) ArithInsert2(2)
CommentInsert1(SYSTEM.ADMIN.COMMAND.QUEUE )
AMQ8509E: Command server MQCLOSE reply-to queue failed with reason code 2009.
EXPLANATION:
An MQCLOSE request by the command server for the reply-to queue failed with
reason code 2009.
ACTION:
None.
----- amqphrea.c : 86 ---------------------------------------------------------
12/14/21 12:03:14 - Process(412.1) User(root) Program(amqpcsea)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:14.807Z)
ArithInsert1(2009) ArithInsert2(2)
CommentInsert1(SYSTEM.ADMIN.COMMAND.QUEUE )
AMQ8506S: Command server MQGET failed with reason code 2009.
EXPLANATION:
An MQGET request by the command server, for the IBM MQ queue
SYSTEM.ADMIN.COMMAND.QUEUE , failed with reason code 2009.
ACTION:
None.
----- amqphrea.c : 86 ---------------------------------------------------------
12/14/21 12:03:17 - Process(200.1) User(root) Program(amqzmgr0)
Host(303b0929d250) Installation(Installation1)
VRMF(9.2.0.0) QMgr("QMGR NAME")
Time(2021-12-14T12:03:17.600Z)
ArithInsert1(412)
CommentInsert1(SYSTEM.CMDSERVER.1)
AMQ5025I: The command server has ended. ProcessId(412).
EXPLANATION:
The command server process has ended.
ACTION:
None.

Apache rewrite rules not working for mqipt

I am using apache httpd for setting mqipt. Using the details given in docs, https://www.ibm.com/docs/en/ibm-mq/9.2?topic=thru-apache-rewrite, I have setup everything. I am not using IBM caching proxy. Hit are going to IBM MQ but getting error
----- amqrmrsa.c : 974 --------------------------------------------------------
05/02/21 13:48:10 - Process(19315.2426) User(mqm) Program(amqrmppa)
Host(ibmmq-55ddff666-cscrk) Installation(Installation1)
VRMF(9.2.0.0) QMgr(QM1)
Time(2021-05-02T13:48:10.169Z)
RemoteHost(10.244.1.1)
CommentInsert1(_gateway (10.244.1.1))
CommentInsert2(TCP/IP)
CommentInsert3(DEV.APP.SVRCONN)
AMQ9209E: Connection to host '_gateway (10.244.1.1)' for channel
'DEV.APP.SVRCONN' closed.
EXPLANATION:
An error occurred receiving data from '_gateway (10.244.1.1)' over TCP/IP. The
connection to the remote host has unexpectedly terminated.
The channel name is 'DEV.APP.SVRCONN'; in some cases it cannot be determined
and so is shown as '????'.
ACTION:
Tell the systems administrator.
----- amqcccxa.c : 2730 -------------------------------------------------------
05/02/21 13:48:10 - Process(19315.2426) User(mqm) Program(amqrmppa)
Host(ibmmq-55ddff666-cscrk) Installation(Installation1)
VRMF(9.2.0.0) QMgr(QM1)
Time(2021-05-02T13:48:10.170Z)
CommentInsert1(DEV.APP.SVRCONN)
CommentInsert2(19315)
CommentInsert3(10.244.1.1)
AMQ9999E: Channel 'DEV.APP.SVRCONN' to host '10.244.1.1' ended abnormally.
EXPLANATION:
The channel program running under process ID 19315 for channel
'DEV.APP.SVRCONN' ended abnormally. The host name is '10.244.1.1'; in some
cases the host name cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.
----- amqrmrsa.c : 974 --------------------------------------------------------
This looks like problem between mqipt2 to IBM MQ server.
I have also tried by removing apache httpd and sending message from application to mqipt1 -> mqipt2 -> IBM MQ, and it is working but only when I am using apache httpd from mqipt1 -> apache -> mqipt2 -> IBM MQ then it fails

IBM MQ8.0.0.7 Queue Manager Startup issue

Hi We are in the process of Migrationg MQ8.0.0.7 with Linux OS. We have created QueueManager. Also Created switch load file with oraClient 11.2.0.4.Updated switch file config in qm.ini file.
Switch file created usiing -- IBM MQ8.0.0.7 and oraClient 11.2.0.4
But When we try to start up the queue manager we are getting below error
04/10/2018 08:15:07 AM - Process(32092.1) User(mqm) Program(amqzxma0) Host(lswttsccsap5u) Installation(Installation1) VRMF(8.0.0.7) QMgr(NYCOLI2_QM.UATIN)
AMQ6175: The system could not dynamically load the shared library '/var/mqm/exits64/oraswit'. The system returned error message '/var/mqm/exits64/oraswit: undefined symbol: xaosw'.
EXPLANATION: This message applies to UNIX systems. The shared library '/var/mqm/exits64/oraswit' failed to load correctly due to a problem with the library. ACTION: Check the file access permissions and that the file has not been corrupted.
----- amqxufnx.c : 1436 -------------------------------------------------------
04/10/2018 08:15:07 AM - Process(32092.1) User(mqm) Program(amqzxma0) Host(lswttsccsap5u) Installation(Installation1) VRMF(8.0.0.7) QMgr(NYCOLI2_QM.UATIN)
AMQ7622: WebSphere MQ could not load the XA switch load file for resource manager 'Oracle_CMXIUAT_AIX'.
qm.ini file Stanza
XAResourceManager:
Name=MyQueuManager
SwitchFile=oraswit
ThreadOfControl=THREAD
XAOpenString=Oracle_XA+Acc=P/myusername/mypassword+SesTm=100+dbgfl=15+LogDir=/var/mqm/xa_logs+dbgfl=15+SqlNet=SSS+threads=TRUE
Could you please advise?
The SwitchFile doesn't seem correct. Where did you get that from?
I found these for Linux:
Linux (nonthreaded) libmqmxa64.so libmqcxa64.so
Linux (threaded) libmqmxa64_r.so libmqcxa64_r.so
Check out the documentation for setting up XA:
https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.sce.doc/q023610_.htm

Windows kernel error log

There are many same events all my Hyper V servers environment. I haven't found any solution for this event. If you have the solution for this error can you help me?
>Log Name: Microsoft-Windows-Kernel-EventTracing/Admin
>Source: Microsoft-Windows-Kernel-EventTracing
>Date: 4/28/2016 1:34:27 PM
>Event ID: 2
>Task Category: Session
>Level: Error
>Keywords: Session
>User: NETWORK SERVICE
>Computer: HYPERV01.prod.local
>Description:
>**Session "" failed to start with the following error: 0xC0000022**
You're getting an access denied error upon attempt to start network service. Your permissions are probably restricted.

Too few bytes (-1) received from OPMN response error

When I entered Oracle Application Server Control panel, an error message was appeared "Too few bytes (-1) received from OPMN response". It doesn't allow to do any deployment. How can I fix this error?
Trace Information:
oracle.ias.opmn.optic.OpticBadConnectException: Too few bytes (-1) received from OPMN response at oracle.ias.opmn.optic.OpmnPhone.rcvResponse(OpmnPhone.java:529) at oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:193) at oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130) at oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347) at oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467) at oracle.ias.opmn.optic.OpmnQuery.getIasCluster(OpmnQuery.java:941) at oracle.sysman.ias.studio.cluster.OpticTopologyAdminBean.initializeAppServers(OpticTopologyAdminBean.java:1117) at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1278) at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
Error logs in opmn.log file :
.
.
.
16/02/03 10:14:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor
16/02/03 10:16:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor
16/02/03 10:18:42 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor
16/02/03 10:19:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor
.
.
After a long search process, I find that my error is related with owner permissions on oracle server. oracle user manages the instances so files under oracle/ folder must have oracle owner permissions. If you enter with root or other user and change some file permissions by running or rewriting them especially config files under j2ee/home/persistence, opmn/conf, opmn/bin, oracle user can not execute that files. I set files owner permissions with oracle user and restart the server, error was gone.

Resources