The KNIME Server (Apache Tomcat) gets initially started once at the end of the installation process.
If you haven’t stopped it via <apache_install_folder>/bin/shutdown.sh or via kill -9 <pid> it will still be running in the background.
This will prevent the KNIME Server service to start as it will fail to assign the needed and configured
communication ports.
Could you try to stop a background KNIME Server process via executing <apache_install_folder>/bin/shutdown.sh first and check afterwards, if you are able to start the KNIME Server service via sudo systemctl start knime-server
?
Hi @MichaelRespondek ,
Tried both ways using shutdown and also killing process and then starting the service. But it didnt work.
When i tried to start the service got this:
systemctl start knime-server.service
Job for knime-server.service failed because the control process exited with error code.
See “systemctl status knime-server.service” and “journalctl -xe” for details.
status is :
● knime-server.service - KNIME Server
Loaded: loaded (/usr/local/lib/systemd/system/knime-server.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/knime-server.service.d
└─override.conf
Active: failed (Result: exit-code) since Tue 2023-02-21 06:40:52 CET; 19min ago
Process: 693 ExecStartPre=/bin/touch /var/run/apache-tomcat.pid (code=exited, status=0/SUCCESS)
Process: 697 ExecStartPre=/bin/chown $USER /var/run/apache-tomcat.pid (code=exited, status=0/SUCCESS)
Process: 698 ExecStart=/usr/local/libexec/knime-server/server start (code=exited, status=203/EXEC).
Is there any way we can get logs to figure out what is the issue ?
We were able to solve this during a support call.
Root cause: The execute rights on one of the folders of /usr/local/libexec/knime-server/server were not granted for the executing user of the KNIME Server service.
Best,
Michael
Hi @MichaelRespondek ,
We are now able to login into webportal but while running the workflow we get error.
Couldnot create job gateway timeout. Any idea whats the issue ?
we are using rabbitmq , for it instead of default port 5672 we have changed it to 55672
and proxies are listed in knime.ini with values
Thank you for the provided update. Bad to hear that you are still facing issues.
Let’s take care of the proxy configuration:
Using the mentioned lines in the knime.ini will activate the proxy for all http and https connections without any exceptions. Therefore also the REST calls from the Executor to the KNIME Server to download a workflow for execution would be using the proxy and fail (triggering the gateway error).
You have to configure a proxy bypass list which is possible for http and https via
-Dhttp.nonProxyHosts=
-Dhttps.nonProxyHosts=
You should at least add the canonical address to the nonProxyHosts.
Alternatively you could try either to comment all the proxy configuration lines in the knime.ini out (to check wether it works in general) or follow up the preferred alternative configuration method below, for this you should also deactivate all proxy setting lines in the knime.ini:
If you are running the KNIME Executor under Windows (or Linux with X11 available) I would recommend to configure the Executor’s proxy via starting the knime.exe or knime with a dummy workspace and configure it via File → Preferences → General → Network Connections.
The proxy configuration will then stored under <executor_install_dir>/configuration/.settings/org.eclipse.core.net.prefs and used even in the executor mode.
If you don’t have the possibility to run the executor in GUI mode (headless linux for instance) you can configure it on a local KNIME Analytics Platform and copy this file over to the KNIME Server machine.
I expect your issues being solved after the proxy setup is done.