Sorry for the late reply, some other stuff got in the way.
Server has been up since i posted. stdoutt.log
still only has those lines and openfire.log
is still empty.
We are using the binary from the tarball. Pretty basic startup service:
# /etc/systemd/system/openfire.service
[Unit]
Description=Openfire XMPP Server
After=network-online.target
[Service]
EnvironmentFile=/etc/default/openfire
Type=forking
ExecStart=/opt/openfire/current/bin/openfire start
ExecStop=/opt/openfire/current/bin/openfire stop
WorkingDirectory=/opt/openfire/current
User=openfire
Group=openfire
[Install]
WantedBy=default.target
# /etc/default/openfire
JAVA_HOME="/opt/jvm/current/jre"
PATH="/opt/jvm/current/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
We have a couple of java startup options, from the log4j mitigation, but already tried without those without any changes:
# /opt/openfire/current/bin/openfire.vmoptions
-Dlog4j.configurationFile=${sys:openfire.lib.dir}/log4j2.xml -Dlog4j2.formatMsgNoLookups=true
openfire 19623 1 0 Jan24 ? 00:39:50 /opt/jvm/current/jre/bin/java -server -Djdk.tls.ephemeralDHKeySize=matched -Djsse.SSLEngine.acceptLargeFragments=true -DopenfireHome=/opt/openfire/current/bin/../ -Dopenfire.lib.dir=/opt/openfire/current/lib -Dlog4j.configurationFile=${sys:openfire.lib.dir}/log4j2.xml -Dlog4j2.formatMsgNoLookups=true -Di4jv=0 -Di4jv=0 -Di4jv=0 -Di4jv=0 -classpath /opt/openfire/current/.install4j/i4jruntime.jar:/opt/openfire/current/.install4j/launchere44106de.jar:/opt/openfire/current/lib/* install4j.org.jivesoftware.openfire.starter.ServerStarter start
Environment
Java Version: 1.8.0_312 Azul Systems, Inc. -- OpenJDK 64-Bit Server VM
Appserver: jetty/9.4.43.v20210629
# ls -la /opt/openfire/
total 0
drwxr-xr-x 4 root root 47 Jan 24 12:49 .
drwxr-xr-x 8 root root 88 Sep 24 18:22 ..
drwxr-x--- 11 openfire openfire 203 Dec 17 09:22 4.6.6
drwxr-x--- 11 openfire openfire 203 Jan 24 12:49 4.7.0
lrwxrwxrwx 1 root root 19 Jan 24 12:19 current -> /opt/openfire/4.7.0
# ls -la /opt/openfire/current/
total 396
drwxr-x--- 11 openfire openfire 203 Jan 24 12:49 .
drwxr-xr-x 4 root root 47 Jan 24 12:49 ..
drwxr-x--- 3 openfire openfire 108 Feb 7 12:26 bin
-rw-r--r-- 1 openfire openfire 364493 Jan 19 17:46 changelog.html
drwxr-xr-x 2 openfire openfire 99 Feb 7 12:26 conf
drwxr-xr-x 4 openfire openfire 4096 Jan 19 17:47 documentation
drwxr-x--- 3 openfire openfire 116 Feb 7 12:26 embedded-db
drwxr-xr-x 2 openfire openfire 4096 Jan 19 17:47 .install4j
drwxr-xr-x 2 openfire openfire 8192 Jan 19 17:47 lib
-rw-r--r-- 1 openfire openfire 10874 Jan 5 16:24 LICENSE.html
drwxr-xr-x 2 openfire openfire 65 Jan 24 13:36 logs
drwxr-xr-x 4 openfire openfire 51 Jan 24 12:49 plugins
-rw-r--r-- 1 openfire openfire 5403 Jan 5 16:24 README.html
drwxr-xr-x 6 openfire openfire 69 Jan 19 17:47 resources
# /opt/openfire/current/lib/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration monitorInterval="30">
<Appenders>
<!-- Modifying this appender is likely to break the log viewer that is part of the Openfire admin console.
- If you'd like to have a differently formatted log file, it is advisable to create a new log file, by
- duplicating this configuration, instead of changing it.
-->
<RollingFile name="openfire" fileName="${sys:openfireHome}/logs/openfire.log" filePattern="${sys:openfireHome}/logs/openfire.log-%i">
<PatternLayout>
<Pattern>%d{yyyy.MM.dd HH:mm:ss} %highlight{%-5p} [%t]: %c - %msg{nolookups}%n</Pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
</RollingFile>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%msg{nolookups}%n%throwable{0}"/>
</Console>
</Appenders>
<Loggers>
<!-- OF-1095: Uniform output of loading/unloading of plugins to std-out. -->
<Logger name="org.jivesoftware.openfire.container.PluginManager">
<AppenderRef ref="console"/>
</Logger>
<Logger name="org.jivesoftware.openfire.container.PluginMonitor">
<AppenderRef ref="console"/>
</Logger>
<!-- OF-506: Jetty INFO messages are generally not useful. Ignore them by default. -->
<Logger name="org.eclipse.jetty" level="warn"/>
<Root level="info">
<AppenderRef ref="openfire"/>
</Root>
</Loggers>
</Configuration>
# ls -la /opt/openfire/current/logs/
total 8
drwxr-xr-x 2 openfire openfire 65 Jan 24 13:36 .
drwxr-x--- 11 openfire openfire 203 Jan 24 12:49 ..
-rw-r--r-- 1 openfire openfire 0 Jan 24 13:45 openfire.log
-rw-r--r-- 1 openfire openfire 101 Jan 24 13:37 stderror.log
-rw-r--r-- 1 openfire openfire 126 Jan 24 13:37 stdoutt.log
Let me know if there is anything else i could check