"bind: address already in use" error when installing discovery tool server

Solution In Progress - Updated -

Issue

  • When installing the discovery tool, the following error is seen:

    TASK [server_podman : Restart the Discovery server container after starting PostgreSQL] ******************************************************************************************************
    task path: /usr/lib/python3.6/site-packages/qpc_tools/server/ansible/install/roles/server_podman/tasks/start_postgres_container.yml:29
    fatal: [localhost]: FAILED! => {"changed": true, "cmd": "podman restart dsc-db discovery", "delta": "xx", "end": "2021-06-07 1xx", "msg": "non-zero return code", "rc": 125, "start": "2021-06-07 xx", "stderr": "Error: cannot listen on the TCP port: listen tcp4 :8443: bind: address already in use", "stderr_lines": ["Error: cannot listen on the TCP port: listen tcp4 :8443: bind: address already in use"], "stdout": "xx", "stdout_lines": ["9xx5"]}
    PLAY RECAP ***********************************************************************************************************************************************************************************
    localhost                  : ok=41   changed=16   unreachable=0    failed=1    skipped=17   rescued=0    ignored=1
    
  • Command used to install:

    # dsc-tools server install --open-port=true --home-dir=/var/discovery --registry-user='<omitted>' --registry-password='<omitted>' --db-password=<omitted> --password=<omitted>
    

Environment

  • Red Hat Enterprise Linux
    • v8.4
  • Red Hat Discovery Tool

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content