Debian 12.10 - Antctl (Failed to start service(s))

Hello,

I wanted to start few nodes on freshly installed headless Debian 12.10 server.
Everytime I start the node with antctl start, I get

Failed to start 1 service(s):
βœ• antnode1: The PID of the process was not found after starting it.
Error:
   0: Failed to start one or more services

Location:
   ant-node-manager/src/cmd/node.rs:839

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.```

I have tried running nodes on Windows 10 and all worked perfectly fine with upnp working. Cannot run more than 50 nodes on Windows 10 that is why I went with Debian headless server setup.

The commands I used from start are,

```antctl add --count 1 --data-dir-path /home/username/autonomi --rewards-address 0xCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx evm-arbitrum-one```

Appreciate the help. Thanks!
2 Likes

Idk why the text did not get formatted properly. No option to edit the post to fix it.

I think this happens when there have been nodes running previously and then are killed and the services haven’t been deleted. Try a reboot.

Also, are you running antctl as root?

There should be an option to edit the post. Look for a pencil icon in the bar at the bottom.

Then you just have to make sure that the bits you want to be like this are enclosed in 3 of these `

Thats a freshly installed Debian OS and first node installed.. Reboot didnt fix it.. Tried as user and also as root.. everytime same issue.

I dont have options as shown in your posted screenshot to edit the post.

1 Like

You will when you have been here for a little longer. Read some topics and you will progress in the forum’s trust levels.

1 Like

Do you have any solution to the issue I am facing? I have many unused HDDs and I have setup whole PC just for this project.

Also can you please format my post text properly?

Thanks!

I’ve been getting get similar errors on Linux Mint, and have done for a while. Now I get

antctl add --count 3 --rewards-address 0x**** evm-arbitrum-one

3 service(s) to be added
Error: 
   0: Failed to deserialize as V0: unknown variant `ArbitrumSepolia`, expected one of `ArbitrumOne`, `ArbitrumSepoliaTest`, `Custom` at line 1 column 2856

Location:
   /home/runner/work/autonomi/autonomi/ant-node-manager/src/cmd/node.rs:93

Something not right somewhere.

Edit: possibly because I’m running it from a partition.
Edit2: Nope, still happens from the home dir.

1 Like

Can you set up port-forwarding on your router?

If so forward port 61000 to the internal IP of your Debian box then run

`antctl add --count 1 --data-dir-path /home/username/autonomi --rewards-address 0xCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --node-port 61000 evm-arbitrum-one
and let us know if that helps.

Note 61000 is just a randm port, a high number that is most likely unused.
Run netstat -pln to get a list of currently used ports and choose ports that are NOT in that output.

EDIT: you want to run >50 ports. Set your port-forwarding to allocate ports 61000-64999 to your Debian box.
If you can get one node running, we will soon have you running 50 or more.

Welcome to the forum and thanks for (trying to) joining in the fun :slight_smile:

yes this is repeatable here

╔══════════════════════════╗
β•‘   Add Antnode Services   β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
1 service(s) to be added
Error: 
   0: Failed to deserialize as V0: unknown variant `ArbitrumSepolia`, expected one of `ArbitrumOne`, `ArbitrumSepoliaTest`, `Custom` at line 1 column 1460

Location:
   /home/runner/work/autonomi/autonomi/ant-node-manager/src/cmd/node.rs:93

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

I will poke further…

EDIT : I get the same error with evm-arbitrum-one and evm-arbitrum-sepolia-test

paging @chriso @qi_ma

β€œwhaddya mean its a bank holiday weekend?”

1 Like

It’s arbitrum-one, no evm- there.

1 Like

from
antctl add --help

Usage: antctl add [OPTIONS] --rewards-address <REWARDS_ADDRESS>

Commands:
evm-arbitrum-one Use the Arbitrum One network
evm-arbitrum-sepolia-test Use the Arbitrum Sepolia network with test contracts
evm-custom Use a custom network
evm-local Use the local EVM testnet, loaded from a CSV file
help Print this message or the help of the given subcommand(s)

Sorry, my bad. That’s new I think.

The deserialise error suggests it’s a problem with ant reading older config. They recently remove sepolia from the Rust libs better IDs so I’m surprised it’s showing up here.

1 Like

Does your eagle eye spot anything amiss here?



willie@gagarin:~/projects/maidsafe/autonomi/evmlib$ grep -rn ArbitrumOne
tests/gas_fee_limit.rs:7:    let network = Network::ArbitrumOne;
src/utils.rs:84:                        Ok(Network::ArbitrumOne)
src/utils.rs:163:        Ok(Network::ArbitrumOne)
src/lib.rs:84:    ArbitrumOne,
src/lib.rs:92:            Network::ArbitrumOne => write!(f, "evm-arbitrum-one"),
src/lib.rs:104:            "evm-arbitrum-one" => Ok(Network::ArbitrumOne),
src/lib.rs:128:            Network::ArbitrumOne => "arbitrum-one",
src/lib.rs:136:            Network::ArbitrumOne => &PUBLIC_ARBITRUM_ONE_HTTP_RPC_URL,
src/lib.rs:144:            Network::ArbitrumOne => &ARBITRUM_ONE_PAYMENT_TOKEN_ADDRESS,
src/lib.rs:152:            Network::ArbitrumOne => &ARBITRUM_ONE_DATA_PAYMENTS_ADDRESS,
1 Like

The ArbitrumSepolia (evm-arbitrum-sepolia) got removed in the PR refactor!(evmlib): remove deprecated `Network::ArbitrumSepolia` by mickvandijke Β· Pull Request #2867 Β· maidsafe/autonomi Β· GitHub

3 Likes

Thank you

However if I read the OP carefully this time - it seems he is getting this error with evm-arbitrum-one

Which I can replicate here

willie@gagarin:~/projects/maidsafe/autonomi/evmlib$ antctl add  --count 1 --data-dir-path /home/willie/projects/autonomi --rewards-address 0x4xxxxxxxxxxxxxxxxxxx36 evm-arbitrum-one
╔══════════════════════════╗
β•‘   Add Antnode Services   β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
1 service(s) to be added
Error: 
   0: Failed to deserialize as V0: unknown variant `ArbitrumSepolia`, expected one of `ArbitrumOne`, `ArbitrumSepoliaTest`, `Custom` at line 1 column 1460

Location:
   /home/runner/work/autonomi/autonomi/ant-node-manager/src/cmd/node.rs:93

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

It looks like its throwing this error
0: Failed to deserialize as V0: unknown variant ArbitrumSepolia, expected one of ArbitrumOne, ArbitrumSepoliaTest, Custom at line 1 column 1460
whether I use evm-arbitrum-one or the outdated evm-arbitrum-sepolia-test

Tried manual port forwarding, not working.. same error.

antnode1: The PID of the process was not found after starting it.

1 Like

But it worked for you on Windows, right?
and you want to use linux to run 50+ nodes?

Try Formicaio and see how you get on Release Formicaio v0.5.1 Β· bochaco/formicaio Β· GitHub,

Once unzipped, start it with nohup ./formicaio start &
Check output with tail -f nohup.out

Access it by going to {Debian box IP}:52100 and hitting the β€œ+” in the bottom right. I’d recommend starting with 10 nodes at 60 second intervals.

Yes, 50 nodes were working on Windows 10.
Yes, Installed Linux to run more nodes.

Formicaio is a 3rd party app for running/managing Autonomi nodes? I will give it a try and let you know.

Thanks!

1 Like

Hi, I did run Formicaio and nodes are running! But I don’t know how to change the directory to install nodes on different HDDs. Any guide available?

Look at the --data-dir section of the help.
Simply a matter of setting the relevant path