Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-5295

Alfresco ftp server never binds to a single ip address

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4.5
    • Component/s: Installer
    • Labels:
      None
    • Bug Priority:
      Category 1

      Description

      Unable to bind the ftp address to a single ip address, the server have several ip addresses.

      Every time I checked that the file-servers.xml and the file-servers.properties are correctly configured.

      The path of the files were
      WEB-INF/classes/alfresco/subsystems/fileServers/default
      WEB-INF/classes/alfresco/subsystems/fileServers/default/default
      webapps/alfresco/WEB-INF/classes/alfresco
      tomcat/shared/classes/alfresco/extension/file-servers-custom.xml
      I also modified the file-server-custom

      I have not been able to find something like this "<serverEnable enabled="${ftp.bind}"/>" in his file-server.xml file to use the variable of the properties file

      From the informations that i gathered from forums ans alfresco wiki, i put either a single line

      <bindto>XXX.XXX.XXX.XXX</bindto>

      or the whole block

      "<config evaluator="string-compare" condition="FTP Server">
      <debug flags="File,Search,Error,Directory,Info,DataPort"/>
      <bindto>XXX.XXX.XXX.XXX</bindto>
      </config>"

      My ftp works but
      I can connect to Alfresco ftp server by using any ip address of the server.

      When another ftp server user the port 21 of one card, Alfresco is not able to start the ftp server and have this in the alfresco.log

      12:11:08,532 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Address already in use
      12:11:08,693 ERROR [org.alfresco.fileserver] java.net.BindException: Address already in use

      This net stat command indicates that the proftpd server use a single ip address
      netstat -vlanp | grep 21
      tcp 0 0 192.168.1.90:21 0.0.0.0:* LISTEN 3163/proftpd: (acce
      "I can confirm this because (for test) i also install temporarilly vsfptd on the addres XXX.XXX.XXX.91 to check that proftpd binds only to the 192.168.1.90:21.
      Vsftpd was able to bind to the XXX.XXX.XXX.91 and started without errors.

      Thank you

      .

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                nramdoo Nageswarha Ramdoo (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    Structure Helper Panel