Date: Thu, 28 Mar 2024 17:31:50 +0000 (UTC) Message-ID: <198431727.5435.1711647110650@ip-10-0-1-161.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5434_207717820.1711647110645" ------=_Part_5434_207717820.1711647110645 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
<upt= ime_dir>/scripts/agentcmd -s -p 9998 localhost ver
If the output returned contains "Initialized AgentCom= municatorApp", then continue with the steps below to resolve.
2014-03-06 10:37:29,250 INFO [] - Initialized AgentCommunicatorApp 2014-03-06 10:37:29,250 INFO [] - Database connection was not explicitly in= itialized; performing check...
[jvm.additional.args] -d64
-Dlog4j.configuration=3Dfile:///usr/local/uptime/log4j.properties
[jvm.additional.args] -d64 -Dlog4j.configuration=3Dfile:///usr/local/uptime/log4j.properties
log4j.rootLogger=3DWARN, THIRDPARTY #console logger log4j.appender.CONSOLE=3Dorg.apache.log4j.RollingFileAppender log4j.appender.CONSOLE.MaxFileSize=3D10MB log4j.appender.CONSOLE.MaxBackupIndex=3D0 log4j.appender.CONSOLE.File=3Dlogs/uptime_scripts.log log4j.appender.CONSOLE.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=3D%d | %p | %X{context} | %= t | %c | %m%n #third party code logger - thirdparty.log log4j.appender.THIRDPARTY=3Dorg.apache.log4j.RollingFileAppender log4j.appender.THIRDPARTY.MaxFileSize=3D10MB log4j.appender.THIRDPARTY.MaxBackupIndex=3D0 log4j.appender.THIRDPARTY.File=3Dlogs/thirdparty.log log4j.appender.THIRDPARTY.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.THIRDPARTY.layout.ConversionPattern=3D%d | %p | %X{context} = | %t | %c | %m%n
# Launch4j runtime config -Dlog4j.configuration=3D"file:/C:/Program Files/uptime software/uptime/log= 4j.properties" ## -Dlog4j.debug=3Dtrue
log4j.rootLogger=3DWARN, THIRDPARTY #console logger log4j.appender.CONSOLE=3Dorg.apache.log4j.RollingFileAppender log4j.appender.CONSOLE.MaxFileSize=3D10MB log4j.appender.CONSOLE.MaxBackupIndex=3D0 log4j.appender.CONSOLE.File=3Dlogs/uptime_scripts.log log4j.appender.CONSOLE.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=3D%d | %p | %X{context} | %= t | %c | %m%n #third party code logger - thirdparty.log log4j.appender.THIRDPARTY=3Dorg.apache.log4j.RollingFileAppender log4j.appender.THIRDPARTY.MaxFileSize=3D10MB log4j.appender.THIRDPARTY.MaxBackupIndex=3D0 log4j.appender.THIRDPARTY.File=3Dlogs/thirdparty.log log4j.appender.THIRDPARTY.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.THIRDPARTY.layout.ConversionPattern=3D%d | %p | %X{context} = | %t | %c | %m%n
$NETCAT -p $port $hostname rexec $password $customscript
$NETCAT --l4j-debug -p $port $hostname rexec $password $customscript= pre>