2015-09-15, 14:51
Hello, I have been having trouble connecting my Kodi 15.1 Android ARM client to my NFS server. My CentOS7 client can connect to the server successfully so I am tending to believe that the problem is with my Kodi system. It would seem the server itself is generally working. I turned on the debug log in Kodi and this is what I got.
21:19:42 T:1706901464 DEBUG: NFS: Context for 192.168.1.1/media not open - get a new context.
21:19:42 T:1706901464 ERROR: NFS: Failed to mount nfs share: /media (mount/mnt call failed with "RPC error. Program is not available on 192.168.1.1")
21:19:42 T:1668123024 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting nfs://192.168.1.1/media/
My server exports is configured as
/media *(rw,all_squash,insecure,no_subtree_check,sync)
My mount point and all files are set to 777 just to rule out permissions issues. (I will fix security after getting a working system).
One general question, does Kodi expect RPC over a specific port? If so, I may need to adjust. (Though I think I remember it was running on port 111) Otherwise, I can't figure out why I am getting the error. All the GUI is telling me is I can't connect to the server. I can see the server and shares but I can't browse inside the share. Many thanks in advance for your advice!!!
PS.. I almost forgot to add this- I did review the NFS settings that are needed as part of this page:
http://kodi.wiki/view/NFS#NFS_sharing_from_Linux
21:19:42 T:1706901464 DEBUG: NFS: Context for 192.168.1.1/media not open - get a new context.
21:19:42 T:1706901464 ERROR: NFS: Failed to mount nfs share: /media (mount/mnt call failed with "RPC error. Program is not available on 192.168.1.1")
21:19:42 T:1668123024 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting nfs://192.168.1.1/media/
My server exports is configured as
/media *(rw,all_squash,insecure,no_subtree_check,sync)
My mount point and all files are set to 777 just to rule out permissions issues. (I will fix security after getting a working system).
One general question, does Kodi expect RPC over a specific port? If so, I may need to adjust. (Though I think I remember it was running on port 111) Otherwise, I can't figure out why I am getting the error. All the GUI is telling me is I can't connect to the server. I can see the server and shares but I can't browse inside the share. Many thanks in advance for your advice!!!
PS.. I almost forgot to add this- I did review the NFS settings that are needed as part of this page:
http://kodi.wiki/view/NFS#NFS_sharing_from_Linux