Quantcast
Channel: Visual COBOL Knowledge Base
Viewing all articles
Browse latest Browse all 214

License files are by default created in /tmp directory, how to change this?

$
0
0
Current Revision posted to Visual COBOL Knowledge Base by Peter.Kalfsbeek on 9/26/2018 9:44:30 AM

Problem:

When someone clears up the /tmp directory it will remove license related files which are by default created in the /tmp directory.

Resolution:

There are two types of file stored in /tmp by default.

The socket file which is used to communicate between mfcesd and the COBOL apps. You can relocate this file by setting socketdir (e.g. socketdir=/var/microfocuslicensing/socket) in ces.ini (needs version 10000.2.02090 or later and you’ll need to create the folder with 666 permissions ).  NOTE: The file is abstract on Linux systems so you shouldn’t have an issue.

The second type is the lock file (mfcesd.lock). This is used to prevent a second copy of mfcesd from running and to help identify the mfcesd process when stopping it vis stopmfesd.sh etc. Having the file go missing is less important especially if you are aware this may cause issues with starting/stopping mfcesd.


Viewing all articles
Browse latest Browse all 214

Trending Articles