You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2015/03/23 16:14:11 UTC
[jira] [Commented] (SOLR-7293) Install script makes solr not listen
on ipv6 socket
[ https://issues.apache.org/jira/browse/SOLR-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376030#comment-14376030 ]
Uwe Schindler commented on SOLR-7293:
-------------------------------------
I agree this is an issue. It is caused by the "bin/solr" and "bin/solr.cmd" command, it passes: {{-Djava.net.preferIPv4Stack=true}} to the JVM (for no reason). The fix is to remove this incorrect setting. This affects borth the windows and also the linux/posix startup script.
We should simply remove this. I did not know that we have added this, otherwise I would have complained already!
> Install script makes solr not listen on ipv6 socket
> ---------------------------------------------------
>
> Key: SOLR-7293
> URL: https://issues.apache.org/jira/browse/SOLR-7293
> Project: Solr
> Issue Type: Improvement
> Components: Build
> Affects Versions: 5.0
> Environment: Centos 7
> Reporter: Sebastian Pesman
> Labels: ipv6, sockets
>
> When installing solr with the install script (documentation https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production) the process only listens on an IPv4 socket. > *8983
> When manually installing with the same software set but running the software via a tomcat startup it does listen on ipv4 and IPv6 sockets. > :::8080
> I do realize that I have different ports, it's about 2 servers. I intentionally did not change port of the IPv6 only server to be exact and presize and maybe running it via Tomcat affects this.
> {quote}
> vim /etc/tomcat/web.xml
> <env-entry>
> <env-entry-name>solr/home</env-entry-name>
> <env-entry-value>/home/solr</env-entry-value>
> <env-entry-type>java.lang.String</env-entry-type>
> </env-entry>
> cp /tmp/solr-5.0.0/server/webapps/solr.war /var/lib/tomcat/webapps/
> service tomcat start
> {/quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org