Skip to content

Conversation

@simbahebinbo
Copy link

No description provided.

@jiaxi-xu-fsx
Copy link

jiaxi-xu-fsx commented Nov 21, 2024

Did you successfully build it and run it with a local validator without any issues? I tried with my plugin-config.json and I always faced Segmentation fault:

$ solana-test-validator --reset --geyser-plugin-config /home/jiaxi.xu/solana-accountsdb-plugin-postgres/plugin-config.json
Ledger location: test-ledger
Log: test-ledger/validator.log
⠤ Initializing...                                                                                                                                                                                                                                                                                           Segmentation fault

Below is my plugin-config.json code:

{
    "libpath": "/home/jiaxi.xu/solana-accountsdb-plugin-postgres/target/release/libsolana_geyser_plugin_postgres.so",
    "host": "localhost",
    "user": "solana",
    "connection_str": "postgres://solana:solana@localhost:5432/solana",
    "port": 5432,
    "threads": 20,
    "batch_size": 20,
    "panic_on_db_errors": true,
    "accounts_selector": {
        "accounts": [
            "*"
        ]
    },
    "transaction_selector": {
        "mentions": [
            "*"
        ]
    }
}

And I ran it with command:
solana-test-validator --reset --geyser-plugin-config /home/jiaxi.xu/solana-accountsdb-plugin-postgres/plugin-config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants