Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to make nebula client work for standalone nebula graph #112

Closed
chiru-arh opened this issue Jan 31, 2023 · 2 comments
Closed

Not able to make nebula client work for standalone nebula graph #112

chiru-arh opened this issue Jan 31, 2023 · 2 comments
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@chiru-arh
Copy link

I have installed nebulagraph standalone for linux with the below mentioned installation steps. However I'm not able to make the client work.

Installation steps : Built from source

  1. Nebulagraph (Standalone)
    $ git clone --branch release-3.3 https://github.com/vesoft-inc/nebula.git
    $ cd nebula
    $ mkdir build && cd build
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nebula -DENABLE_TESTING=OFF -DENABLE_STANDALONE_VERSION=on -
    DCMAKE_BUILD_TYPE=Release ..
    $ make -j2
    $ sudo make install

  2. Nebula cpp client
    $ git clone --branch release-3.3 https://github.com/vesoft-inc/nebula-cpp.git
    $ cd nebula-cpp
    $ mkdir build && cd build
    $ cmake -DCMAKE_BUILD_TYPE=Release ..
    $ make
    $ sudo make install
    $ sudo ldconfig

  3. Start the nebula service
    $ sudo /usr/local/nebula/scripts/nebula.service start all

  4. Compile example code (SessionExample.cpp)
    $ LIBRARY_PATH=/usr/local/nebula/lib:$LIBRARY_PATH g++ -std=c++11 SessionExample.cpp -I/usr/local/nebula/include -lnebula_graph_client -o session_example

  5. Run session_example
    $ ./session_example

  6. I get the below log after the above step and the program doesn't terminate (gets stuck in ConnectionPool init function)
    $ Current address : 127.0.0.1:9669

@QingZ11 QingZ11 added the type/bug Type: something is unexpected label Feb 23, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Feb 23, 2023
@Shylock-Hg
Copy link
Contributor

Can you connect to server by nebula-console?

@QingZ11
Copy link

QingZ11 commented Mar 30, 2023

I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.

Thanks a lot for your contribution anyway 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants