- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Two vendor daemon share the same log file
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Two vendor daemon share the same log file
Hi All,
I have encountered an issue in which two vendor daemons share the same log file on our server. I have tried to fix it by segregating them and changing the path but it seemingly does not work. Does anyone of you know how to solve this issue?
Thank you.
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Can you give more information on the setup? Is it a One License Server and Multiple License Files or a Common vendor daemon setup?
Also, one suggestion would be to use the DEBUGLOG keyword to specify the log file path in the OPTIONS FILE.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
It is a Multiple Licence Files setup in LMTOOLS. Do you happen to know how to find the OPTIONS FILE?
Thank you.
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Options file is a .(dot)opt file which does not exist by default and might need to be created. If the options file name is the same as the vendor daemon then lmtools should automatically load it considering it is in the same location as lmgrd/lmtool. If not or if the server does not take up the options file automatically you can always declare in the license file on the vendor line. Syntax:
VENDOR vendor [vendor_daemon_path] [[OPTIONS=]options_file_path] [[PORT=]port]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
So I will need to create a new OPTIONS file and declare it in the licence file?
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Yes, that should create different logs for each vendor in the declared location.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank you, Yvernekar.
However, would you mind explaining more about this "One suggestion would be to use the DEBUGLOG keyword to specify the log file path in the OPTIONS FILE."?
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Once you create an options file make an entry in it:
DEBUGLOG [+]debug_log_path
debug_log_path: path for the debug log output
Preceding the debug_log_path with a "+" character appends logging entries; otherwise, the file is overwritten each time the daemon is started.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
So, the log will be generated in the debug log?
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The log will be created at the location specified by you ie <debug_log_path>
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
Does it impact the software if these changes have been made? Or potential vulnerabilities?
Thank you.
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
As per my knowledge, it does not.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
What would happen to the old log file?
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
If the "+" symbol is not added, the log files get replaced with the new log file. If the "+" is added in front of the path then the log gets appended to the file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
Thank you. I will let you know if it is successful.
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Yvernekar,
It seems it doesn't work. It gave me an error. It says DEBUGLOG AUTO_ROLLOVER is disabled.
Thank you.
Regards,
Faten
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi, Can you try adding the AUTO_ROLLOVER keyword as shown below, and check if that solves the issue? if not, please raise a Support case.
DEBUGLOG +debug.log AUTO_ROLLOVER 5KB
Note : Here we can specify KB/MB/GB for file size to rollover
- Here the last entry about [AUTO_ROLLOVER] is the enhancement related to the rollover of debug log.
- The AUTO_ROLLOVER option enables the auto rollover of debug log file, which automatically performs the rollover functionality of debug log file when the debug log file size crosses the specified value. The default value would be 512MB.
- The automatic rollover will always be performed at midnight.
