Dear Darren,
I have set up the exact same setup before! :) There were some issues with RHEL9 SELinux features when running VocBench as a system service as a specific machine user (instead of just running it from the semanticturkey/bin/karaf manually). If you are not setting up VB to start automatically as the server starts, please disregard!
- There can be issues when VB is not installed to the root partition. You need to make sure the different partitions are mounted before the service is started. Don't know how specific this is to RHEL9 but I haven't had the issue with other Linux servers
- RHEL9 does not like symlinks for service description files. If you generate the the file using karaf's inbuilt feature:
- karaf@root()> feature:install service-wrapper
- karaf@root()> wrapper:install
- systemctl enable /path/to/semanticturkey/bin/karaf.service
- Make sure you remove the generated symlink and copy the karaf.service file to the service description file folder
- Oddly, when generating the service description file using the karaf that comes with VB3 11.4.2, it generated a script with the java path as null, that caused problems. It had to be configured separately in semanticturkey/etc/karaf-wrapper.conf. I don't know if this was a specific propblem with the way I had Java configured in RHEL, or was it a karaf issue.
- There might arise need for changing the file contexts for log files and such with semanage and restorecon commands
_______
Joeli