You need to tell us about your platform and more about the relay and how it is connected.
Basically, the problem is that something has already taken exclusive access to the port before NR can get to it.
With more info, people will possible be able to help.