I needed

SOLR_MODULES="extraction,ltr,scripting"

In my solr.in.sh or else solr wouldn't do anything. I think that is new in 9.x

Jim Beale
Lead Software Engineer
hibu.com
2201 Renaissance Boulevard, King of Prussia, PA, 19406
Office: 610-879-3864
Mobile: 610-220-3067



-----Original Message-----
From: Silverman, Harry (Contractor) <jsilver...@gpo.gov.INVALID>
Sent: Friday, March 1, 2024 1:39 PM
To: users@solr.apache.org
Subject: [EXTERNAL] Solr 9 Hostname configuration issue

Caution!        Attachments and links (urls) can contain deceptive and/or 
malicious content.

Hello experts -

I suspect that I have a configuration issue with respect to the hostname.

I have ported our solr core from 8.11 to 9.4.

Solr 9.4 appears to start normally (no errors in the logs).

But when I point my browser to hostname:port - it gets no response.  It seems 
to be listening on localhost, but not on the actual server name.

The solr start command has this parameter:
-Dhost=sandbox-search-index-004
(we are also running on port 8080)

>From a bash shell on the remote linux server where solr is running, I tried 
>curl, I get "Failed to connect" and "Connection refused":

-bash-4.4$ curl sandbox-search-index-004:8080/solr/
curl: (7) Failed to connect to sandbox-search-index-004 port 8080: Connection 
refused

But I get a response if it use localhost instead:

-bash-4.4$ curl localhost:8080/solr/
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
http://www.w3.org/TR/html4/strict.dtd>
<html ng-app="solrAdminApp" ng-csp>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more contributor 
license agreements.  See the NOTICE file distributed with this work for 
additional information regarding copyright ownership.
...


I have limited access on this server.  The local IT guy provided this feedback:
"The firewall has the port open".
"It looks like it's misconfigured to listen locally and not on the hostname".

He also showed a telnet connection working to localhost, but not to the 
hostname.

$ telnet sandbox-search-index-004 8080
Trying 172.19.63.13...
telnet: connect to address 172.19.63.13: Connection refused

And netstat showing it is only listening on localhost:


# netstat -nap |grep 8080

tcp6       0      0 127.0.0.1:8080          :::*                    LISTEN      
1778220/java

#

Suggestions appreciated!
Jay
The information contained in this email message, including any attachments, is 
intended solely for use by the individual or entity named above and may be 
confidential. If the reader of this message is not the intended recipient, you 
are hereby notified that you must not read, use, disclose, distribute or copy 
any part of this communication. If you have received this communication in 
error, please immediately notify me by email and destroy the original message, 
including any attachments. Thank you. **Hibu IT Code:1414593000000**

Reply via email to