changed location of socket file to /var/lock/