Apache rewrite rules not working for mqipt - ibm-mq

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

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.

unable place the messages in a queue on AS400 server

We are using Websphere MQ version 8.0.on AS400 server one of my application unable to place the messages in queue,and my application is connected through server connection channel and we have checked the channels status my channel is running state only.
We have observed below error from application logs.
error
**************************************************************
Job . . : MQGACT User . . : FGLSEC Number . . . : 198994
Job 198994/FGLSEC/MQGACT started on 24/12/18 at 15:18:21 in subsystem
QSYSWRK in QSYS. Job entered system on 24/12/18 at 15:18:21.
Job 198994/FGLSEC/MQGACT submitted.
>> CALL PGM(BOHMQMONCL) PARM('GACTREQ
')
1300 - STRCMTCTL LCKLVL(*CHG) CMTSCOPE(*JOB)
2200 - CALL PGM(BOHMQMON) /* The CALL command contains
parameters */
LSAA QUEQUE :GACTREQ
Cannot resolve to object MQOPEN. Type and Subtype X'0201' Authority
X'0000'.
Function check. MCH3401 unmonitored by BOHMQMON at statement 1971,
instruction X'0056'.
Message MCH3401 in BOHMQMON in GACTEXC (C D F G).
*************************************************************************
request to help on this issue.
Looks like QMQM library is missing in the library list of the job. Make sure you add it before using MQOPEN.

Unable to provide the permission to user

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.

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

TCP/IP error while trying to load data to Elasticsearch from SQL Server using Logstash

I am new to Logstash.I am trying to load data from Sql server to Elasticsearch using Logstash,while doing so I get the below error:
C:\logstash-5.0.2>bin\logstash -f C:\logstash-5.0.2\bin\Crash_Data.conf
Using JAVA_HOME=C:\Program Files\Java\jre8 retrieved from C:\ProgramData\Oracle\
java\javapath\java.exe
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Could not find log4j2 configuration at path /logstash-5.0.2/config/log4j2.proper
ties. Using default config which logs to console
15:33:47.206 [[main]-pipeline-manager] ERROR logstash.agent - Pipeline aborted d
ue to error {:exception=>#<Sequel::DatabaseConnectionError: Java::ComMicrosoftSq
lserverJdbc::SQLServerException: The TCP/IP connection to the host Device_Crash_Reporting, port 1433 has failed. . Verify the connection properties. Make sure
that an instance of SQL Server is running on the host and accepting TCP/IP conn
ections at the port. Make sure that TCP connections to the port are not blocked
by a firewall.".>, :backtrace=>["com.microsoft.sqlserver.jdbc.SQLServerException
.makeFromDriverError(com/microsoft/sqlserver/jdbc/SQLServerException.java:191)",
"com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLSe
rverException(com/microsoft/sqlserver/jdbc/SQLServerException.java:242)", "com.m
icrosoft.sqlserver.jdbc.SocketFinder.findSocket(com/microsoft/sqlserver/jdbc/IOB
uffer.java:2369)", "com.microsoft.sqlserver.jdbc.TDSChannel.open(com/microsoft/s
qlserver/jdbc/IOBuffer.java:551)", "com.microsoft.sqlserver.jdbc.SQLServerConnec
tion.connectHelper(com/microsoft/sqlserver/jdbc/SQLServerConnection.java:1962)",
"com.microsoft.sqlserver.jdbc.SQLServerConnection.login(com/microsoft/sqlserver
/jdbc/SQLServerConnection.java:1627)", "com.microsoft.sqlserver.jdbc.SQLServerCo
nnection.connectInternal(com/microsoft/sqlserver/jdbc/SQLServerConnection.java:1
458)", "com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(com/microsoft/s
qlserver/jdbc/SQLServerConnection.java:772)", "com.microsoft.sqlserver.jdbc.SQLS
erverDriver.connect(com/microsoft/sqlserver/jdbc/SQLServerDriver.java:1168)", "R
UBY.connect(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/seq
uel/adapters/jdbc.rb:222)", "RUBY.make_new(C:/logstash-5.0.2/vendor/bundle/jruby
/1.9/gems/sequel-4.40.0/lib/sequel/connection_pool.rb:116)", "RUBY.make_new(C:/l
ogstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/sequel/connection_p
ool/threaded.rb:228)", "RUBY.available(C:/logstash-5.0.2/vendor/bundle/jruby/1.9
/gems/sequel-4.40.0/lib/sequel/connection_pool/threaded.rb:201)", "RUBY._acquire
(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/sequel/connect
ion_pool/threaded.rb:137)", "RUBY.acquire(C:/logstash-5.0.2/vendor/bundle/jruby/
1.9/gems/sequel-4.40.0/lib/sequel/connection_pool/threaded.rb:151)", "RUBY.sync(
C:/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/sequel/connecti
on_pool/threaded.rb:282)", "org.jruby.ext.thread.Mutex.synchronize(org/jruby/ext
/thread/Mutex.java:149)", "RUBY.sync(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/g
ems/sequel-4.40.0/lib/sequel/connection_pool/threaded.rb:282)", "RUBY.acquire(C:
/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/sequel/connection
_pool/threaded.rb:150)", "RUBY.hold(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/ge
ms/sequel-4.40.0/lib/sequel/connection_pool/threaded.rb:106)", "RUBY.synchronize
(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/sequel-4.40.0/lib/sequel/databas
e/connecting.rb:285)", "RUBY.test_connection(C:/logstash-5.0.2/vendor/bundle/jru
by/1.9/gems/sequel-4.40.0/lib/sequel/database/connecting.rb:295)", "RUBY.prepare
_jdbc_connection(C:/logstash-5.0.2/vendor/bundle/jruby/1.9/gems/logstash-input-j
dbc-4.1.3/lib/logstash/plugin_mixins/jdbc.rb:171)", "RUBY.register(C:/logstash-5
.0.2/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/inputs/
jdbc.rb:191)", "RUBY.start_inputs(C:/logstash-5.0.2/logstash-core/lib/logstash/p
ipeline.rb:319)", "org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)", "RU
BY.start_inputs(C:/logstash-5.0.2/logstash-core/lib/logstash/pipeline.rb:318)",
"RUBY.start_workers(C:/logstash-5.0.2/logstash-core/lib/logstash/pipeline.rb:195
)", "RUBY.run(C:/logstash-5.0.2/logstash-core/lib/logstash/pipeline.rb:153)", "R
UBY.start_pipeline(C:/logstash-5.0.2/logstash-core/lib/logstash/agent.rb:250)"]}
15:33:47.721 [Api Webserver] INFO logstash.agent - Successfully started Logstas
h API endpoint {:port=>9600}
15:33:50.261 [LogStash::Runner] WARN logstash.agent - stopping pipeline {:id=>"
main"}
C:\logstash-5.0.2>
I have checked the port to sql server and everything but still no luck.Can someone please help me with this problem.

Resources