• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

"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: http://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