Hi When I ran wget on centos 7 jailkit on ISPCONFIG 3.1 There were errors Name or service unknown and 2nd error- Unable to resolve domain any help will be appreciated Thanks
It's not clear to me what you did, did you try to download jailkit sources or did you try to do a download while you are in a jailkit jail?
Thanks for your reply, I wanted to install nvm for jailed user with wget download Please see screenshot bash-4.2$ wget https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash --2019-11-19 15:07:20-- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Name or service not known. wget: unable to resolve host address 'raw.githubusercontent.com' thanks
I have look at strace of the wget command I only see 1 error pls advice how to correct the error. Thanks
Did you refer to the post @till linked to? In that post there were numerous things checked in the original post, and the resolution in the last reply. Their resolver setup in the jail was broken, and they had to copy some additional libraries from the system to the jail, perhaps/likely you have a similar issue. If you wish to troubleshoot your specific problem further, please go back to @till's first reply and answer those questions. You have a broken jailkit setup, probably a bad/incomplete jk_init.ini for your OS. The questions of how you installed it are trying to get at what might have happened to cause that. I suppose as an alternative to answering the questions you are asked, maybe this will help: try going to the perfect server guide for your OS and run through the "install jailkit" piece again, then reinitialize your jails.
The problem was that we have a misconfigured /etc/hosts file with outdated/wrong IP Address. This was corrected and jk_update used to reinitialize the user jail thanks