droboports / nfs

NFS Server DroboApp build scripts
GNU General Public License v2.0
10 stars 3 forks source link

Bug NFS Crashing and need to restart the service. errno 1 #6

Open Brictone opened 8 years ago

Brictone commented 8 years ago

I'm getting an error when one of my client PC accesses the NFS share, it doesn't happen right away and it seems to be linked to Kodi Media Center. I'm also running Ubuntu Mate on that computer. It was working fine when I was using Kodibuntu.

This is the exact error in the NFS log.
rpc.mountd: qword_eol: fflush failed: errno 1 (Operation not permitted)

I also have a raspberry pi connecting to it as well as a turnkey box.

I've reinstalled Kodi and wiped all preferences and it still happens. I haven't tried another Ubuntu distro yet. I did just upgrade from the Kodibuntu without doing a format/clean install

I do get this Avahi-daemon not found in the nfs log as well.

I've been watching tail -f on the nfs log to see if I can spot when it happens exactly and maybe identify what might be causing it.

Any ideas?

ricardopadilha commented 8 years ago

Can you please post the output of ls -la on the directory that you are trying to export?

Brictone commented 8 years ago

I changed the names of the folders and files. I left the ones that were hidden or were created from something else. Also I mentioned it before but there is only one device(client) that causes this to crash. The rest seem to be ok.

drwxrwxrwx 23 root root 4096 Aug 6 2015 . drwxr-xr-x 5 root root 4096 Jan 29 2014 .. drwxr-xr-x 2 root root 4096 Dec 5 2015 .AppleDB drwxrwxrwx 2 root root 4096 Nov 13 2011 .AppleDesktop drwxrwxrwx 2 root root 4096 Dec 14 2015 .AppleDouble drwxr-xr-x 5 root root 4096 Dec 14 2015 .Trash-1000 drwxr-xr-x 10 root root 4096 Nov 13 2011 Folder Name drwxr-xr-x 7 root root 4096 Oct 21 2014 Folder drwxr-xr-x 3 root root 4096 Nov 7 2013 Folder drwxr-xr-x 13 root root 4096 Nov 7 2013 Folder drwxr-xr-x 3 root root 4096 Dec 14 2015 Folder drwxr-xr-x 6 root root 4096 Sep 20 2012 Folder drwxr-xr-x 39 root root 4096 Aug 18 2015 Folder drwxrwsr-x 10 root root 4096 Jun 22 2015 Folder drwxrwxrwx 3 root root 4096 Nov 13 2011 Network Trash Folder drwxr-xr-x 42 root root 4096 Dec 15 23:10 Folder drwxr-xr-x 101 root root 4096 Dec 8 2015 Folder -rwxrwxrwx 1 root root 2368 Sep 19 2013 file.bat drwxr-xr-x 6 root root 4096 Dec 14 2015 Folder drwxrwxrwx 3 root root 4096 Nov 7 2013 Temporary Items drwxr-xr-x 16 root root 4096 Oct 24 2015 Folder drwxr-xr-x 16 root root 4096 Nov 8 2015 Folder drwxr-xr-x 19 root root 4096 Aug 13 2015 Folder -rwxrwxrwx 1 root root 0 Dec 20 2013 stderr.log -rw-r--r-- 1 65534 65534 561 Aug 6 2015 file.png drwxr-xr-x 12 root root 4096 Aug 18 2015 Folder

ricardopadilha commented 8 years ago

errno 1 usually means a permission error. In other words, you probably do not have either read or write access to that share.