# RXTX fhs\_lock() Error: opening lock file: /var/lock/LCK..ttyUSB0: File exists. It is mine

**URL:** <https://community.openhab.org/t/rxtx-fhs-lock-error-opening-lock-file-var-lock-lck-ttyusb0-file-exists-it-is-mine/49117>\
**Category:** Installation\
**Tags:** usb, device, nrjavaserial\
**Created:** [August 9, 2018, 6:15pm UTC](https://community.openhab.org/t/rxtx-fhs-lock-error-opening-lock-file-var-lock-lck-ttyusb0-file-exists-it-is-mine/49117 "2018-08-09T18:15:57Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![wborn](https://community.openhab.org/user_avatar/community.openhab.org/wborn/32/55946_2.png) [@wborn](https://community.openhab.org/u/wborn)\
**Post date:** [November 1, 2018, 11:58pm UTC](https://community.openhab.org/t/rxtx-fhs-lock-error-opening-lock-file-var-lock-lck-ttyusb0-file-exists-it-is-mine/49117/25 "2018-11-01T23:58:54Z")

</div>

@Kai it looks like the openHAB nrjavaserial fork had a [commit](https://github.com/cvanorman/nrjavaserial/commit/be9568134653a81dc8f1b673c4c6a6a120219c09) which disabled lock files.

See also this [comment](https://github.com/openhab/openhab-core/issues/101#issuecomment-269449285) by @cvanorman before the fork was used.

It doesn’t look like the official nrjavaserial code contains these changes.

We started [using the offical nrjavaserial release](https://github.com/openhab/openhab-core/pull/366) again around July 15th.

There is another [community thread](https://community.openhab.org/t/nrjavaserial-upgrade-causes-serial-error-port-dev-ttyacm0-does-not-exist/18783) about these lock file issues before these lock files were disabled in the OH fork.

---

_[View the full topic](https://community.openhab.org/t/rxtx-fhs-lock-error-opening-lock-file-var-lock-lck-ttyusb0-file-exists-it-is-mine/49117)._
