We are having issue with usage server. When the service is restarted the status is active but after a few seconds the service says 'activating' and I can see java failures. Please see screenshot below.
● cloudstack-usage.service - CloudStack Usage Server Loaded: loaded (/lib/systemd/system/cloudstack-usage.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2021-04-13 14:26:18 UTC; 782ms ago Docs: http://www.cloudstack.org/ Main PID: 29252 (sh) Tasks: 23 (limit: 4915) CGroup: /system.slice/cloudstack-usage.service ├─29252 /bin/sh -ec /usr/bin/java -Dpid=$$ $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS └─29255 /usr/bin/java -Dpid=29252 -Xms256m -Xmx2048m -cp /usr/share/cloudstack-usage/*:/usr/share/cloudstack-usage/lib/*:/usr/share/cloudstack-mysql-ha/lib/*:/etc/cloudstack/usage:/usr/share/ Apr 13 14:26:18 cloudstackeu systemd[1]: Started CloudStack Usage Server. Apr 13 14:26:18 cloudstackeu sh[29252]: log4j:WARN No appenders could be found for logger (com.cloud.utils.LogUtils). Apr 13 14:26:18 cloudstackeu sh[29252]: log4j:WARN Please initialize the log4j system properly. Apr 13 14:26:18 cloudstackeu sh[29252]: log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Apr 13 14:26:18 cloudstackeu sh[29252]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". Apr 13 14:26:18 cloudstackeu sh[29252]: SLF4J: Defaulting to no-operation (NOP) logger implementation Apr 13 14:26:18 cloudstackeu sh[29252]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. root@cloudstackeu:~# service cloudstack-usage status ● cloudstack-usage.service - CloudStack Usage Server Loaded: loaded (/lib/systemd/system/cloudstack-usage.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2021-04-13 14:30:09 UTC; 3s ago Docs: http://www.cloudstack.org/ Process: 30205 ExecStart=/bin/sh -ec /usr/bin/java -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS (code=exited, status=1/FAILURE) Main PID: 30205 (code=exited, status=1/FAILURE) root@cloudstackeu:~# service cloudstack-usage status -l ● cloudstack-usage.service - CloudStack Usage Server Loaded: loaded (/lib/systemd/system/cloudstack-usage.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2021-04-13 14:30:20 UTC; 5s ago Docs: http://www.cloudstack.org/ Process: 30260 ExecStart=/bin/sh -ec /usr/bin/java -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS (code=exited, status=1/FAILURE) Main PID: 30260 (code=exited, status=1/FAILURE) Sent with [ProtonMail](https://protonmail.com) Secure Email.