gus-asf commented on PR #428:
URL: https://github.com/apache/solr/pull/428#issuecomment-1585161325

   had some boxes to setup and I patched this onto branch_9_2 to give it a 
whirl... First problem I had was that though the error message in the setup 
script says to set JAVA_HOME it doesn't actually use JAVA_HOME when testing for 
java so it fails endlessly. Worked around that by setting path and then pushing 
that past sudo.
   
   (following ref guide here: 
https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html)
   
   Got the following:
   ````
   [ec2-user@ip-172-31-14-227 ~]$ sudo env "PATH=$PATH"  
./install_solr_service.sh solr-9.2.2-SNAPSHOT.tgz 
   id: ‘solr’: no such user
   Creating new user: solr
   
   Extracting solr-9.2.2-SNAPSHOT.tgz to /opt
   
   
   Installing symlink /opt/solr -> /opt/solr-9.2.2-SNAPSHOT ...
   
   
   Installing /etc/systemd/system/solr.service ...
   
   Input 'solr' is not an absolute file system path, escaping is likely not 
going to be reversible.
   
   Installing /etc/default/solr.in.sh ...
   
   Created symlink /etc/systemd/system/multi-user.target.wants/solr.service → 
/etc/systemd/system/solr.service.
   Service solr installed.
   Customize Solr startup configuration in /etc/default/solr.in.sh
   Job for solr.service failed because the control process exited with error 
code.
   See "systemctl status solr.service" and "journalctl -xeu solr.service" for 
details.
   [ec2-user@ip-172-31-14-227 ~]$ sudo systemctl status solr.service
   × solr.service - Apache Solr
        Loaded: loaded (/etc/systemd/system/solr.service; enabled; preset: 
disabled)
        Active: failed (Result: exit-code) since Fri 2023-06-09 20:53:06 UTC; 
7min ago
       Process: 4111 ExecStart=/opt/solr/bin/solr start (code=exited, 
status=1/FAILURE)
           CPU: 11ms
   
   Jun 09 20:53:06 ip-172-31-14-227.us-east-2.compute.internal systemd[1]: 
solr.service: Scheduled restart job, restart counter is at 5.
   Jun 09 20:53:06 ip-172-31-14-227.us-east-2.compute.internal systemd[1]: 
Stopped solr.service - Apache Solr.
   Jun 09 20:53:06 ip-172-31-14-227.us-east-2.compute.internal systemd[1]: 
solr.service: Start request repeated too quickly.
   Jun 09 20:53:06 ip-172-31-14-227.us-east-2.compute.internal systemd[1]: 
solr.service: Failed with result 'exit-code'.
   Jun 09 20:53:06 ip-172-31-14-227.us-east-2.compute.internal systemd[1]: 
Failed to start solr.service - Apache Solr.
   
   ````
   still looking int why it might be failing but /var/logs is empty...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to