What is the Linux version you are using?
Please check if opendkim is already installed.
Centos
rpm -qa|grep opendkim
Ubuntu
dpkg -l|grep opendkim
Try restarting it on the command line to see if there is an error?
systemctl restart opendkim
Please print out the results