Cardano-node 1.35.4 error- help! **unsupported and unverified version of `cardano-node` with......P2P

BProd:

d@bpid:~/cardano-my-node$ ls
alonzo-genesis.json configuration.yaml startCardanoNode.sh
byron-genesis.json db topology.json
config.json shelley-genesis.json
d@bpid:~/cardano-my-node$ pwd
/home/d/cardano-my-node
d@bpid:~/cardano-my-node$

these are the files needed to download

https://book.world.dev.cardano.org/environments.html

and navigate down to mainnet where u will find

Node Config , Byron Genesis , Shelley Genesis , Alonzo Genesis and Node Topology

download them, keep the original name and try again

1 Like

yes i did that to the book. from mainnet only. same source.

when you refer to yaml, is this the Node Config download in your link above?

yes, you donā€™t need yaml fileā€¦ nowā€¦ check the env fileā€¦ which lines did u modify?

and also try sudo systemctl -e -f -u cardano-node and check which other errors are thereā€¦ if are

1 Like

d@bpid:~/cardano-my-node$ ls
alonzo-genesis.json configuration.yaml startCardanoNode.sh
byron-genesis.json db topology.json
config.json shelley-genesis.json
d@bpid:~/cardano-my-node$ sudo systemctl -e -f -u cardano-node
systemctl: invalid option ā€“ ā€˜eā€™
d@bpid:~/cardano-my-node$

sorry sudo journalctl -e -f -u cardano-node

1 Like

and by ENV do you mean config.json or topology?

nevermind, you are not at that stepā€¦ yet
you know, I have a nice guideā€¦ how to setup a pool

you should try itā€¦ its very friendly this method and easy to use.

1 Like

thats a big outputā€¦copy and paste here? or how should i post.

try

sudo systemctl restart cardano-node and paste only the output since/for this restart (last lines from restarting nodeā€¦ something like that)

1 Like

that was big too: here is top and bottom.

d@bpid:~$ sudo journalctl -e -f -u cardano-node
Jan 11 16:05:57 bpid systemd[1]: cardano-node.service: Failed with result ā€˜exit-codeā€™.
Jan 11 16:06:02 bpid systemd[1]: cardano-node.service: Scheduled restart job, restart counter is at 2078.
Jan 11 16:06:02 bpid systemd[1]: Stopped Cardano Node Service.
Jan 11 16:06:02 bpid systemd[1]: Started Cardano Node Service.
Jan 11 16:06:02 bpid cardano-node[26372]: Node configuration: NodeConfiguration {ncSocketConfig = SocketConfig {ncNodeIPv4Addr = Last {getLast = Just 0.0.0.0}, ncNodeIPv6Addr = Last {getLast = Nothing}, ncNodePortNumber = Last {getLast = Just 6000}, ncSocketPath = Last {getLast = Just (SocketPath {unSocketPath = ā€œ/home/d/cardano-my-node/db/socketā€})}}, ncConfigFile = ā€œ/home/d/cardano-my-node/config.jsonā€, ncTopologyFile = ā€œ/home/d/cardano-my-node/topology.jsonā€,
ā€¦
an 12 13:51:12 bpid cardano-node[65585]: [bpid:cardano.node.startup:Info:5] [2023-01-12 20:51:12.05 UTC] startup time: 1673556673
Jan 12 13:51:12 bpid cardano-node[65585]: [bpid:cardano.node.startup:Error:5] [2023-01-12 20:51:12.05 UTC] Failure while attempting to remove the stale local socket: /home/d/cardano-my-node/db/socket : /home/d/cardano-my-node/db/socket: removeLink: inappropriate type (Is a directory)
Jan 12 13:51:12 bpid cardano-node[65585]: Shutting downā€¦
Jan 12 13:51:12 bpid cardano-node[65585]: LocalSocketError ā€œ/home/d/cardano-my-node/db/socketā€ /home/d/cardano-my-node/db/socket: removeLink: inappropriate type (Is a directory)
Jan 12 13:51:12 bpid cardano-node[65585]: cardano-node: Failure while attempting to remove the stale local socket: /home/d/cardano-my-node/db/socket : /home/d/cardano-my-node/db/socket: removeLink: inappropriate type (Is a directory)
Jan 12 13:51:12 bpid systemd[1]: cardano-node.service: Main process exited, code=exited, status=1/FAILURE
Jan 12 13:51:12 bpid systemd[1]: cardano-node.service: Failed with result ā€˜exit-codeā€™.

okā€¦iam going to start fresh again.
i will delete the following files in $NODE_HOME

[Node Config]
[Byron Genesis]
[Shelley Genesis]
[Alonzo Genesis]

and TOPO.

then redownload fresh from MAINNET.
cool?

no, wait, look at your problemā€¦

20:51:12.05 UTC] Failure while attempting to remove the stale local socket: /home/d/cardano-my-node/db/socket : /home/d/cardano-my-node/db/socket: removeLink: inappropriate type (Is a directory)

go to db folder and type ls -l

1 Like

d@bpid:~$ cd $NODE_HOME
d@bpid:~/cardano-my-node$ ls
alonzo-genesis.json config.json db startCardanoNode.sh
byron-genesis.json configuration.yaml shelley-genesis.json topology.json
d@bpid:~/cardano-my-node$ cd db
d@bpid:~/cardano-my-node/db$ ls
cardano-node.service socket
d@bpid:~/cardano-my-node/db$

d@bpid:~/cardano-my-node/db$ ls -l
total 8
-rw-rā€“r-- 1 root root 720 Jan 9 10:39 cardano-node.service
drwxrwxr-x 2 d d 4096 Jan 11 22:55 socket
d@bpid:~/cardano-my-node/db$

ok. you created the socket folder, thats why canā€™t create the socket file
type rm socket ( if not working try rm -R socket) restart the node and check again the status

Jan 12 13:56:05 bpid cardano-node[66179]: [bpid:cardano.node.startup:Error:5] [2023-01-12 20:56:05.02 UTC] Failure while attempting to remove the stale local socket: /home/d/cardano-my-node/db/socket : /home/d/cardano-my-node/db/socket: removeLink: inappropriate type (Is a directory)

ok, you should not have socket folder inside db anymore

1 Like

the socket dir was deleted

d@bpid:~/cardano-my-node/db$ rm socket
rm: cannot remove ā€˜socketā€™: Is a directory
d@bpid:~/cardano-my-node/db$ rmdir socket
d@bpid:~/cardano-my-node/db$ ls
cardano-node.service
d@bpid:~/cardano-my-node/db$ sudo systemctl start cardano-node
d@bpid:~/cardano-my-node/db$ journalctl --unit=cardano-node --follow