Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7293

Install script makes solr not listen on ipv6 socket

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1, 6.0
    • Component/s: Server
    • Labels:
    • Environment:

      Centos 7

      Description

      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.

      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
      

        Attachments

        1. SOLR-7293.patch
          0.9 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              Bastian15 Sebastian Pesman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: