From owner-freebsd-ports-bugs@freebsd.org Wed Feb 12 14:06:04 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 156A823912E for ; Wed, 12 Feb 2020 14:06:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48HhJC6tc8z4RcR for ; Wed, 12 Feb 2020 14:06:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EA77F23912D; Wed, 12 Feb 2020 14:06:03 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA3E923912C for ; Wed, 12 Feb 2020 14:06:03 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HhJC5zSJz4RcQ for ; Wed, 12 Feb 2020 14:06:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8BF2224ED for ; Wed, 12 Feb 2020 14:06:03 +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 01CE63VC097777 for ; Wed, 12 Feb 2020 14:06:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01CE63V0097776 for ports-bugs@FreeBSD.org; Wed, 12 Feb 2020 14:06:03 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 243723] security/ossec-hids-agent: ossec-agentd: ERROR: msgbuf_write() error: Broken pipe (0x1) Date: Wed, 12 Feb 2020 14:06:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: egypcio@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 14:06:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243723 --- Comment #3 from Vin=C3=ADcius Zavam --- (In reply to Dominik Lisiak from comment #2) hi, sorry it took a while for me to write a feedback here. I got a new machine for testing, using FreeBSD HEAD couple days ago and had time today for it. now it pops a different issue; no matter if I use a hostname or an IP addr = :) ---------- root@pizza-hog:~ # uname -prinsUK FreeBSD pizza-hog.invader-zim.irk 13.0-CURRENT amd64 GENERIC-NODEBUG 1300076 1300076 root@pizza-hog:~ # grep server\\- /usr/local/ossec-hids/etc/ossec.conf 10.0.5.16 root@pizza-hog:~ # grep oss /var/log/messages Feb 12 11:24:49 pizza-hog pkg[26508]: ossec-hids-agent-3.5.0 installed Feb 12 11:24:49 pizza-hog pkg[26508]: ossec-hids-agent-config-3.5.0 install= ed root@pizza-hog:~ # /usr/local/ossec-hids/bin/ossec-agentd -d -f 2020/02/12 15:03:05 ossec-agentd: DEBUG: Starting ... 2020/02/12 15:03:05 ossec-agentd: INFO: Using notify time: 600 and max time= to reconnect: 1800 2020/02/12 15:03:05 going daemon 2020/02/12 15:03:05 starting imsg stuff 2020/02/12 15:03:05 Creating socketpair() 2020/02/12 15:03:05 os_dns imsg_init() 2020/02/12 15:03:05 ossec-agentd [dns]: INFO: Starting osdns 2020/02/12 15:03:05 agentd imsg_init() 2020/02/12 15:03:05 ossec-agentd [dns]: INFO: Starting libevent. 2020/02/12 15:03:05 ossec-agentd(1410): INFO: Reading authentication keys f= ile. 2020/02/12 15:03:05 ossec-agentd: OS_StartCounter: keysize: 1 2020/02/12 15:03:05 ossec-agentd: INFO: No previous counter available for 'pizza-hog.invader-zim.irk'. 2020/02/12 15:03:05 ossec-agentd: INFO: Assigning counter for agent pizza-hog.invader-zim.irk: '0:0'. 2020/02/12 15:03:05 ossec-agentd: INFO: Assigning sender counter: 0:31 2020/02/12 15:03:05 ossec-agentd: INFO: Started (pid: 12397). 2020/02/12 15:03:05 ossec-agentd: INFO: Server 1: 10.0.5.16 2020/02/12 15:03:05 ossec-agentd: INFO: Trying to connect to server 10.0.5.= 16, port 1514. 2020/02/12 15:03:05 INFO: Connected to 10.0.5.16 at address 10.0.5.16, port 1514 2020/02/12 15:03:05 ossec-agentd [dns]: DEBUG: n =3D=3D 0 2020/02/12 15:03:05 ossec-agentd: WARN: n =3D=3D 0 2020/02/12 15:03:05 ossec-agentd: DEBUG: agt->sock: 9 2020/02/12 15:03:26 ossec-agentd(1210): ERROR: Queue '/queue/alerts/execq' = not accessible: 'Queue not found'. 2020/02/12 15:03:26 ossec-agentd: INFO: Unable to connect to the active response queue (disabled). 2020/02/12 15:03:36 ossec-agentd(4102): INFO: Connected to server 10.0.5.16, port 1514. 2020/02/12 15:03:36 ossec-agentd: DEBUG: Sending agent notification. ld-elf.so.1: /usr/local/ossec-hids/bin/ossec-agentd: Undefined symbol "rand@FBSD_1.6" root@pizza-hog:~ # echo $? 1 ---------- [root@membrane ~]# /var/ossec/bin/agent_control -l | grep pizza ID: 1109, Name: pizza-hog.invader-zim.irk, IP: any, Never connected --=20 You are receiving this mail because: You are the assignee for the bug.=