我正在学习使用 tarantool subd 并尝试调用 box.cfg{},但作为响应,tarantool 仅显示以下错误并终止进程。
tarantool> box.cfg{}
2021-02-23 21:24:41.355 [52053] main/103/interactive C> Tarantool 2.6.2-0-g34d504d7d
2021-02-23 21:24:41.355 [52053] main/103/interactive C> log level 5
2021-02-23 21:24:41.355 [52053] main/103/interactive I> mapping 268435456 bytes for memtx tuple arena...
2021-02-23 21:24:41.355 [52053] main/103/interactive I> Actual slab_alloc_factor calculated on the basis of desired slab_alloc_factor = 1.044274
2021-02-23 21:24:41.356 [52053] main/103/interactive I> mapping 134217728 bytes for vinyl tuple arena...
2021-02-23 21:24:41.358 [52053] main/103/interactive box.cc:2984 E> ER_ALREADY_RUNNING: Failed to lock WAL directory . and hot_standby mode is off
2021-02-23 21:24:41.358 [52053] main/103/interactive F> can't initialize storage: Failed to lock WAL directory . and hot_standby mode is off