dymensionxyz / roller

CLI tool for deploying Dymension RollApps
72 stars 62 forks source link

RollApp: command execution failed: fork/exec /usr/local/bin/rollappd: permission denied, stderr: #1031

Open staking4all opened 1 week ago

staking4all commented 1 week ago

Roller version

1.6.4-alpha-rc06

OS

Ubuntu 22.04.5 LTS

Processor Architecture

x86_64

Others

Steps to reproduce it

Executed roller rollapp init

Expected result

rollapp to be created

Actual result

Getting error ERROR failed to initialize rollapp client ERROR failed to initialize the RollApp: command execution failed: fork/exec /usr/local/bin/rollappd: permission denied, stderr:

Have tried chmod 777 -R and chown but still getting error.

Below is full on screen log __roller rollapp init /home/dymension/.roller INFO installing dependencies Downloading 0% | | ( 0 B/40 MB) [0s:0s] Downloading 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (40/40 MB, 52 MB/s) SUCCESS Successfully installed dymension select the environment you want to initialize for:

playground provide a rollapp ID that you want to run the node for: gunmensionfire_10150-1 SUCCESS 'gunmensionfire_10150-1' is a valid RollApp ID SUCCESS Successfully downloaded the genesis.json /home/dymension/.roller INFO RollApp binary version from the genesis file : fe4246e7ca7f4a636881eb099ebd6e10cd386133 Downloading 0% | | ( 0 B/43 MB) [0s:0s] Downloading 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (43/43 MB, 64 MB/s) SUCCESS Successfully installed celestia-app Downloading 0% | | ( 0 B/12 MB) [0s:0s] Downloading 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (12/12 MB, 39 MB/s) SUCCESS Successfully installed eibc-client Downloading 0% | | ( 0 B/25 MB) [0s:0s] Downloading 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (25/25 MB, 43 MB/s) SUCCESS Successfully installed go-relayer SUCCESS Successfully installed celestia

SUCCESS Successfully installed rollapp

INFO all dependencies installed in: 34.472976871s INFO roller.toml not found, creating ERROR failed to initialize rollapp client ERROR failed to initialize the RollApp: command execution failed: fork/exec /usr/local/bin/rollappd: permission denied, stderr:__

Log Files

image

Notes

No response

staking4all commented 1 week ago

I switched to root user, still got error.

Deleted the folder /usr/local/bin/rollappd

Then ran again as root, now it worked.

artemijspavlovs commented 1 week ago

can you try running the rollappd binary directly as the user you originally intended with? something basic like rollappd config will do. can the user run other binaries located in the same, /usr/local/bin directory?