|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
No Broker log |
« View previous topic :: View next topic » |
Author |
Message
|
meaton78 |
Posted: Mon May 17, 2010 5:01 am Post subject: No Broker log |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
We're running Broker 6.0.0.9 on AIX and I've noticed that the broker log has recently gone missing. We have the following entry in /etc/syslog.conf to redirect the logs to a certain location:
user.debug /appllog/wmb/user.log rotate time 1w files 2 compress
This works in all other brokers in this cluster, and the configurations are the same, but for some reason isn't working on this one. I'm able to manually create the log as our broker user, so I know that it isn't a permissions issue. Has anyone ever run across this before? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 17, 2010 6:00 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If the syslogd is started, and then the log file is deleted, syslog will still have an open file handle on the file that no longer exists.
Recreating the file will not change this, unless you restart syslogd. |
|
Back to top |
|
 |
meaton78 |
Posted: Mon May 17, 2010 10:28 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
Thanks Jeff. I found some instructions in the manual. I ended up creating the file, then had the unix admin run the following commands:
touch /appllog/wmb/user.log
chown root:mqbrkrs /appllog/wmb/user.log
chmod 640 /appllog/wmb/user.log
refresh -s syslogd
Once I recycled broker, it started logging again. |
|
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
|
|
|
|