Mar 18 10:22:01 archivesspace2 solr[907]: /etc/rc.d/init.d/solr: line 75:
/usr/bin/su: Permission denied

^^ This would be the problem. The process starting Solr doesn't seem to
have the ability to use /usr/bin/su to switch to the solr user (and thus
start Solr as that user). It is inadvisable to run Solr as root.

https://github.com/apache/solr/blob/releases/solr/9.10.1/solr/bin/init.d/solr

On Wed, Mar 18, 2026 at 2:12 PM Gadsby, Eric T. via users <
[email protected]> wrote:

> Thanks!  Perhaps this is valuable:
>
> "Mar 18 10:22:01 archivesspace2 systemd[1]: Starting LSB: Controls Apache
> Solr as a Service...
> Mar 18 10:22:01 archivesspace2 systemd[1]: TPM2 PCR Barrier (User) was
> skipped because of an unmet condition check
> (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
> Mar 18 10:22:01 archivesspace2 systemd[1]: Starting Permit User Sessions...
> Mar 18 10:22:01 archivesspace2 NetworkManager[835]: <info>
>  [1773843721.5205] manager: NetworkManager state is now CONNECTED_SITE
> Mar 18 10:22:01 archivesspace2 NetworkManager[835]: <info>
>  [1773843721.5273] device (eth0): Activation: successful, device activated.
> Mar 18 10:22:01 archivesspace2 solr[907]: /etc/rc.d/init.d/solr: line 75:
> /usr/bin/su: Permission denied
> Mar 18 10:22:01 archivesspace2 mde_netfilter[870]: INFO: main: MDE
> Netfilter process started PID: 870
> Mar 18 10:22:01 archivesspace2 systemd[1]: solr.service: Control process
> exited, code=exited, status=126/n/a
> Mar 18 10:22:01 archivesspace2 systemd[1]: solr.service: Failed with
> result 'exit-code'.
> Mar 18 10:22:01 archivesspace2 systemd[1]: Failed to start LSB: Controls
> Apache Solr as a Service."
>
> Thanks!
>
>
>
> [image: Towson University logo] <http://www.towson.edu/>
>
> *Eric T. Gadsby*
>
> *Pronouns: he/him/his*
>
> IT Operations Specialist | Library IT, Albert S. Cook Library
>
> *—*
>
> P: 410-704-3340
> [email protected]  |  www.towson.edu/https://libraries.towson.edu
> <https://libraries.towson.edu>
>
> *—*
>
> Confidentiality Notice: This message may contain information that is
> confidential, privileged, proprietary, or otherwise legally exempt from
> disclosure. If you are not the intended recipient, you are notified that
> you are not authorized to read, print, copy or disseminate this message,
> any part of it, or any attachments. If this message has been sent to you in
> error, please notify the sender by replying to this transmission, or by
> calling Library IT, Albert S. Cook Library at 410-704-3340 .
>
>
> *From: *Jan Høydahl <[email protected]>
> *Date: *Wednesday, March 18, 2026 at 12:22 PM
> *To: *[email protected] <[email protected]>
> *Subject: *Re: Fresh Solr 9.10.1 not starting a service...
>
> [ CAUTION: This email is from outside of TU. Use caution before clicking
> links or opening attachments. If suspicious, report to [email protected].
> ]
>
> We need more logs. Have you checked /var/log/messages for any errors?
>
> Jan
>
> > 18. mars 2026 kl. 15:43 skrev Gadsby, Eric T. via users <
> [email protected]>:
> >
> > Good morning,
> >
> > We are spinning up a new stand-alone sever and just installed 9.10.1
> from the script.  Solr does not survive a reboot.  Running a sudo service
> solr status yields:
> >
> > "WARNING: A terminally deprecated method in sun.misc.Unsafe has been
> called
> > WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by
> com.lmax.disruptoRingBufferFields
> (file:/opt/solr-9.10.1/server/lib/ext/disruptor-3.4.4.jar)
> > WARNING: Please consider reporting this to the maintainers of class
> com.lmax.druptor.RingBufferFields
> > WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future
> release”
> >
> > Starting the service manually brings up Solr.  Ideas on how to fix
> this?  We are running Java 25 on RHEL 9. 7. Thanks!
> >
> >
> >
> >
> >  <http://www.towson.edu/>
> > Eric T. Gadsby
> > Pronouns: he/him/his
> > IT Operations Specialist | Library IT, Albert S. Cook Library
> > —
> > P: 410-704-3340
> > [email protected] <mailto:[email protected] <[email protected]>>  |
> www.towson.edu/https://libraries.towson.edu <https://libraries.towson.edu/
> >
> > —
> > Confidentiality Notice: This message may contain information that is
> confidential, privileged, proprietary, or otherwise legally exempt from
> disclosure. If you are not the intended recipient, you are notified that
> you are not authorized to read, print, copy or disseminate this message,
> any part of it, or any attachments. If this message has been sent to you in
> error, please notify the sender by replying to this transmission, or by
> calling Library IT, Albert S. Cook Library at 410-704-3340 .
> >
>
>

-- 
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)

Reply via email to