The following errors may occur after upgrading the Linux environment running a Linux-based Qlik Replicate server:
Endpoint Server not showing
Endpoint Server not connecting
Environment:
Qlik Replicate
Linux
If the Qlik Replicate service attempts to run Java executables from a mounted temporary directory, it's essential to check if the noexec option is set on the mounted disk.
Checking /etc/fstab
You can use the command cat /etc/fstab to display the contents of the /etc/fstab file.
Example of Temporary Directory with noexec:# Added by CIS Linux Build Kit
tmpfs /tmp tmpfs defaults,noexec,nosuid,nodev 0 0
Example of Temporary Directory without noexec:# Added by CIS Linux Build Kit
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
Understanding "noexec"
The noexec option in Linux is used to prevent the execution of binaries on a mounted filesystem. This feature enhances security by ensuring that scripts or executables cannot be run from certain directories, such as temporary directories.
Understanding "mount"
The mount command in Linux is used to attach filesystems to the directory tree at a specified mount point. This allows access to files and directories on various storage devices, including hard drives, USB drives, or network shares.
Resolution
To resolve the problem:
Stop all Qlik Replicate tasks: Ensure all replicate tasks are stopped.
Edit the /etc/fstab file: Use vi to remove the noexec option from the fstab file and save the changes.
Stop the Qlik Replicate service: Execute the command:
systemctl stop areplicate
Verify the service status: Check if the service has stopped by running:
systemctl status areplicate
Reboot the system: Run the command:
sudo shutdown now
Verify noexec was removed successfully: After the system has restarted, verify if noexec has been removed by running:
cat /etc/fstab
Check the Qlik Replicate status: Verify that all Qlik Replicate services are running with:
ps -ef | grep rep
Check Endpoint Server Status: Ensure the endpoint server is running by executing:
ps -ef | grep endpointserver
Final Steps
Open the Qlik Replicate UI to confirm that the endpoint server is operational.
Navigate to the endpoint connection screen and verify that you can see the endpoint (e.g., SAP, ODP, etc.).