I've been seeing a lot of these Lock file error messages. I don't know that they are causing any real problems, but they certainly may be related to some issues we are seeing.

RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyUSB0: File exists

The file name changes, I've seen all of USB0, USB1, USB2, and S0 -- Our code does NOT use S0; it does use USB0, 1, & 2.

I've also noticed stale lock files being left behind in the named directory and file pattern above.

Oddly enough, the messages (and file names) do NOT match the ports we use.
I have noticed:
1) In real time, the USB2 port being opened and a USB0 error message spitting out. 2) Post execution stale lock files for USB0, USB1, USB2, and S0 on a site configured to use USB0, USB1, and USB2

Is RXTX assigning the lock file names, or is Mina???

Thanks in advance!!
boB

Reply via email to