[ 
https://issues.apache.org/jira/browse/SOLR-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380506#comment-14380506
 ] 

Uwe Schindler commented on SOLR-7293:
-------------------------------------

In fact what happens when you have those slowdowns: DNS servers always return 
IPv6 addresses if they exist - there are no wrongly configured DNS servers 
(also IPv4 only DNS servers will return IPv6 addresses and they must). The 
problem is if you have a incomplete configured global, non link-local IPv6 
address on one of your interfaces (see above). Because of that it will use it 
to connect and fails with timeout.

People that have broken setups can disable IPv6 in the Linux kernel, and many 
do.

> 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: Server
>    Affects Versions: 5.0
>         Environment: Centos 7
>            Reporter: Sebastian Pesman
>            Assignee: Uwe Schindler
>              Labels: ipv6, sockets
>             Fix For: Trunk, 5.1
>
>         Attachments: SOLR-7293.patch
>
>
> 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.
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to