Hi,

I believe RHEL uses systemd, so you'll have to first install the package for 
initd, I cannot remember the yum name now. Then try the install script again.

Jan

> 17. apr. 2024 kl. 17:43 skrev Johnnie W Adams <jxad...@ualr.edu>:
> 
> Hi, folks,
> 
>     I've hit some errors on attempting this install:
> 
> ./install_solr_service.sh solr-8.11.3.tgz -i
> /u01/app/svc_archivesspace/solr-8.11.3 -u svc_archivesspace
> 
> 
> Extracting solr-8.11.3.tgz to /u01/app/svc_archivesspace/solr-8.11.3
> 
> 
> 
> Installing symlink /u01/app/svc_archivesspace/solr-8.11.3/solr ->
> /u01/app/svc_archivesspace/solr-8.11.3/solr-8.11.3 ...
> 
> 
> 
> Installing /etc/init.d/solr script ...
> 
> 
> cp: cannot create regular file '/etc/init.d/solr': No such file or directory
> 
> chmod: cannot access '/etc/init.d/solr': No such file or directory
> 
> chown: cannot access '/etc/init.d/solr': No such file or directory
> 
> sed: can't read /etc/init.d/solr: No such file or directory
> 
> 
> Installing /etc/default/solr.in.sh ...
> 
> 
> ./install_solr_service.sh: line 356: chkconfig: command not found
> 
> Service solr installed.
> 
> Customize Solr startup configuration in /etc/default/solr.in.sh
> 
> Redirecting to /bin/systemctl start solr.service
> 
> *Failed to start solr.service: Unit solr.service not found.*
> 
> Redirecting to /bin/systemctl status solr.service
> 
> *Unit solr.service could not be found.*
> 
>     It looks like the install script is assuming that chkconfig is going
> to do some work for it, but chkconfig is not there to do it. It would also
> like for /etc/init.d to pre-exist.
> 
>     Your thoughts?
> 
> Thanks,
> 
>     John A
> 
> -- 
> John Adams
> Senior Linux/Middleware Administrator  | Information Technology Services
> +1-501-916-3010 | jxad...@ualr.edu | http://ualr.edu/itservices
> *UA Little Rock*
> 
> Reminder:  IT Services will never ask for your password over the phone or
> in an email. Always be suspicious of requests for personal information that
> come via email, even from known contacts.  For more information or to
> report suspicious email, visit IT Security
> <http://ualr.edu/itservices/security/>.

Reply via email to