I work on a vm Azure provided with Knime server. The vm is stopped each night and boot on the morning. And on the morning, when I try to launch a workflow, I have the error “RMI executor could not be started”.
I found that rebooting the tomcat/catalina server in sudo help to resolve the problem.
What do I need to do to not have this problem at the next reboot of the vm?
You will find in the attached file a part of the localhost.log file including the RMI error.
Can you please describe how you shut down the server at night? And how you restart it the next day? The error points to some permission problems. Can you confirm that everything is shut down properly?
Apart from that: any specific reason why you stop the vm every night?
Yes I was thinking the same, that is why I reboot tomcat in sudo.
The server is a vm on Azure (provided by MS and Knime). to the best of my knowledge, the shutdown/start procedure is directly controlled by the Azure portal. I do not have the details but I think that is ok.
Apart: yes a lot of reasons, the first one is the cost per hour of this preconfigure vm.
Just to confirm: When you start the VM via Azure portal, KNIME Server is started as well, but the executor has issues. You fix this by re-starting Tomcat, using sudo. Is that correct?
Also, are you using one of our pre-configured KNIME Server images on Azure, or did you install KNIME Server yourself?
Blockquote
In the /var/log/syslog file I have this May 31 06:46:48 vmKnimeDv01 systemd[1]: apache-tomee.service: Control process exited, code=exited status=1
May 31 06:46:48 vmKnimeDv01 systemd[1]: apache-tomee.service: Unit entered failed state.
May 31 06:46:48 vmKnimeDv01 systemd[1]: apache-tomee.service: Failed with result ‘exit-code’.
For various reasons I did not use the machine where I had the RMI error until here. I can confirm you that still I have the error. However we will have to build a new Knime server from the Azure store, so I hope I will not have the error on the new machine.
As you know I moved to a new Azure Machine from the BYOL license. Still I have issue on the RMI executor!
When I try to launch one of the workflows example on the webportal I have an error about RMI execution in a pop up, and in the log file I have this error:
"2020-02-21 08:33:53,993 : ERROR : main : : KNIMEExecutorApplication : : : Requested RMI port 50101 is already in use, exiting.
java.rmi.server.ExportException: Port already in use: 50101; nested exception is: "
I tried to shutdown and restart tomcat without success.
Great to hear that it’s working now! We have already published a fix for this as part of KNIME Server 4.10.1. This should also soon be pushed to our Azure images.