• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

"unable to resolve host address" running wget as chroot user

jerrac

New Pleskian
Server info: Plesk 11.5 on a Ubuntu 12.04 64bit server.

When I try to run a curl or wget command as my chooted user, it responds with an error saying it cannot resolve the host.

Ip addresses work.

I tried the steps mentioned in this post: https://talk.plesk.com/threads/scheduled-tasks-always-fail.331821/#post-775191

But it didn't help.

I also set the users shell to normal /bin/bash, and it worked. After setting it back to /bin/bash (chrooted) it stopped working.

This issue is preventing my user from setting up a needed cron job.

Any suggestions?
 
This seems like something a LOT of people would need. I certainly found plenty of posts on the subject of resolving dns entries from a chroot environment when I did a Google search. So, I would there would be workaround.

To me, I'd think that adding the correct files to the chroot environment would do it. But when I followed the instructions for that in the post I linked, it didn't work. So, did I miss some files? Or what?
 
Back
Top