Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

BSim Elasticsearch setup - ERROR Invalid URL specified: BSim URL missing DB name/path (BSimLaunchable) #7204

Closed
itsallmathematics opened this issue Nov 18, 2024 · 1 comment
Labels
Feature: BSim Type: Question Further information is requested

Comments

@itsallmathematics
Copy link

I don't think this is a bug; I'm probably missing a setup step here. Please see the below command and output:

[researcher@localhost support]$ ./bsim createdatabase elastic://localhost:9200/ medium_nosize -u "bsim_user"

openjdk version "21.0.3" 2024-04-16 LTS

OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)

OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode)

Max-Memory: 908 MBytes

ERROR Invalid URL specified: BSim URL missing DB name/path (BSimLaunchable) 

Do you know how I can generate the DB URL from Elasticsearch that BSim needs? I am not very familiar with Elasticsearch as a database. I am currently on Ghidra 11.1.2.

@gemesa
Copy link
Contributor

gemesa commented Nov 18, 2024

You are specifying an incorrect BSim URL form: elastic://localhost:9200/ which should be sg like elastic://localhost:9200/my_db. You can see this in the usage info. It is a bit weird that you need to specify the DB name even when it does not exist yet and you are using createdatabase but it is what it is. Btw I am using BSim with PostgreSQL but have some usage examples here: #7085 (comment) (scroll past the bsim_ctl commands).

@ryanmkurtz ryanmkurtz added Type: Question Further information is requested Feature: BSim labels Nov 18, 2024
@NationalSecurityAgency NationalSecurityAgency locked and limited conversation to collaborators Nov 18, 2024
@ryanmkurtz ryanmkurtz converted this issue into discussion #7207 Nov 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Feature: BSim Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants