Both sides previous revisionPrevious revisionNext revision | Previous revision |
general:secadv-2021-01 [2024/02/13 17:15] – [Windows] emr | general:secadv-2021-01 [2024/02/15 00:00] (current) – external edit 127.0.0.1 |
---|
==== Linux ==== | ==== Linux ==== |
| |
Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to <font inherit/Courier New,Courier,monospace;;inherit;;inherit>/opt/stages/bin/rc.conf</font> as shown here:<code> | Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to /opt/stages/bin/rc.conf as shown here:<code> |
| |
CONF_JAVA_OPTS="-Dsun.net.inetaddr.ttl=30 -Xrs -Djava.awt.headless=true -Dlog4j2.formatMsgNoLookups=true" | CONF_JAVA_OPTS="-Dsun.net.inetaddr.ttl=30 -Xrs -Djava.awt.headless=true -Dlog4j2.formatMsgNoLookups=true" |
</code> | </code> |
| |
Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to <font inherit/Courier New,Courier,monospace;;inherit;;inherit>/opt/stages/elasticsearch/config/jvm.options</font> as shown here: | Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to /opt/stages/elasticsearch/config/jvm.options as shown here: |
| |
<code level1> | <code level1> |
==== Windows ==== | ==== Windows ==== |
| |
Start a command line interface with administrative permissions: | Start a command line interface with administrative permissions. |
| |
{{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/general/cmdadministrative.png?600x359 |https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/general/cmdadministrative.png}}[[https://doc.stagesasaservice.com/lib/exe/fetch.php?tok=d23ece&media=https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/general/cmdadministrative.png|{{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/general/cmdadministrative.png?600x359 }}]] | |
| |
Navigate to your Stages installation via the "cd" command. | Navigate to your Stages installation via the "cd" command. |
| |
Edit <font 11.0pt/inherit;;inherit;;inherit><STAGES_INSTALL_DIR>\</font>//config.bat// and add the parameter "-Dlog4j2.formatMsgNoLookups=true" to the line //JAVA_OPTS as shown here//: | Edit <STAGES_INSTALL_DIR>\//config.bat// and add the parameter "-Dlog4j2.formatMsgNoLookups=true" to the line //JAVA_OPTS as shown here//: |
| |
<code -> | <code -> |
</code> | </code> |
| |
Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to <font 11.0pt/inherit;;inherit;;inherit><STAGES_INSTALL_DIR>\elasticsearch\config\</font>jvm.options as shown here: | Add the parameter "-Dlog4j2.formatMsgNoLookups=true" to <STAGES_INSTALL_DIR>\elasticsearch\config\jvm.options as shown here: |
| |
<code -> | <code -> |
</code> | </code> |
| |
Navigate to <font 11.0pt/inherit;;inherit;;inherit><STAGES_INSTALL_DIR>\bin and run //reinstallService.bat//.</font> \\ Restart both the "Stages" and the "Stages Search" services either via the "Services" application or the respective "net stop" and "net start" commands. | Navigate to <STAGES_INSTALL_DIR>\bin and run //reinstallService.bat//. |
| |
| Restart both the "Stages" and the "Stages Search" services either via the "Services" application or the respective "net stop" and "net start" commands. |
| |
**IMPORTANT: it is necessary to perform the modifications on both services to be fully secure! ** | **IMPORTANT: it is necessary to perform the modifications on both services to be fully secure! ** |