Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP_continent_by_id stack traceback: #3

Closed
An93l opened this issue Apr 5, 2017 · 1 comment
Closed

GeoIP_continent_by_id stack traceback: #3

An93l opened this issue Apr 5, 2017 · 1 comment

Comments

@An93l
Copy link

An93l commented Apr 5, 2017

nginx: the configuration file /etc/ngx_openwaf.conf syntax is ok
nginx: [error] init_by_lua_file error: error loading module 'geoip.country' from file '/usr/local/openresty/lualib/geoip/country.so':
/usr/local/openresty/lualib/geoip/country.so: undefined symbol: GeoIP_continent_by_id
stack traceback:
[C]: at 0x7fa57dd7d080
[C]: in function 'require'
/opt/OpenWAF/lib/twaf/twaf_conf.lua:11: in main chunk
[C]: in function 'require'
/opt/OpenWAF/app/twaf_init.lua:6: in main chunk
nginx: configuration file /etc/ngx_openwaf.conf test failed

@miracleqi
Copy link
Collaborator

当前,Ubuntu用户会遇到此问题
解决方法:在编译openresty时,带上--with-http_geoip_module
重新编译即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants