SOLR will not run from systemd

Options

RHEL 7.5, TS 16.4.1

I have installed Zookeeper and SOLR and created wrapper scripts to run SOLR as non-root. When I run my scripts from the command line, they work beautifully. SOLR starts and I can see it's status on the browser. Perfection. However, when I attempt to create the systemd service and run my scripts from the service, I am unable to start/stop SOLR this way. I'm not seeing any useful logging. When I run a status after attempting to start, I see this:

● **solr1.service - Solr1 Service
Loaded: loaded (/etc/systemd/system/solr1.service; enabled; vendor preset: disabled)
Active: active (exited) (Result: exit-code) since Fri 2019-03-08 08:40:55 CST; 17min ago
Process: 52082 ExecStart=/opt/appbin/solr-7.4.0/bin/solr1_start_wrap (code=exited, status=203/EXEC)
Main PID: 52082 (code=exited, status=203/EXEC)
CGroup: /system.slice/solr1.service

Mar 08 08:40:55 xltiss01 systemd[1]: Started Solr1 Service.
Mar 08 08:40:55 xltiss01 systemd[1]: Starting Solr1 Service...
Mar 08 08:40:55 xltiss01 systemd[1]: solr1.service: main process exited, code=exited, status=203/EXEC**

Googling this message is not getting me anywhere. Has anyone successfully been able to get SOLR started from systemd using a wrapper script?

This is my solr1.service:

[Unit]
Description=Solr1 Service
After=network.target
[Service]
Type=simple
ExecStart=/opt/foo/solr-7.4.0/bin/solr1_start_wrap
RemainAfterExit=true
ExecStop=/opt/foo/solr-7.4.0/bin/solr1_stop_wrap
[Install]
WantedBy=default.target

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs