allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.6k stars 1.11k forks source link

Error occurred at: src/parser.c - read_log - 2764 #1532

Open majorboob opened 5 years ago

majorboob commented 5 years ago

Hi,

I am getting the following error trying to parse nginx access.log with goaccess:

Fatal error has occurred Error occurred at: src/parser.c - parse_log - 2764 No time format was found on your conf file.

Note: appeared after the update (from1.2 to 1.3)

dunno why, but config file now located in separate folder

1.2 /usr/local/etc/goaccess.conf 1.3 /usr/local/etc/goaccess/goaccess.conf

and if I move config file to "old place" everything works perfectly.

Is it an installation error or something else?

Natsec commented 5 years ago

Hello,

Exact same problem, it is like the new version keeps looking for the old path.

allinurl commented 5 years ago

Thanks for reporting this. I believe this got fixed upstream. Would you be able to build from development? Thanks

majorboob commented 4 years ago

I managed to install it. this error is still present in development. now it doesn't use the config file at all.

the only way to make it works is to use -p with diret path to config file: /usr/local/bin/goaccess -p /usr/local/etc/goaccess/goaccess.conf

in the stable version this error is still present Fatal error has occurred Error occurred at: src/parser.c - parse_log - 2764 No time format was found on your conf file.