Getting error: RPC prog. not avail while trying to mount using nfs

On my Raspbian jessie I have NFS server running:

 $ sudo service rpcbind status
● rpcbind.service - LSB: RPC portmapper replacement
   Loaded: loaded (/etc/init.d/rpcbind)
  Drop-In: /run/systemd/generator/rpcbind.service.d
           └─50-rpcbind-$portmap.conf
   Active: active (running) since Mon 2016-09-19 18:33:01 UTC; 2min 17s ago
  Process: 9800 ExecStart=/etc/init.d/rpcbind start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/rpcbind.service
           └─9809 /sbin/rpcbind -w

Sep 19 18:33:01 raspberrypi rpcbind[9800]: Starting rpcbind daemon....
Sep 19 18:33:01 raspberrypi systemd[1]: Started LSB: RPC portmapper replacement

and on my client machine mac

I am trying to mount the shared drive

$ sudo mount -o rsize=32768,wsize=32768,intr,noatime -t nfs 192.168.1.100:/home/pi/USBHDD /Volumes/USBHDD
mount_nfs: can't mount /home/pi/USBHDD from 192.168.1.100 onto /Volumes/USBHDD: RPC prog. not avail

Solution 1:

Try this:

pi@raspberrypi:~$ sudo /etc/init.d/nfs-kernel-server restart