Notifications

431 views

Description

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 device
2017/09/07 18:48:32 | 4092 pid file, ../agent/work/mid.pid, already exists.

Cause

A 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.

Resolution

  1. rename the mid.pid file in the /agent/work directory
  2. start the MID Server service again to bring the MID Server up.

Additional Information

Other KBs regarding MID Server service on linux startup issues:

Article Information

Last Updated:2020-04-24 07:54:28
Published:2020-04-24