I'm having issues with NFS, it was working fine, and then suddenly stopped. I can't mount the NFS shares any more, I'be goofing around for hours now but can't figure out why it's not working.
Whenever I try to mount I get these messages:
Even with this simple /etc/exports file it doesn't work anymore:
I've got this in /etc/rc.conf
Still looks like it's exported though
In /var/messages I get these errors:
I can't mount these shares from other servers or even localhost:
I know you're not supposed use symlink in the path and stuff so I've checked for that. I've tried sharing different directories and etc. I don't think it's really a permission problem either, but who knows...
Please help, it's driving me nuts!
Whenever I try to mount I get these messages:
Code:
[tcp6] localhost:/usr/ports: RPCPROG_NFS: RPC: Remote system error - Protocol not supported
[tcp] localhost:/usr/ports: Permission denied
[tcp] localhost:/usr/ports: Permission denied
Even with this simple /etc/exports file it doesn't work anymore:
Code:
/usr/ports/ -ro
I've got this in /etc/rc.conf
Code:
rpcbind_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 20"
nfs_reserved_port_only="YES"
mountd_flags="-r"
Still looks like it's exported though
Code:
# showmount -e
Exports list on localhost:
/usr/ports/ Everyone
In /var/messages I get these errors:
Code:
Jul 2 10:34:45 kitbuild001 mountd[486]: mount request denied from 127.0.0.1 for /usr/ports
Jul 2 10:35:22 kitbuild001 last message repeated 2 times
I can't mount these shares from other servers or even localhost:
Code:
mount -o tcp localhost:/usr/ports test
[tcp6] localhost:/usr/ports: RPCPROG_NFS: RPC: Remote system error - Protocol not supported
[tcp] localhost:/usr/ports: Permission denied
[tcp] localhost:/usr/ports: Permission denied
I know you're not supposed use symlink in the path and stuff so I've checked for that. I've tried sharing different directories and etc. I don't think it's really a permission problem either, but who knows...
Please help, it's driving me nuts!