|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Access is denied error when opening AMQERR log |
« View previous topic :: View next topic » |
Author |
Message
|
ajomillar |
Posted: Wed Oct 20, 2004 12:37 pm Post subject: Access is denied error when opening AMQERR log |
|
|
 Centurion
Joined: 22 Aug 2003 Posts: 121 Location: Milwaukee, WI
|
MQSeries v5.2 CSD4
Windows 2000 Advanced Server
I'm testing an linear log archiving script on this server. The batch script is mqllm (support pack MS0L) and executes a Java application. An exception is thrown:
Quote: |
AMQ7467: The oldest log file required to start queue manager MPIMQTESTX is S0001
153.LOG.
AMQ7468: The oldest log file required to perform media recovery of queue manager
MPIMQTESTX is S0000576.LOG.
Exception in Class: "com.ibm.aim.logfile.AimMqLinearLogfileMaint" Method: "execu
teMqLinearLogfileMaint()" ::
Error reading MQ config files in: C:\mqm\qmgrs\MPIMQTESTX\errors
java.io.FileNotFoundException: C:\mqm\qmgrs\MPIMQTESTX\errors\AMQERR03.LOG (Acce
ss is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at com.ibm.aim.logfile.AimMqLinearLogfileMaint.getQMLogData(AimMqLinearL
ogfileMaint.java:394)
at com.ibm.aim.logfile.AimMqLinearLogfileMaint.executeMqLinearLogfileMai
nt(AimMqLinearLogfileMaint.java:246)
at com.ibm.aim.logfile.AimMqLinearLogfileMaint.main(AimMqLinearLogfileMa
int.java:452)
|
I tried to manually open the AMQERR03.LOG file but I get an "Access is denied" popup. What is holding onto this file? Do I need to stop the MQ service? |
|
Back to top |
|
 |
vennela |
Posted: Wed Oct 20, 2004 4:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You have not posted the file permissions and the user with which you are logged in as while opening the file |
|
Back to top |
|
 |
ajomillar |
Posted: Thu Oct 21, 2004 8:47 am Post subject: |
|
|
 Centurion
Joined: 22 Aug 2003 Posts: 121 Location: Milwaukee, WI
|
I'm logged on as a domain user, mqseries. The local account is setup as MQUSR_MQADMIN.
When I right-click on the file to Properties on the AMQERR03.log and click the Security tab, I get a popup stating that "mqseries" doesn't have ownership...blah,blah,blah). This is unlike the other AMQERR logs in the same directory which are open to Everyone with full permissions. Anyway, it looks like MQ was storing the recent activity in the AMQERR01.log, so I deleted the 03.log and reran the mqllm. It archived and removed the obsolete linear logs successfully. I'll not worry about this issue.
Only thing...can the linear log archiving be run without stopping the queue manager? What is the recommendation? I've seen production MQ continue to function ok during manual removal of linear logs, so I assume this would be the same with the automated process. |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Oct 22, 2004 12:23 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Yes, the linear log archiving can be run without stopping the qmgr. The only logs required on the system while the qmgr is running are the logs with the same or later numbers than that recorded in the AMQ7467 msg, the earliest log needed for qmgr restart. This is the 'base' of the 'active log'; for definitions of these terms see the WMQ System Admin manual. |
|
Back to top |
|
 |
JasonE |
Posted: Fri Oct 22, 2004 1:26 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
For the access denied problem, Apply IC30062 + IC32968, which probably fix this problem (but you'll need to delete all your amqerr02/3* files first), ie fixpack 5. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|