I was looking for some event gateway logs and realized the wrapper.log files have not been getting updated.
I restarted the service, then the entire server and nothing changed.
I moved all the existing wrapper.log* files out of the way and restarted the machine again. There are no new wrapper.log files getting created.
I am running Ignition 7.9.21 under Ubuntu Linux 22.04, does anybody have any ideas on what I could do to enable them again?
--------------- Following is what I have done to troubleshoot so far -------------------
I verified the directory where they should be getting logged.
root@irrigctl:/var/log/ignition# cat /etc/ignition/ignition.conf | grep wrapper.log
wrapper.logfile=/var/log/ignition/wrapper.log
..
I verified the user has permissions to write to that directory..
113 # If specified, the Wrapper will be run as the specified user.
114 # IMPORTANT - Make sure that the user has the required privileges to write
115 # the PID file and wrapper.log files. Failure to be able to write the log
116 # file will cause the Wrapper to exit without any way to write out an error
117 # message.
118 # NOTE - This will set the user which is used to run the Wrapper as well as
119 # the JVM and is not useful in situations where a privileged resource or
120 # port needs to be allocated prior to the user being changed.
121 RUN_AS_USER=root
I cannot see anything wrong with the service call itself..
root@irrigctl:/usr/local/bin/ignition# systemctl status Ignition-Gateway.service
â Ignition-Gateway.service - Ignition-Gateway
Loaded: loaded (/etc/systemd/system/Ignition-Gateway.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2025-06-02 10:25:02 PDT; 49min ago
Process: 493 ExecStart=/usr/local/bin/ignition/ignition.sh start sysd (code=exited, status=0/SUCCESS)
Main PID: 589 (ignition-gatewa)
Tasks: 348 (limit: 4648)
Memory: 1.8G
CPU: 16min 30.521s
CGroup: /system.slice/Ignition-Gateway.service
-589 /usr/local/bin/ignition/./ignition-gateway /var/lib/ignition/data/ignition.conf wrapper.syslog.ident=Ignition-Gateway
wrapper.pidfile=/usr/local/bin/ignition/./Ignition-Gateway.pid wrapper.daemonize=TRUE wrapper.name=Ignition-Gateway
wrapper.displayname=Ignition-Gateway wrapper.statusfile=/usr/local/bin/ignition/./Ignition-Gateway.status
wrapper.java.statusfile=/usr/local/bin/ignition/./Ignition-Gateway.java.status wr
-662 /usr/local/java/jre1.8.0_321/bin/java -XX:PermSize=64m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC \
-XX:+CMSClassUnloadingEnabled -Ddata.dir=/var/lib/ignition/data \
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Xms1024m -Xmx2048m \
-Djava.library.path=lib -classpath lib/wrapper.jar:lib/catapult.jar -Dwrapper.key=fEyaG8YklEyHnk_ERQmnT4Gjne4mlZYb \
-Dwrapper.port=32000 -Dwrapper.jvm.port.min=3
Jun 02 10:24:55 irrigctl systemd[1]: Starting Ignition-Gateway...
Jun 02 10:24:55 irrigctl ignition.sh[493]: Starting Ignition-Gateway...
Jun 02 10:25:02 irrigctl ignition.sh[493]: Waiting for Ignition-Gateway.........
Jun 02 10:25:02 irrigctl ignition.sh[493]: running: PID:589
Jun 02 10:25:02 irrigctl systemd[1]: Started Ignition-Gateway.