fail2rest icon indicating copy to clipboard operation
fail2rest copied to clipboard

Error

Open Owned67 opened this issue 9 years ago • 3 comments

go install -v github.com/Sean-Der/fail2rest github.com/kisielk/og-rek

github.com/kisielk/og-rek

src/github.com/kisielk/og-rek/ogorek.go:677: reflect.TypeOf(key).Comparable undefined (type reflect.Type has no field or method Comparable) src/github.com/kisielk/og-rek/ogorek.go:870: reflect.TypeOf(k).Comparable undefined (type reflect.Type has no field or method Comparable) src/github.com/kisielk/og-rek/ogorek.go:897: reflect.TypeOf(key).Comparable undefined (type reflect.Type has no field or method Comparable)

Owned67 avatar Apr 16 '17 00:04 Owned67

Hey @Owned67

What version of Golang are you using? I just made some changes to fail2go and AFAIK everything is working (for me at least)

thanks!

Sean-Der avatar Apr 25 '17 02:04 Sean-Der

`apt show golang Package: golang Version: 2:1.3.3-1 Installed-Size: 91,1 kB Maintainer: Go Compiler Team [email protected] Replaces: golang-weekly Provides: golang-weekly Depends: golang-go (>= 2:1.3.3-1), golang-src (>= 2:1.3.3-1), golang-doc (>= 2:1.3.3-1) Conflicts: golang-weekly Homepage: http://golang.org/ Section: devel Priority: optional Download-Size: 25,0 kB APT-Manual-Installed: yes APT-Sources: http://ftp.fr.debian.org/debian/ jessie/main amd64 Packages Description: Go programming language compiler - metapackage The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. . This package is a metapackage that, when installed, guarantees that (most of) a full Go development environment is installed.

whereis fail2rest

fail2rest: /usr/`bin/fail2rest /etc/fail2rest.json

`systemctl status fail2rest.service

`mai 03 16:48:54 debian systemd[1]: Started fail2ban REST server. mai 03 16:48:54 debian systemd[62544]: Failed at step EXEC spawning /usr/bin/fail2rest: No such file or directory mai 03 16:48:55 debian systemd[1]: fail2rest.service: main process exited, code=exited, status=203/EXEC mai 03 16:48:55 debian systemd[1]: Unit fail2rest.service entered failed state.

`

Owned67 avatar May 18 '17 01:05 Owned67

I've got the same error. Do you have any suggestion?

artemkaxboy avatar Jul 19 '17 07:07 artemkaxboy