刚学着安装 kong,但是启动 kong start 时,报错:
2018/03/07 22:45:22 [verbose] Kong: 0.12.2 2018/03/07 22:45:22 [verbose] reading config file at /etc/kong/kong.conf 2018/03/07 22:45:22 [verbose] prefix in use: /usr/local/kong 2018/03/07 22:45:22 [verbose] preparing nginx prefix directory at /usr/local/kong 2018/03/07 22:45:22 [verbose] SSL enabled, no custom certificate set: using default certificate 2018/03/07 22:45:22 [verbose] default SSL certificate found at /usr/local/kong/ssl/kong-default.crt 2018/03/07 22:45:22 [verbose] Admin SSL enabled, no custom certificate set: using default certificate 2018/03/07 22:45:22 [verbose] admin SSL certificate found at /usr/local/kong/ssl/admin-kong-default.crt 2018/03/07 22:45:23 [verbose] could not start Kong, stopping services 2018/03/07 22:45:23 [verbose] stopped services Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:62: /usr/local/share/lua/5.1/kong/cmd/start.lua:28: [postgres error] could not retrieve current migrations: [postgres error] FATAL: password authentication failed for user "kong" stack traceback: [C]: in function 'error' /usr/local/share/lua/5.1/kong/cmd/start.lua:62: in function 'cmd_exec' /usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:87> [C]: in function 'xpcall' /usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:44> /usr/local/bin/kong:7: in function 'file_gen' init_worker_by_lua:45: in function <init_worker_by_lua:43> [C]: in function 'xpcall' init_worker_by_lua:52: in function <init_worker_by_lua:50>
已经安装 postgres,kong 这个用户已经建立了,密码也设置了的,也重启了。请问下配置过 kong 的朋友们,这个咋个解决呢?