SOLR will not run from systemd
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
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax