Hello,
I got an error when starting the ignition gateway, below is the line
Ignition Successfully Installed
The wizard has finished installing Ignition on your computer.
Start Ignition Now [Y/n]: Y
Install Service [Y/n]: n
INFO [IgnitionInstaller ] [2020/10/16 01:13:19]: Starting Gateway.
This should only take a moment..
WARN [IgnitionInstaller ] [2020/10/16 01:14:06]: Unable to start
gateway
com.inductiveautomation.ignition.installer.common.actions.InstallAction$WarnInstallException:
java.util.concurrent.ExecutionException: java.lang.Exception: Java
process exec failed with error code 1: Starting Ignition-Gateway...
Waiting for Ignition-Gateway..........................
WARNING: Ignition-Gateway may have failed to start.
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.install.StartGatewayAction.execute(StartGatewayAction.java:63)
at
com.inductiveautomation.ignition.installer.offline/com.inductiveautomation.ignition.installer.offline.OfflineInstaller.finishInstall(OfflineInstaller.java:401)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.ui.text.InstallerTextApplication.lambda$exitSuccessfully$6(InstallerTextApplication.java:272)
at java.base/java.lang.Thread.run(Thread.java:834)
java.util.concurrent.ExecutionException: java.lang.Exception: Java
process exec failed with error code 1: Starting Ignition-Gateway...
Waiting for Ignition-Gateway..........................
WARNING: Ignition-Gateway may have failed to start.
at
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeCommand(AbstractGatewayCommandAction.java:255)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeCommand(AbstractGatewayCommandAction.java:208)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeWrapperStartCommand(AbstractGatewayCommandAction.java:147)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.install.StartGatewayAction.execute(StartGatewayAction.java:55)
at
com.inductiveautomation.ignition.installer.offline/com.inductiveautomation.ignition.installer.offline.OfflineInstaller.finishInstall(OfflineInstaller.java:401)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.ui.text.InstallerTextApplication.lambda$exitSuccessfully$6(InstallerTextApplication.java:272)
at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.Exception: Java process exec failed with error code 1:
Starting Ignition-Gateway...
Waiting for Ignition-Gateway..........................
WARNING: Ignition-Gateway may have failed to start.
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.lambda$executeCommand$2(AbstractGatewayCommandAction.java:245)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.utils.ProcessUtils.lambda$waitForProcessToFinish$5(ProcessUtils.java:168)
at java.base/java.util.Optional.ifPresentOrElse(Optional.java:201)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.utils.ProcessUtils.lambda$waitForProcessToFinish$7(ProcessUtils.java:158)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.utils.ProcessUtils.waitForProcessToFinish(ProcessUtils.java:182)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeCommand(AbstractGatewayCommandAction.java:244)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeCommand(AbstractGatewayCommandAction.java:208)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.common.AbstractGatewayCommandAction.executeWrapperStartCommand(AbstractGatewayCommandAction.java:147)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.actions.install.StartGatewayAction.execute(StartGatewayAction.java:55)
at
com.inductiveautomation.ignition.installer.offline/com.inductiveautomation.ignition.installer.offline.OfflineInstaller.finishInstall(OfflineInstaller.java:401)
at
com.inductiveautomation.ignition.installer.common/com.inductiveautomation.ignition.installer.common.ui.text.InstallerTextApplication.lambda$exitSuccessfully$6(InstallerTextApplication.java:272)
at java.base/java.lang.Thread.run(Thread.java:834)
Thank you
Can you post the contents of the wrapper.log
? It can be found in the logs
directory of wherever you installed Ignition.
This is the content of wrapper.log file
STATUS | wrapper | 2020/10/20 05:01:29 | --> Wrapper Started as Daemon
STATUS | wrapper | 2020/10/20 05:01:29 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper | 2020/10/20 05:01:29 | Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/10/20 05:01:29 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/10/20 05:01:29 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2020/10/20 05:01:29 |
STATUS | wrapper | 2020/10/20 05:01:29 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:29 | JVM exited while loading the application.
INFO | jvm 1 | 2020/10/20 05:01:29 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 1 | 2020/10/20 05:01:29 | #
INFO | jvm 1 | 2020/10/20 05:01:29 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 1 | 2020/10/20 05:01:29 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 1 | 2020/10/20 05:01:29 | # An error report file with more information is saved as:
INFO | jvm 1 | 2020/10/20 05:01:29 | # /usr/local/bin/ignition/hs_err_pid2210.log
STATUS | wrapper | 2020/10/20 05:01:35 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:01:35 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:01:35 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:35 | JVM exited while loading the application.
INFO | jvm 2 | 2020/10/20 05:01:35 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 2 | 2020/10/20 05:01:35 | #
INFO | jvm 2 | 2020/10/20 05:01:35 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 2 | 2020/10/20 05:01:35 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 2 | 2020/10/20 05:01:35 | # An error report file with more information is saved as:
INFO | jvm 2 | 2020/10/20 05:01:35 | # /usr/local/bin/ignition/hs_err_pid2250.log
STATUS | wrapper | 2020/10/20 05:01:40 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:01:40 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:01:41 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:41 | JVM exited while loading the application.
INFO | jvm 3 | 2020/10/20 05:01:41 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 3 | 2020/10/20 05:01:41 | #
INFO | jvm 3 | 2020/10/20 05:01:41 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 3 | 2020/10/20 05:01:41 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 3 | 2020/10/20 05:01:41 | # An error report file with more information is saved as:
INFO | jvm 3 | 2020/10/20 05:01:41 | # /usr/local/bin/ignition/hs_err_pid2283.log
STATUS | wrapper | 2020/10/20 05:01:46 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:01:46 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:01:46 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:46 | JVM exited while loading the application.
INFO | jvm 4 | 2020/10/20 05:01:46 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 4 | 2020/10/20 05:01:46 | #
INFO | jvm 4 | 2020/10/20 05:01:46 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 4 | 2020/10/20 05:01:46 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 4 | 2020/10/20 05:01:46 | # An error report file with more information is saved as:
INFO | jvm 4 | 2020/10/20 05:01:46 | # /usr/local/bin/ignition/hs_err_pid2322.log
STATUS | wrapper | 2020/10/20 05:01:51 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:01:51 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:01:52 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:52 | JVM exited while loading the application.
INFO | jvm 5 | 2020/10/20 05:01:52 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 5 | 2020/10/20 05:01:52 | #
INFO | jvm 5 | 2020/10/20 05:01:52 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 5 | 2020/10/20 05:01:52 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 5 | 2020/10/20 05:01:52 | # An error report file with more information is saved as:
INFO | jvm 5 | 2020/10/20 05:01:52 | # /usr/local/bin/ignition/hs_err_pid2355.log
FATAL | wrapper | 2020/10/20 05:01:52 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2020/10/20 05:01:52 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2020/10/20 05:01:52 | <-- Wrapper Stopped
STATUS | wrapper | 2020/10/20 05:01:53 | --> Wrapper Started as Daemon
STATUS | wrapper | 2020/10/20 05:01:53 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper | 2020/10/20 05:01:53 | Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/10/20 05:01:53 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/10/20 05:01:53 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2020/10/20 05:01:53 |
STATUS | wrapper | 2020/10/20 05:01:53 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:53 | JVM exited while loading the application.
INFO | jvm 1 | 2020/10/20 05:01:53 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 1 | 2020/10/20 05:01:53 | #
INFO | jvm 1 | 2020/10/20 05:01:53 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 1 | 2020/10/20 05:01:53 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 1 | 2020/10/20 05:01:53 | # An error report file with more information is saved as:
INFO | jvm 1 | 2020/10/20 05:01:53 | # /usr/local/bin/ignition/hs_err_pid2560.log
STATUS | wrapper | 2020/10/20 05:01:58 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:01:59 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:01:59 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:01:59 | JVM exited while loading the application.
INFO | jvm 2 | 2020/10/20 05:01:59 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 2 | 2020/10/20 05:01:59 | #
INFO | jvm 2 | 2020/10/20 05:01:59 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 2 | 2020/10/20 05:01:59 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 2 | 2020/10/20 05:01:59 | # An error report file with more information is saved as:
INFO | jvm 2 | 2020/10/20 05:01:59 | # /usr/local/bin/ignition/hs_err_pid2598.log
STATUS | wrapper | 2020/10/20 05:02:04 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:02:04 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:02:04 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:02:04 | JVM exited while loading the application.
INFO | jvm 3 | 2020/10/20 05:02:04 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 3 | 2020/10/20 05:02:04 | #
INFO | jvm 3 | 2020/10/20 05:02:04 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 3 | 2020/10/20 05:02:04 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 3 | 2020/10/20 05:02:04 | # An error report file with more information is saved as:
INFO | jvm 3 | 2020/10/20 05:02:04 | # /usr/local/bin/ignition/hs_err_pid2633.log
STATUS | wrapper | 2020/10/20 05:02:10 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:02:10 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:02:10 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:02:10 | JVM exited while loading the application.
INFO | jvm 4 | 2020/10/20 05:02:10 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 4 | 2020/10/20 05:02:10 | #
INFO | jvm 4 | 2020/10/20 05:02:10 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 4 | 2020/10/20 05:02:10 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 4 | 2020/10/20 05:02:10 | # An error report file with more information is saved as:
INFO | jvm 4 | 2020/10/20 05:02:10 | # /usr/local/bin/ignition/hs_err_pid2670.log
STATUS | wrapper | 2020/10/20 05:02:15 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/10/20 05:02:15 | JVM process is gone.
STATUS | wrapper | 2020/10/20 05:02:15 | Launching a JVM...
ERROR | wrapper | 2020/10/20 05:02:15 | JVM exited while loading the application.
INFO | jvm 5 | 2020/10/20 05:02:15 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000aaaa0000, 715849728, 0) failed; error='Not enough space' (errno=12)
INFO | jvm 5 | 2020/10/20 05:02:15 | #
INFO | jvm 5 | 2020/10/20 05:02:15 | # There is insufficient memory for the Java Runtime Environment to continue.
INFO | jvm 5 | 2020/10/20 05:02:15 | # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory.
INFO | jvm 5 | 2020/10/20 05:02:15 | # An error report file with more information is saved as:
INFO | jvm 5 | 2020/10/20 05:02:15 | # /usr/local/bin/ignition/hs_err_pid2703.log
FATAL | wrapper | 2020/10/20 05:02:16 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2020/10/20 05:02:16 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2020/10/20 05:02:16 | <-- Wrapper Stopped
Those logs indicate that there isn’t enough free RAM on the machine to run the gateway, which is configured to use 2GB by default.
2 Likes
Thanks, now ignition is successfully installed and it showed
"Gateway started"
"http://localhost:8088"
but when I call it on my browser it still blank.
Am I missing something?
I try to search for ignition PID on "ps -ef" command and i cant found any text containing ignition
Can you upload the wrapper.log file again?
Either a permissions error, or more likely, some other piece of software is already using port 8088.
Okay, now the process is running I can see the ignition PID
but it still not shown anything on my browser.
here is another log showing which port is used
root@albert:~# sudo lsof -i -P -n | grep LISTEN
systemd-r 685 systemd-resolve 13u IPv4 15313 0t0 TCP 127.0.0.53:53 (LISTEN)
grafana-s 780 grafana 8u IPv6 19301 0t0 TCP *:3000 (LISTEN)
node 793 root 19u IPv4 20316 0t0 TCP *:1880 (LISTEN)
sshd 840 root 3u IPv4 18198 0t0 TCP *:22 (LISTEN)
sshd 840 root 4u IPv6 18204 0t0 TCP *:22 (LISTEN)
nginx 936 root 6u IPv4 18763 0t0 TCP *:80 (LISTEN)
nginx 936 root 7u IPv6 18764 0t0 TCP *:80 (LISTEN)
nginx 937 www-data 6u IPv4 18763 0t0 TCP *:80 (LISTEN)
nginx 937 www-data 7u IPv6 18764 0t0 TCP *:80 (LISTEN)
java 2559 albert 4u IPv4 496740 0t0 TCP 127.0.0.1:32000 (LISTEN)
java 2559 albert 105u IPv6 496946 0t0 TCP *:8088 (LISTEN)
it is stated that port 8088 uses IPv6, is it normal? how do i change it to IPv4?
It's normal for Java to default to IPv6, it should not generally be an issue.
You can force IPv4 by adding an property to the "additional parameters" section of ignition.conf:
-Djava.net.preferIPv4Stack=true
What does your wrapper.log look like now? Does it show a successful startup?
This is the full wrapper log
wrapper log
Hmm. Looks okay now… you should see the commissioning page at http://localhost:8088 (or some other IP if you are not running the browser on the same server) now.
What browser are you using? Is there perhaps a firewall in the way?
1 Like