Traffic Server
  1. Traffic Server
  2. TS-339

Poor error message when a port is already bound

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None

      Description

      If a port (e.g. 80) is already bound by another process, and traffic_server tries to bind it, we get

      root@loki 538/1 # ./bin/traffic_server
      [TrafficServer] using root directory '/opt/ats'
      [May 6 11:08:20.966]

      {140669412489184}

      STATUS: opened var/log/trafficserver/diags.log
      [May 6 11:08:21.052] Server

      {140669247612688}

      FATAL: <HttpAccept.cc:98 (mainEvent)> HTTP accept received fatal error: errno = 9
      NOTE: Traffic Server received Sig 11: Segmentation fault
      ./bin/traffic_server - STACK TRACE:
      Segmentation fault

      jplevyak also notes:

      (11:15:38 AM) jplevyak: I got a weird error message also because I don't run root and it was a trying to bind a low port

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            Leif Hedstrom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development