MID Server service on linux won't start with error in wrapper log stating the mid.pid file already existsIssue MID Server service on Linux won't start with error in wrapper log stating the mid.pid file already exists 2017/09/07 17:54:56 | ERROR: Could not write pid file ../agent/work/mid.pid: Inappropriate ioctl for device2017/09/07 18:48:32 | 4092 pid file, ../agent/work/mid.pid, already exists.CauseA situation could occur where a process with the pid exists but it is not the correct process. Although this can happen in a number of cases, the most common is during system startup after an unclean shutdown. Usually the mid.sh script will handle these situations.Resolutionrename the mid.pid file in the /agent/work directorystart the MID Server service again to bring the MID Server up.Related LinksOther KBs regarding MID Server service on linux startup issues: New MID Server service on linux fails to start if another MID server is already installed on the same host