[Tools-discuss] Database not starting? What am I doing wrong.

"Salz, Rich" <rsalz@akamai.com> Wed, 31 May 2023 15:46 UTC

Return-Path: <rsalz@akamai.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E236C151072 for <tools-discuss@ietfa.amsl.com>; Wed, 31 May 2023 08:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.795
X-Spam-Level:
X-Spam-Status: No, score=-2.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ShhVW87T_Ui for <tools-discuss@ietfa.amsl.com>; Wed, 31 May 2023 08:46:12 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8760BC14CEED for <tools-discuss@ietf.org>; Wed, 31 May 2023 08:46:12 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.17.1.19/8.17.1.19) with ESMTP id 34VCiUNA029422 for <tools-discuss@ietf.org>; Wed, 31 May 2023 16:46:11 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : content-type : mime-version; s=jan2016.eng; bh=F+q++k9cXVVjcvLVizwZhn/4K93gstdR0UymkQd0FoI=; b=UNhc9lgbxyzdD3GCJyA/wi9SMgZ/rZbyuFlKXF+LFdeguGr2Yvh/KI4AWyrJGo309SPr f64PA8fOXFLv+VBzKH2TVbujuYJ9x1Gq/cLofPo3D1eDPWABK68BUzxidfRZOA9oihI1 nACoTNr9I5b5v+nuzGG2QksficFOLlDZZUO+AwP305IcWhXRd2FmJJAYpV4EDZWr9YuO Xm8g6jPzQWscYFKU2Z1R7vRDwGbA8EiuS0dGn3RjKOOAysoYP55olT5TzCdVraxpuWJr Tw9NqW3ZtDGJ5wbSBqLsi8TYma+y29ui3gBJdGHY1hRXTCGXXLQfOLaUSlLJhL5jF852 iA==
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19] (may be forged)) by m0050095.ppops.net-00190b01. (PPS) with ESMTPS id 3quaqeh9b0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tools-discuss@ietf.org>; Wed, 31 May 2023 16:46:11 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.17.1.19/8.17.1.19) with ESMTP id 34VF2TQd032404 for <tools-discuss@ietf.org>; Wed, 31 May 2023 11:46:10 -0400
Received: from email.msg.corp.akamai.com ([172.27.91.22]) by prod-mail-ppoint2.akamai.com (PPS) with ESMTPS id 3qud6wrx9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tools-discuss@ietf.org>; Wed, 31 May 2023 11:46:09 -0400
Received: from usma1ex-dag4mb4.msg.corp.akamai.com (172.27.91.23) by usma1ex-dag4mb3.msg.corp.akamai.com (172.27.91.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 31 May 2023 11:46:09 -0400
Received: from usma1ex-dag4mb4.msg.corp.akamai.com ([172.27.91.23]) by usma1ex-dag4mb4.msg.corp.akamai.com ([172.27.91.23]) with mapi id 15.02.1118.026; Wed, 31 May 2023 11:46:09 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "tools-discuss@ietf.org" <tools-discuss@ietf.org>
Thread-Topic: Database not starting? What am I doing wrong.
Thread-Index: AQHZk9cEIPC+uR4zk0iPrAvCXk/KZQ==
Date: Wed, 31 May 2023 15:46:09 +0000
Message-ID: <853C353C-10EB-474F-B6F2-6419AA1713E9@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.73.23051401
x-originating-ip: [172.27.118.139]
Content-Type: multipart/alternative; boundary="_000_853C353C10EB474FB6F26419AA1713E9akamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-31_10,2023-05-31_03,2023-05-22_02
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 mlxlogscore=560 phishscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305310132
X-Proofpoint-GUID: f9cubewEayXVBIMli84yiovrn246YSoU
X-Proofpoint-ORIG-GUID: f9cubewEayXVBIMli84yiovrn246YSoU
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-31_10,2023-05-31_03,2023-05-22_02
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 mlxscore=0 mlxlogscore=508 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305310134
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/6ldJGb5xU-FcRFs9fGSQiAGz7M4>
Subject: [Tools-discuss] Database not starting? What am I doing wrong.
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2023 15:46:16 -0000

As part of a `run -r` rebuild, I get the following.  I assume I did something wrong.  This is after a “git pull” on main.

Downloading latest coverage results file...
Starting memcached...
Running initial checks...
Traceback (most recent call last):
  File "/home/dev/.local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/home/dev/.local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 195, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/home/dev/.local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/home/dev/.local/lib/python3.9/site-packages/psycopg2/__init__.py", line 127, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "db" (172.18.0.4), port 5432 failed: Connection refused
                Is the server running on that host and accepting TCP/IP connections?