Article ID: 124945, created on Mar 19, 2015, last review on Mar 19, 2015

  • Applies to:
  • Plesk 11.5 for Linux


Network utilities (such as ping, wget, curl etc.) may not work in the chrooted environment. For example it is not possible to get name resolution from the shell using any of the available tools :

bash-4.2$ ping
ping: unknown host

But ping with IP address works fine:

bash-4.2$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=41 time=200 ms
64 bytes from icmp_req=2 ttl=41 time=75.7 ms

The shell access type for system user is specified in the Web Hosting Access section.


There are no libraries in the chrooted environment such as and which are necessary for name service switch (NSS).


Copy required libraries to the chrooted environment:

# cp /lib/x86_64-linux-gnu/ /var/www/vhosts/
# cp /lib/x86_64-linux-gnu/ /var/www/vhosts/

If your operating system is 32bit you should copy these libraries from:


Search Words

name resolution fails

ping: unknown host

curl Couldn't resolve host

name resolution in chrooted environment

01bc4c8cf5b7f01f815a7ada004154a2 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF