lilien1010 opened a new issue #1375: bug: restart apisix docker, show error log 
below
URL: https://github.com/apache/incubator-apisix/issues/1375
 
 
   ### Issue description
   
   ```
   2020/03/31 03:16:28 [error] 26#26: *3 [lua] plugin.lua:66: load_plugin(): 
failed to load plugin [udp-logger] err: 
...s/share/lua/5.1/apisix/lua/apisix/plugins/udp-logger.lua:18: module 
'apisix.utils.log-util' not found:
           no field package.preload['apisix.utils.log-util']
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.ljbc'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/apisix//deps/lib64/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/apisix//deps/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/apisix//deps/lib64/lua/5.1/apisix.so'
           no file '/usr/local/apisix//deps/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so', 
context: init_worker_by_lua*
   2020/03/31 03:16:28 [warn] 23#23: *4 [lua] plugin.lua:162: load_stream(): 
loaded stream plugin and sort by priority: 1000 name: mqtt-proxy, context: 
init_worker_by_lua*
   2020/03/31 03:16:28 [error] 26#26: *3 [lua] plugin.lua:66: load_plugin(): 
failed to load plugin [tcp-logger] err: 
...s/share/lua/5.1/apisix/lua/apisix/plugins/tcp-logger.lua:18: module 
'apisix.utils.log-util' not found:
           no field package.preload['apisix.utils.log-util']
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.ljbc'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/apisix//deps/lib64/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/apisix//deps/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/apisix//deps/lib64/lua/5.1/apisix.so'
           no file '/usr/local/apisix//deps/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so', 
context: init_worker_by_lua*
   2020/03/31 03:16:28 [error] 26#26: *3 [lua] plugin.lua:66: load_plugin(): 
failed to load plugin [kafka-logger] err: 
...share/lua/5.1/apisix/lua/apisix/plugins/kafka-logger.lua:18: module 
'apisix.utils.log-util' not found:
           no field package.preload['apisix.utils.log-util']
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file 
'/usr/local/apisix//deps/share/lua/5.1/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/apisix/lua/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.ljbc'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.ljbc'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.ljbc'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/site/lualib/apisix/utils/log-util/init.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.lua'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file './apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util.lua'
           no file '/usr/local/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util.lua'
           no file 
'/usr/local/openresty/luajit/share/lua/5.1/apisix/utils/log-util/init.lua'
           no file 
'/usr/local/apisix//deps/lib64/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/apisix//deps/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/openresty/site/lualib/apisix/utils/log-util.so'
           no file '/usr/local/openresty/lualib/apisix/utils/log-util.so'
           no file './apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/apisix/utils/log-util.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file 
'/usr/local/openresty/luajit/lib/lua/5.1/apisix/utils/log-util.so'
           no file '/usr/local/apisix//deps/lib64/lua/5.1/apisix.so'
           no file '/usr/local/apisix//deps/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/site/lualib/apisix.so'
           no file '/usr/local/openresty/lualib/apisix.so'
           no file './apisix.so'
           no file '/usr/local/lib/lua/5.1/apisix.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
           no file '/usr/local/openresty/luajit/lib/lua/5.1/apisix.so', 
context: init_worker_by_lua*
   ```
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): master
   * OS: Linux
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to