Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 14:06:04 +0000
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)
Message-ID:  <bug-243723-7788-p2QMiF2qkJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243723-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243723-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243723

--- Comment #3 from Vin=C3=ADcius Zavam <egypcio@FreeBSD.org> ---
(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
    <server-ip>10.0.5.16</server-ip>

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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243723-7788-p2QMiF2qkJ>