EMCECS / nfs-client-java

Native Java NFS client
Apache License 2.0
71 stars 35 forks source link

problem port 111 #15

Closed AveiShriety closed 7 years ago

AveiShriety commented 7 years ago

problem such as WARN network.ClientIOHandler - Channel disconnected: /192.168.201.60:111 WARN network.ClientIOHandler - Channel closed: /192.168.201.60:111

what to cause this matter? please help 3q!! @DavidASeibert @jasoncwik

DavidASeibert commented 7 years ago

@AveiShriety 111 is the port for the RPC port mapping utility. This utility needs to be running so that the client can find the NFS service port, which can vary from system to system. My guess is that this service is not running, or your client does not have permission to use it (much less likely), although you have not posted enough information for me to be certain.

AveiShriety commented 7 years ago

@DavidASeibert The premise is that I have already made my java code connected to the NFS server with no problems and warns. WARN network.ClientIOHandler - Channel disconnected: /192.168.201.60:111 WARN network.ClientIOHandler - Channel closed: /192.168.201.60:111 These two warns occur when I do nothing( no operation on file with java IO, such as read or write ) for a few minutes after my java code connected to the NFS server

DavidASeibert commented 7 years ago

@AveiShriety This channel is being disconnected because no calls are using it. It is only used to get service ports during the initialization of the nfs client, and when stale file handles are being refreshed. The warning is minor and can be ignored unless you are seeing other problems with the client. Even if you are seeing other problems with the client, they are most likely not the cause of those problems. If you are seeing other problems, what are they?

DavidASeibert commented 7 years ago

No actual problems have been observed, so I will close this issue.