[Bug 243723] security/ossec-hids-agent: ossec-agentd: ERROR: msgbuf_write() error: Broken pipe (0x1)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 12 14:06:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243723

--- Comment #3 from Vinícius Zavam <egypcio at 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 at pizza-hog:~ # uname -prinsUK
FreeBSD pizza-hog.invader-zim.irk 13.0-CURRENT amd64 GENERIC-NODEBUG 1300076
1300076

root at pizza-hog:~ # grep server\\- /usr/local/ossec-hids/etc/ossec.conf
    <server-ip>10.0.5.16</server-ip>

root at 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 installed

root at 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 file.
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 == 0
2020/02/12 15:03:05 ossec-agentd: WARN: n == 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 at FBSD_1.6"

root at pizza-hog:~ # echo $?
1
----------

[root at membrane ~]# /var/ossec/bin/agent_control -l | grep pizza
   ID: 1109, Name: pizza-hog.invader-zim.irk, IP: any, Never connected

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list