Install kong by the source but it does not work

OS:CentOS Linux release 7.2.1511 (Core)
openresty-1.15.8.2
luarocks-3.2.1
kong-1.4.2

I use this tools to build the kong,and sucess,but when i start to run it by this:
kong migrations bootstrap -c kong.conf
it does not work!

[jboss@node2 kong]$ kong migrations bootstrap -c kong.conf
Error: module ‘resty.kong.tls’ not found:
no field package.preload[‘resty.kong.tls’]
no file ‘./resty/kong/tls.lua’
no file ‘./resty/kong/tls/init.lua’
no file ‘/usr/local/openresty/site/lualib/resty/kong/tls.ljbc’
no file ‘/usr/local/openresty/site/lualib/resty/kong/tls/init.ljbc’
no file ‘/usr/local/openresty/lualib/resty/kong/tls.ljbc’
no file ‘/usr/local/openresty/lualib/resty/kong/tls/init.ljbc’
no file ‘/usr/local/openresty/site/lualib/resty/kong/tls.lua’
no file ‘/usr/local/openresty/site/lualib/resty/kong/tls/init.lua’
no file ‘/usr/local/openresty/lualib/resty/kong/tls.lua’
no file ‘/usr/local/openresty/lualib/resty/kong/tls/init.lua’
no file ‘/home/jboss/apiGw/kong/share/lua/5.1/resty/kong/tls.lua’
no file ‘/home/jboss/apiGw/kong/share/lua/5.1/resty/kong/tls/init.lua’
no file ‘./resty/kong/tls.lua’
no file ‘./resty/kong/tls.lua’
no file ‘/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/resty/kong/tls.lua’
no file ‘/usr/local/share/lua/5.1/resty/kong/tls.lua’
no file ‘/usr/local/share/lua/5.1/resty/kong/tls/init.lua’
no file ‘/usr/local/openresty/luajit/share/lua/5.1/resty/kong/tls.lua’
no file ‘/usr/local/openresty/luajit/share/lua/5.1/resty/kong/tls/init.lua’
no file ‘/usr/local/openresty/site/lualib/resty/kong/tls.so’
no file ‘/usr/local/openresty/lualib/resty/kong/tls.so’
no file ‘/home/jboss/apiGw/kong/lib/lua/5.1/resty/kong/tls.so’
no file ‘./resty/kong/tls.so’
no file ‘./resty/kong/tls.so’
no file ‘/usr/local/lib/lua/5.1/resty/kong/tls.so’
no file ‘/usr/local/openresty/luajit/lib/lua/5.1/resty/kong/tls.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’
no file ‘/usr/local/openresty/site/lualib/resty.so’
no file ‘/usr/local/openresty/lualib/resty.so’
no file ‘/home/jboss/apiGw/kong/lib/lua/5.1/resty.so’
no file ‘./resty.so’
no file ‘./resty.so’
no file ‘/usr/local/lib/lua/5.1/resty.so’
no file ‘/usr/local/openresty/luajit/lib/lua/5.1/resty.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’

Run with --v (verbose) or --vv (debug) for more details
[jboss@node2 kong]$


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ