gatekeeper
gatekeeper copied to clipboard
/lua/gk.lua:92: 'struct gk_config' has no member named 'fib_dump_batch_size'
Gatekeeper 1.1.0 deployment The following error occurs, the GK server cannot be initialized /lua/gk.lua:92: 'struct gk_config' has no member named 'fib_dump_batch_size'
It seems that you have mixed files from v1.0.0 and v1.1.0 somehow. You seem to be using the new file lua/gk.lua
since it uses the field fib_dump_batch_size
, which is new in v1.1.0. But not the updated file lua/gatekeeper/staticlib.lua
since, as you can check here, it includes the definition of the field fib_dump_batch_size
.
We have been able to boot Gatekeeper servers on a fresh installation of v1.1.0 without this problem, and the field fib_dump_batch_size
is being set and used.
This has been resolved, this is because the lib files in /usr/local/share/lua/5.1/gatekeeper are read, these files are version 1.0.0. lpm failed to initialize the problem, gt_lpm_ud expected, got number error in version 1.1.0 #580, I have completely cleared /usr/local/share/lua/5.1/gatekeeper on the GT server, this problem should be the same, I don't know yet What is the problem? This problem may be caused by the unsuccessful loading of lpmlib
Issue #580 was solved, so this thread is also solved.