clamd AntiVirus daemon giving local socket error while starting

Clamd is giving below error while starting.

Starting Clam AntiVirus Daemon: ERROR: LOCAL: Socket file /var/clamd could not be bound: Permission denied
ERROR: Can’t unlink the socket file /var/clamd

Open clamd.conf

vi /etc/clamd.conf

Comment the below lines by giving # infront of the line. This will fix the error:

LocalSocket unix:/var/run/clamav/clamd.sock
FixStaleSocket yes