After retrieving your license file with grbgetkey <your-license-code>, you might receive the message:
ERROR 10009: License is for 8 cores, machine has XX
This error occasionally appears for free individual academic, named user, single-use, and floating site token licenses. To resolve this issue, please run the command grbgetkey <your-license-code> once more.