Closed BC-Tech-Systems closed 1 year ago
@BC-Tech-Systems. can you provide more screen output content above this error. When I had a compilation issue, it was because of missing dependencies like snap. Look further back to see if there is any unexpected output.
Thanks for reporting this @BC-Tech-Systems!
As @wishbonesr mentioned, could you look for any failures (or attach logs of the process via script
command like here or otherwise) of dependencies before building the clients such as Lighthouse?
@BC-Tech-Systems. can you provide more screen output content above this error. When I had a compilation issue, it was because of missing dependencies like snap. Look further back to see if there is any unexpected output.
As I thought I tested this a while back on the supported Ubuntu 22.04 LTS and didn't see any issues. It appears from a quick look at the error that rust is failing to build Lighthouse, which usually is a dependency issue OR a node user error.
In that case, make sure you are running the script as a user with sudo privileges and that the node user was added properly as the script does this as one of the first tasks.
Thanks for the suggestions. I can confirm the testnet settings were a red herring (false positive) as I was able to reproduce the issue with mainnet settings after deleting the repo and cloning it again.
I did add my account to the sudoer group this time via the following command:
usermod -aG sudo blockchain
Also, I change the visudo command to remove the need to enter my password for sudo commands:
sudo visudo
blockchain ALL=(ALL) NOPASSWD: ALL
This time I ran the script via the following command:
Wallet and IP address changed for privacy:
sudo ./pulsechain-validator-setup.sh 0xxxxyyyzzz6679C8cbbE561xxxyyyzzz 20.0.0.71
The command ran successfully now. I do not recall having to sudo this command on my mainnet (Prod) validator...
Great, glad you got it working.
Yes, the script expects the user running the script to have admin (passwordless sudo) privileges unless other arrangements are made. This can be the default on different Ubuntu installations, but sometimes not.
Appreciate your pull requests and support as well.
I get the following error when trying to setup a test node.
Steps to reproduce: Setup a clean Ubuntu 22.04 LTS server
Logon to the server cli and run these commands: mkdir repos cd repos git clone https://github.com/rhmaxdotorg/pulsechain-validator.git cd pulsechain-validator
Edit pulsechain-validator-setup.sh and change it to the testnet values
nano pulsechain-validator-setup.sh
(Exit nano via (ctrl+x)
Run the setup command Substitute the following: [wallet] = wallet id on the test network [ip] = external IP address of the router ./pulsechain-validator-setup.sh [wallet] [ip]
The build should fail on the very last step.
I have reproduced this on two different servers.