[Oisf-users] Unix Sockets Error for dump-counters
Victor Julien
lists at inliniac.net
Wed Jan 28 22:09:44 UTC 2015
On 01/28/2015 10:48 PM, Barkley, Joey wrote:
> I have compiled in support for unix sockets with the 2.1 beta 2 release. All commands work using the suricatasc script EXCEPT dump-counters. I am on OEL7. Suricata is running and logging data. Here is my output from the command:
>
> This runs OK:
> [root at lv-1-ids01 bin]# ./suricatasc -v -c version
> SND: {"version": "0.1"}
> RCV: {"return": "OK"}
> SND: {"command": "command-list"}
> RCV: {"message": {"count": 11, "commands": ["shutdown", "command-list", "help", "version", "uptime", "running-mode", "capture-mode", "conf-get", "dump-counters", "iface-stat", "iface-list"]}, "return": "OK"}
> SND: {"command": "version"}
> RCV: {"message": "2.1beta2 RELEASE", "return": "OK"}
> {'message': '2.1beta2 RELEASE', 'return': 'OK'}
>
> This does not:
> root at lv-1-ids01 bin]# ./suricatasc -v -c dump-counters
> SND: {"version": "0.1"}
> RCV: {"return": "OK"}
> SND: {"command": "command-list"}
> RCV: {"message": {"count": 11, "commands": ["shutdown", "command-list", "help", "version", "uptime", "running-mode", "capture-mode", "conf-get", "dump-counters", "iface-stat", "iface-list"]}, "return": "OK"}
> SND: {"command": "dump-counters"}
> Traceback (most recent call last):
> File "./suricatasc", line 44, in <module>
> print sc.send_command(command, arguments)
> File "/usr/local/suricata/lib/python2.7/site-packages/suricatasc/suricatasc.py", line 111, in send_command
> raise SuricataReturnException("Unable to get message from server")
> suricatasc.suricatasc.SuricataReturnException: Unable to get message from server
>
>
> Anyone have any experience with this?
Could you try the git master, and if that fails as well open a ticket?
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-users
mailing list