Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-10442

"Address already in use" on restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.0.26-galera
    • Fix Version/s: 10.2.3
    • Component/s: Scripts & Clients
    • Labels:
      None
    • Environment:
      Ubuntu 14.04

      Description

      When MariaDB starts or - more frequently - restarts and needs a state transfer, there is a recurring issue when port 4567 is already taken by a stray socat instance.

      I've solved this by adding "killall -9 socat" to the start) section of the init script. It works for me, but it's of course not an universal solution. My init script hack is overwritten by MariaDB upgrades so I'd like to have this issue solved upstream.

      What do you think would be the correct solution? I'm thinking pgrep -U mysql socat, but that may still not be robust enough.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Godziuk Andrzej
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: