• Topic
  • Discussion
  • UdaWikiWeb.CannotBindToSocket(Last) -- Owiki? , 2016-08-19 14:59:41 Edit owiki 2016-08-19 14:59:41

    Error Message: Cannot bind to socket (Address already in use)

    These errors are typically associated with the Request Broker's HTTP-based Admin Assistant. If you receive "Cannot bind to socket" errors, run the following command:

    netstat -a | grep <Admin_Assistant_port_number>

    For example:

    netstat -a | grep 8000

    If the port is busy, take the following action:

    1. Access the machine on which you want to host the Admin Assistant (i.e., the Broker host).
    2. Use a text editor to open www_sv.ini, typically found in the /bin/w3config sub-directory of your OpenLink installation.
    3. Locate the [Startup] stanza. For example:


      [Startup] HttpPort = 8000 HttpRoot = html Timeout = 60 TclInclude = include ScriptDirectories = /scripts CGIDirectories = /cgi-bin IndexPage = /index.html

    4. Set HttpPort to a different, unused TCP port. For example:


      HttpPort = 8001

    5. Save your changes and exit the file.
    6. Restart or reinitialize your Request Broker.
    7. Test.

    Evidence

    • Admin Assistant Log
    • output of netstat -a

    Referenced by...