Posted by: Hartoto | 03/01/2017

Atasi Error CWP: php_network_getaddresses: getaddrinfo failed

Kasus, error pada Centos Web Panel ( cwp):

Warning: [obfuscated](): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0

Warning: [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=ads_all): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0

cep-error-get-adress

Sebab: Itu karena server tidak dapat berkomunikasi dengan server lain via domain. dalam hal ini yang bermasalah adalah dnsnya.

Solusi

vi /etc/resolv.conf

Ganti nameserver dengan dns google

nameserver 8.8.8.8
nameserver 8.8.4.4

Kasus ditutup

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: