Mid server issue - MIDFilePermEnforcer

Cynthia Flowers
Tera Contributor

Hi.  Hoping someone can help.

We have the following issue appearing on our mid server:

Issue source: MIDFilePermEnforcer

Short description: WARNING: Unable to execute command to save the current ACL to a temp file.

Each month we have an integration that writes several dozen files to the mid server but this time they appear to be stuck  The files show "ready" state in the ecc queue.  Since this issue appeared since the files werre last generated successfully, it seems likely to be the cause.

Any ideas what this issue is and how to resolve? Any help is appreciated.

1 REPLY 1

Swarup Patra
Kilo Guru

The issue you're facing seems to be related to file permissions on your MID Server. The MID Server requires certain permissions to execute commands and write files. If these permissions are not set correctly, it can lead to issues like the one you're experiencing. Here's how you can resolve this:

1. **Check the MID Server User's Permissions**: The user running the MID Server service should have full control over the MID Server directory. This includes read, write, and execute permissions.

2. **Check the File Permissions**: The files that are being written to the MID Server should also have the correct permissions. The MID Server user should have write permissions to these files.

3. **Run the MID Server as an Administrator**: If the MID Server is running on a Windows machine, try running the service as an Administrator. This can often resolve permission-related issues.

4. **Check the MID Server Logs**: The MID Server logs can provide more information about the error. Look for any error messages related to file permissions or the MIDFilePermEnforcer.

5. **Restart the MID Server**: Sometimes, simply restarting the MID Server can resolve temporary issues.

6. **Contact ServiceNow Support**: If the issue persists, it may be best to contact ServiceNow Support. They can help diagnose and resolve the issue.

Remember to always backup your data before making any changes to your system.


nowKB.com
If you want to know any information about Service Now . Visit to https://nowkb.com/home