Goaccess: Where is the default config file path?

Created on 30 Aug 2016  路  5Comments  路  Source: allinurl/goaccess

I build goaccess from src with ./configure --enable-geoip --enable-utf8
After build, i run goaccess --dcf and get:

No default config file found.
You may specify one with -p /path/goaccess.conf

Jep, thats helpful. Not. How to specify the the default config path/file or where search for it? I don't mean the -p option. Missing documentation about!

Please help :)

question

Most helpful comment

Copying goaccess after make install to /usr/local/bin/ and the config file to /usr/local/etc/ on the target machine works perfectly.

All 5 comments

Did you actually install it with # make install or just make? You need to fully install it from source so that it knows where SYSCONFDIR is pointing to.

Also, take a look at the FAQ for details on where the configuration file is located.

I do just make, no make install, because i copy the binary to the target machine...
I try make install on my build machine.

EDIT: It's under '/usr/local/etc/goaccess.conf'. How can i change this to '/etc/goaccess.conf'?

You will need a full make install. I haven't tested if copying the binary to a different machine will do it. Otherwise, you will need to fully install it directly on the target machine.

Copying goaccess after make install to /usr/local/bin/ and the config file to /usr/local/etc/ on the target machine works perfectly.

Closing this. Feel free to reopen it if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

canepa picture canepa  路  3Comments

Tassleh0ff picture Tassleh0ff  路  4Comments

olimpo88 picture olimpo88  路  3Comments

eroldru picture eroldru  路  3Comments

SergioDG-YCC picture SergioDG-YCC  路  3Comments