axelarnetwork / support

Your source for support with the Axelar Network
3 stars 1 forks source link

Node Startup Failure on Ubuntu 22.04 with Axelar #88

Open karangoraniya opened 4 months ago

karangoraniya commented 4 months ago

Environment:

Issue Description: I'm experiencing an issue where my Axelar node fails to start on Ubuntu 22.04. Despite following the setup instructions carefully, I encounter the following error message when attempting to run the node:

Command

./scripts/setup-node.sh -n testnet
./scripts/setup-node.sh -n mainnet

Error

FAILED to run the last command

script cleanup running
FAILED to run the last command

script cleanup running

Reference

Olanetsoft commented 4 months ago

Hey, @karangoraniya, thank you for reaching out.

Looking at the error, you didn't add the flag to specify the environment, whether it's mainnet or testnet.

If it is testnet, the command should be

./scripts/setup-node.sh -n testnet

For mainnet, it should be

./scripts/setup-node.sh -n mainnet

Let me know if that helps.

karangoraniya commented 4 months ago

@Olanetsoft Thanks for the quick reply I've also tried adding the separate flag to the command for both testnet and mainnet, but I encountered the same error.

FAILED to run the last command

script cleanup running
FAILED to run the last command

script cleanup running
Olanetsoft commented 4 months ago

Flagged this internally, I will give you feedback soon. So sorry about that.

karangoraniya commented 3 months ago

Flagged this internally, I will give you feedback soon. So sorry about that.

@Olanetsoft Any update ?

kalidax commented 3 months ago

Hi @karangoraniya

I see that you are using one of our partners doc to run the node, could you use our doc https://docs.axelar.dev/node/config-node

Please could you run that command to see from where you are running the script :

pwd git pull Could you also enable debugging before running the script setup-node.sh set -x # Enable debugging

kalidax commented 2 months ago

Hi @karangoraniya Any update ?

Thanks

karangoraniya commented 2 months ago

Hey @kalidax Sorry for the late reply i was on holiday

pwd

/root/axelarate-community

git pull already upto date

got many things after running debug command

kalidax commented 2 months ago

@karangoraniya

If you could share the output it would be useful

karangoraniya commented 2 months ago

@kalidax

https://gist.github.com/karangoraniya/0ba3e669ce5ac207a00de00cfb314893

kalidax commented 2 months ago

Error is here : https://gist.github.com/karangoraniya/0ba3e669ce5ac207a00de00cfb314893#file-gistfile1-txt-L128

Please run export LD_LIBRARY_PATH="/root/.axelar_testnet/lib and run the script again and let me know if it fixed the issue.

karangoraniya commented 2 months ago
- reset-chain: 0
- axelar-core-version: v0.35.5
- root-directory: /root/.axelar_testnet
- network: testnet
- environment: host
- script_dir: /root/axelarate-community/scripts
- chain-id: axelar-testnet-lisbon-3
- skip-download: false
- arguments:

after this prompt i have type Y

then got this

All configuration files have been set up

SUCCESS

Run the node via

/root/.axelar_testnet/bin/axelard start [moniker] --home /root/.axelar_testnet >> /root/.axelar_testnet/logs/axelard.log 2>&1 &

More detailed instructions can be found in our docs.

After the node is running,
To follow execution, run 'tail -f /root/.axelar_testnet/logs/axelard.log'
To stop the node, run "pkill -f "axelard start"

CHECK the logs to verify that the process is running as expected

BACKUP but do NOT DELETE the Tendermint consensus key (if running a validator node)
Tendermint consensus key: /root/.axelar_testnet/config/priv_validator_key.json

script cleanup running
kalidax commented 2 months ago

Looks like it fixed the issue. KIndly refer to https://docs.axelar.dev/node/config-node for the next steps.

karangoraniya commented 2 months ago

okay let me try and get back to you

thank you

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 4 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.