Mysql error manager of pid file quit without updating file