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

Comments

  • Karen Weir
    Options

    @David Smith

    I replied to your Help & Feedback post.

  • Does anyone from OpenText engineering/support read these posts? I don't think anyone is here except Andy and I've already bugged him enough about all of this. I have an open Support ticket as well, but this is the last piece of the install for 16.4.1 and I really need to get everything up and running so I can try and get the content indexed and start testing the version thoroughly so we can continue this upgrade on our other servers. I need this resolved as soon as possible.

  • I was able to get SOLR up and running after a full day of messing with the systemd configs. I still don't know what I had wrong in the first place - maybe a wonky character in the config. Both nodes are up and running now.

  • Karen Weir
    Options

    Thanks @David Smith , I sent a note to the PM to review this post in particular. I will reach out to the Technical Analyst handling your ticket as well.

  • Glad to see this was resolved! The engineers reviewed your comments and mentioned they're happy you were able to find a solution. If there is anything further we can do to help, please let us know!

    Jacqui Newell
    Sr Product Marketing Manager
    OpenText

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