Are you modifying the correct solr.in.sh file?
How do you install solr?

Can you by any chance reproduce this in a new, tiny, fresh 9.3 cluster, to rule 
out old cruft remaining from an existing install?

Jan

> 13. sep. 2023 kl. 04:29 skrev Natarajan, Rajeswari 
> <rajeswari.natara...@sap.com.INVALID>:
> 
> Additional details
> 
> Running  Solr  instance in alpine OS
> Not running solr as service
> And it is working with solr 8.11.1 version
> 
> Thanks,
> Rajeswari
> On 9/12/23, 10:17 PM, "Natarajan, Rajeswari" 
> <rajeswari.natara...@sap.com.inva 
> <mailto:rajeswari.natara...@sap.com.inva>LID> wrote:
> 
> 
> Trying to upgrade to solr 9.3 .
> 
> 
> Defined below in solr.in.sh
> SOLR_HOST=<ipaddress of the machine>
> SOLR_JETTY_HOST=0.0.0.0
> 
> 
> 
> 
> But still see the solr instance getting registered as localhost with 
> zookeeper . Not sure what is missing?
> 
> 
> 2023-09-13 02:11:10.514 INFO (main) [] o.a.s.c.ZkController Register node as 
> live in ZooKeeper:/live_nodes/localhost:8983_solr
> 
> 
> 
> 
> Thanks,
> Rajeswari
> 
> 
> 
> 
> On 5/21/22, 11:06 AM, "Shawn Heisey" <apa...@elyograg.org 
> <mailto:apa...@elyograg.org> <mailto:apa...@elyograg.org 
> <mailto:apa...@elyograg.org>>> wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> On 5/21/2022 8:02 AM, Shawn Heisey wrote:
>> If you have installed the solr service, then you would want to do 
>> "service solr status" instead, replacing solr with whatever you 
>> actually named the service. Did you install the service with the 
>> service installer script? What options did you use for that? What OS 
>> is this on? What is the full path of the configuration file where you 
>> changed SOLR_HOST? If you haven't used the installer script, then I 
>> will need details about exactly how and where you installed Solr in 
>> order to know what to ask next.
> 
> 
> 
> 
> This might be really easy to resolve.
> 
> 
> 
> 
> I've been looking at the startup scripts. SOLR_HOST does not control 
> what address Solr listens on. Solr 9.x only listens on 127.0.0.1 by 
> default. Previous Solr versions listened on all interfaces by default.
> 
> 
> 
> 
> I bet if you added this line it might start working. If not, provide 
> the info already requested:
> 
> 
> 
> 
> SOLR_JETTY_HOST=192.168.100.2
> 
> 
> 
> 
> You should probably also keep the SOLR_HOST you have defined.
> 
> 
> 
> 
> Thanks,
> Shawn
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to