NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

I am trying to upgrade from driver 11.6 to 11.7, in a sever I have followed the the following commands,

and I have tried to run the command nvidia-smi, I am stuck with error.

I am using Ubuntu 20.04.