Why Websphere MQ cannot create a lock when trying to open a file in RO mode on an NFS share from NetApp?

Solution Unverified - Updated -

Issue

  • Websphere MQ cannot create a lock when trying to open a file in RO mode on an NFS share from NetApp, lock create fails with the following in strace
 11:13:24 open("/var/WMQ/iti/QMDATA/ITI!SWIFT!GTY!QM01/qmstatus.ini", O_RDONLY) = 3 <0.000607>
 11:13:24 fcntl(3, F_GETFL)              = 0x8000 (flags O_RDONLY|O_LARGEFILE) <0.000017>
 11:13:24 fcntl(3, F_SETFL, O_RDONLY|O_DSYNC|O_LARGEFILE) = 0 <0.000016>
 11:13:24 fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0 <0.000796>

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • NetApp
  • NFSv4
  • Websphere MQ

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.