lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7293) Install script makes solr not listen on ipv6 socket
Date Wed, 25 Mar 2015 18:48:54 GMT

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

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

This is not correct, only if the computer is wrongly configured! The problem only happens
if you have a wrongly configured IPv6 interface (missing gateway). That's not different from
a broken additional interface with a 169er IP :-)

But we cannot prevent people with IPv6 from working correctly. So anybody can pass whatever
arguments to his JVM already, but disabling IPv6 on machinbes with IPv6 is a big no-go, sorry!
This was a regression introduced with Solr 5.0, before it was all fine if you started with
{{java -jar start.jar}}

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message