cyxinda opened a new issue #1449: bug: lua: /usr/bin/apisix:535: module 'apisix.core.profile' not found: URL: https://github.com/apache/incubator-apisix/issues/1449 ### Issue description When I install the apisix of the version 1.2 or the version master,the bug 'lua: /usr/bin/apisix:535: module 'apisix.core.profile' not found:' happens. ### Environment * My lua version is : `[root@v175 incubator-apisix-master]# lua -v Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio ` * apisix version (cmd: `apisix version`): 1.2 or master * OS:centos 7.5 ### Minimal test code / Steps to reproduce the issue 1.First I run the command 'make deps' in the $APISIX_ROOT. 2.Then I run the commond 'make install' to copy the directory of logs and conf to the directory of '/usr/local/apisix/'. 3.I copy the directory of deps and dashboard to the directory of /usr/local/apisix/. 4.Finally ,I run the command 'apisix start',And the bug happens. ### What's the actual result? (including assertion message & call stack if applicable) [root@v175 apisix]# apisix start lua: /usr/bin/apisix:535: module 'apisix.core.profile' not found: no field package.preload['apisix.core.profile'] no file '/usr/local/apisix/deps/share/lua/5.1/apisix/core/profile.lua' no file '/usr/local/share/lua/5.3/apisix/core/profile.lua' no file '/usr/local/share/lua/5.3/apisix/core/profile/init.lua' no file '/usr/local/lib/lua/5.3/apisix/core/profile.lua' no file '/usr/local/lib/lua/5.3/apisix/core/profile/init.lua' no file './apisix/core/profile.lua' no file './apisix/core/profile/init.lua' no file '/usr/local/apisix/deps/lib64/lua/5.1/apisix/core/profile.so' no file '/usr/local/apisix/deps/lib/lua/5.1/apisix/core/profile.so' no file '/usr/local/lib/lua/5.3/apisix/core/profile.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './apisix/core/profile.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/lib/lua/5.3/apisix.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './apisix.so' stack traceback: [C]: in function 'require' /usr/bin/apisix:535: in upvalue 'read_yaml_conf' /usr/bin/apisix:644: in upvalue 'init' /usr/bin/apisix:809: in field '?' /usr/bin/apisix:854: in main chunk [C]: in ? ### What's the expected result? no message occur,and the process of apisix running .
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
