From nobody Thu Feb 23 13:30:36 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PMv6P3xDGz3tkCl for ; Thu, 23 Feb 2023 13:30:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMv6P2PVYz4GDH for ; Thu, 23 Feb 2023 13:30:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677159037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8MG4Ab2tT2TtU/ucZ7LV5MwnxQGvhFyac3NN/dqk1Vk=; b=RQr6mXlKTwX/OM75FPMloG3vHp1eqm/0a4EbEv+Aqx+ypa9lHi2Ii8Om9bTka8Y07OehD1 ZUu1J21WBlZyK32aK3uj6PhaZ9+MpW9X6fPNRaran1KwqiErPPSexpnat9NYuq5KxZM2Tl AJvT442FfHp74oLhOvaeMyRYz8rT+JPlHY4UFDwtc7WUEtM+i1Cfm20gL8jPbX6FOoY5BE OfbEeYu5OwHAy4KiCWk4UvR1A5xa1uoYTVUD8sL5By3TJBeiHjYO8DhBvu3v1W2Tk5P4NX q9f8fvILW/7w3jEGU/Ufv9gVhpAc/cTe+hHyKr32eLTo9YSWndRxNMnjwm7GTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677159037; a=rsa-sha256; cv=none; b=kztuyMHG17gYH2HMcz+XyN7A1gQ7XKqfjfd2iBednJs4Iz+yNCMXCVu80rinKdqHWbddrs Hn3tT034qs0qBk0Hm7oCipK2Lnp/7itLSb6cBOOyA/nCC7Kdbkcx7bBSkRTFUbKiUjB3w3 dH2rq06JXoelRzmhtAiUZSf6Gek/i6HiPtMu7RZwEmCsoRqzzCpY710CbpMH4IBoQmC2Q8 akfXI2qLNJ18klgotHr77UF3kFD45zRBcfspyvV4rQBAQIcg6XcFokpznv/J0Olgo6MIP5 JV/CeBqoDAg1vEdPA8K/e+HTZqGb4hwbakpt23aTZfjznPbG/oW4eyGPL9yaiw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PMv6P1TVXzjvZ for ; Thu, 23 Feb 2023 13:30:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31NDUbFj095610 for ; Thu, 23 Feb 2023 13:30:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31NDUbwu095609 for ports-bugs@FreeBSD.org; Thu, 23 Feb 2023 13:30:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269779] sysutils/datadog-agent: datadog agent error Date: Thu, 23 Feb 2023 13:30:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alexis.cimpu@dmatrixsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269779 Bug ID: 269779 Summary: sysutils/datadog-agent: datadog agent error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: alexis.cimpu@dmatrixsoft.com CC: uros@gruber.si CC: uros@gruber.si Flags: maintainer-feedback?(uros@gruber.si) Datadog agent fails to restart on freebsd with the error below if the agent= is already stopped: # service datadog-agent restart Error: Error stopping the agent: Post "https://localhost:5001/agent/stop": = dial tcp [::1]:5001: connect: operation timed out Current workaround that seems to fix the problem is adding a check and a sl= eep in the stop or restart in rc.d of datadogagent=20 Below is a snip of current datadogagent rc.d datadog_agent_restart() { datadog_agent_stop && sleep 3 && datadog_agent_start return $? } datadog_agent_stop() { rc_pid=3D`check_pidfile ${pidfile} ${command}` if [ -n "${rc_pid}" ]; then ${command} ${command_args} stop fi return $? } --=20 You are receiving this mail because: You are the assignee for the bug.=