NetBSD Problem Report #57239

From www@netbsd.org  Sun Feb 19 20:10:14 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 42E851A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Feb 2023 20:10:14 +0000 (UTC)
Message-Id: <20230219201012.EA39F1A923A@mollari.NetBSD.org>
Date: Sun, 19 Feb 2023 20:10:12 +0000 (UTC)
From: jpw@coherent-logic.com
Reply-To: jpw@coherent-logic.com
To: gnats-bugs@NetBSD.org
Subject: net-snmp snmpd from pkgin, "Error opening specified endpoint"
X-Send-Pr-Version: www-1.0

>Number:         57239
>Category:       pkg
>Synopsis:       net-snmp snmpd from pkgin, "Error opening specified endpoint"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 19 20:15:00 +0000 2023
>Originator:     John P. Willis
>Release:        9.3/amd64
>Organization:
Coherent Logic Development LLC
>Environment:
NetBSD artemis.coherent-logic.com 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When attempting to start snmpd:

artemis# snmpd 0.0.0.0:161
nlist err: neither ipstat nor _ipstat found.
nlist err: neither tcpstat nor _tcpstat found.
nlist err: neither udpstat nor _udpstat found.
Error opening specified endpoint "0.0.0.0:161"
Server Exiting with code 1

The IP address used does not change the outcome, nor does adding or removing the "udp" qualifier (i.e. udp:x.x.x.x:161)

I have also run `snmpconf -g basic_setup" and have attempted to add a normal "agentAddress" line to /usr/pkg/etc/snmp/snmpd.conf, and run snmpd without the the address specified on the command line.
>How-To-Repeat:
1. pkgin install net-snmp
2. run snmpconf -g basic_setup
3. attempt to start snmpd

If there is an rc.d script in this pkgin release, I have been unable to find one.
>Fix:
Unknown.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.