Can't ping, even with PEAR Net_Ping! :(

tom_taylor

Active Member
Nov 30, 2005
37
0
156
Warrington, UK
Hi!

I'm not sure if its a permission's issue for php, but either running ping or even with PEAR Net_Ping it doesn't return any data other than errors!

PEAR_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
Code:
 => 1
    [message] => unknown host

Hope we can find the cause of the issue!

PEAR and the Net_Ping extension is enabled (2.4.3)

Thanks in advance

Tom
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Hi!

I'm not sure if its a permission's issue for php, but either running ping or even with PEAR Net_Ping it doesn't return any data other than errors!

PEAR_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
Code:
 => 1
    [message] => unknown host

Hope we can find the cause of the issue!

PEAR and the Net_Ping extension is enabled (2.4.3)

Thanks in advance

Tom[/QUOTE]

Check your /etc/resolv.conf to make sure your name-servers are valid.