Air-gapped machine troubles - version ‘GLIBC_2.33’ not found

I got a little further but now it says:

“bash: /usr/local/bin/cardano-cli: Permission denied”

I added my user to the sudo group so I should have the priviliges that a sudo user has right?
The command I used was

“sudo gpasswd -a user sudo”

How do I gain permission to do stuff to the /usr/local/bin/cardano-cli directory?

Use chown command

should be sudo chown -R user:user file/folder

1 Like
  • add new user in sudo group
sudo adduser example sudo 

Good! What was the solution?
if you went further than maybe a new topic can be opened to separate the issues.
sudo rights not needed to start the cardano-cli.

Didn’t work, still says permission denied sadly

Could you open a new topic for this specific case?
what was the solution for eliminating GLIBC_2.33 not found issue?

No, it still has the same problem, but now it says permission denied. When I gained permission it still said GLIBC_2.33 not found. So I didn’t get further at all actually which I thought.

Even when I login as root it still says permission denied now…

I see - so right now who is the $USER:
whoami
then how you start the cardano-cli?
and what is ther permissions for cardano-cli?
ls -l /usr/local/bin/cardano-cli

also give us the output of: ldd /usr/local/bin/cardano-cli

I don’t quite understand what you mean by how do I start the cardano-cli. I just copied it from my relaynode to the air-gapped machine’s “/usr/local/bin” directory. In the video guide [Alexd1985] linked previously he says I’m ready to go after that.

if you download the executable from the download page you should get this:

$ ldd cardano-cli 
	not a dynamic executable

maybe the counter file should be placed where the actual user has write permissions, try this one:

cardano-cli node key-gen \
--cold-verification-key-file node.vkey \
--cold-signing-key-file node.skey \
--operational-certificate-issue-counter /root/node.counter

Still getting the error:

“bash: /usr/local/bin/cardano-cli: Permission denied”

ahh - so just missed which command you executing all the files are outputs…
first try cardano-cli --version - should work
then:

cardano-cli node key-gen \
--cold-verification-key-file /root/node.vkey \
--cold-signing-key-file /root/node.skey \
--operational-certificate-issue-counter /root/node.counter

should work this way… hope the best:)

I apparently don’t even have permission to check the version of the cardano-cli, it still says permission denied on both commands.

I really appreciate your help though, thank you.

ahh yes, missed the ls -l output - it is showing that no execution permission on the file:
chmod 755 /usr/local/bin/cardano-cli
then execute cardano-cli --version - will definitely work

1 Like

Screenshot from 2021-06-21 06-06-44

I tried this as well.

sudo chmod 755 /usr/local/bin/cardano-cli

But the command below still gets the same error message anyway.

cardano-cli --version

1 Like

ok now the user is owen - keep this user…
but since changing permissions need sudo rights execute it with sudo
sudo chmod 755 /usr/local/bin/cardano-cli

No, in the last post I said I already tried that and it didn’t work unfortunately.

ahh - maybe because the owner of the executable is root…
could you change back to root user, and then chmod 755 /usr/local/bin/cardano-cli

Screenshot from 2021-06-21 06-33-26

ok, now lets check the version of glibc, simple call the library without any extra param:
/lib/x86_64-linux-gnu/libc.so.6