were trying to migrate knime to a internal cloud platform.
The active Server runs un Redhat 7 (both services knime-server and knime-executor)
The Cloud OS is:
[root@ede0gn ~]# cat /etc/os-release
NAME=“Red Hat Enterprise Linux”
VERSION=“8.8 (Ootpa)”
ID=“rhel”
ID_LIKE=“fedora”
VERSION_ID=“8.8”
The setup nearly identical, but the creation of the knime-server and knime-executor services make problems.
The knime-server service cannot be startet:
[root@ede0gn ~]# systemctl start knime-server
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.
How did you copy in the systemd scripts? Did you use the sudo cp -r command like in [1] ?
It looks like this line shows us the true issue:
Jul 17 21:59:23 ede0gn systemd[92260]: knime-server.service: Failed at step EXEC spawning /usr/local/libexec/knime-server/server: Permission denied
Check the permissions on the entire file structure that you copied in for the systemd scripts, and see if perhaps there is an ownership or permissions issue at hand. The files should be owned by root:root and readable by the user the process is being started as (knime, usually).
Alternatively, perhaps the ownership/permissions on the target directory are incorrect (like if you installed KS as root, but the startup user is knime, then it may be unable to read/write the files as it needs to.)
If you identify the directory and owner/permissions are incorrect, you can likely correct this with chown -R <owner>:<group> <directory>, where owner:group are probably root:root and directory is the directory where the systemd scripts were copied into. Care should be taken to make sure you won’t have inadvertent side effects with an improperly phrased command, though.
If you’d prefer to work together directly rather than via public forum on this issue, please reach out to support@knime.com and we can assist you directly.
As I have installed and updated Knime on Red Hat on multiple Servers , never had any issues with creating the knime-services any time, this one : Red Hat on a Cloud platform was a pain.
For the ‘server’ script , the conf and service - Files and every folder which leads to their storage location I altered the User-Rights to
chmod -R u=+r+w+x,go=+r+x /usr/local/libexec/ (or whatever)
[root@ede0gn system]# systemctl status knime-server
● 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: active (running) since Tue 2023-07-18 09:02:26 CEST; 6s ago