While launching Pegasus shell, error occurred that config file was not found:
$ pwd
/home/data/pegasus
$ /home/data/pegasus/tools/run.sh shell --cluster 127.0.0.1:34601
sed: can't read /home/data/pegasus/src/shell/config.ini: No such file or directory
The reason was that the command was not executed under /home/data/pegasus/tools. Solving this problem, error occurred that libdsn_replica_server.so was not found:
$ /home/data/pegasus/tools/run.sh shell --cluster 127.0.0.1:34601
./pegasus_shell: error while loading shared libraries: libdsn_replica_server.so: cannot open shared object file: No such file or directory
The reason was that the dir of this library was not put in LD_LIBRARY_PATH. Solving this problem, error occurred that librocksdb.so.8 was not found:
$ /home/data/pegasus/tools/run.sh shell --cluster 127.0.0.1:34601
./pegasus_shell: error while loading shared libraries: librocksdb.so.8: cannot open shared object file: No such file or directory
The reason was that librocksdb.so.8 was not been put into the package while packing tools. Solving this problem, Pegasus shell was launched successfully.
While launching Pegasus shell, error occurred that config file was not found:
The reason was that the command was not executed under
/home/data/pegasus/tools
. Solving this problem, error occurred thatlibdsn_replica_server.so
was not found:The reason was that the dir of this library was not put in
LD_LIBRARY_PATH
. Solving this problem, error occurred thatlibrocksdb.so.8
was not found:The reason was that
librocksdb.so.8
was not been put into the package while packing tools. Solving this problem, Pegasus shell was launched successfully.