473,327 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

getaddrinfo failed

Visitors to my site have been getting a random error. It's been
happening more and more frequently lately.
______________________________
Warning: Unknown(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in /home/httpd/vhosts/domain.com/file1.php(394) :
eval()'d code on line 16
______________________________

It seems I get this error from a line like:
______________________________
require("http://www.domain.com/file2.php");
______________________________

I did a search but nothing helpful has come up. Anyone know what could
be causing this?

Thanks.
Jul 17 '05 #1
2 5142
Steve wrote:
Visitors to my site have been getting a random error. It's been
happening more and more frequently lately.
______________________________
Warning: Unknown(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in /home/httpd/vhosts/domain.com/file1.php(394) :
eval()'d code on line 16
______________________________


This is one of the reason's why you shouldn't use eval, it makes debugging
very difficult.

Is there a particular reason that you are using it?

Anyway, the error probably originates from a call to fopen or fsockopen to a
host which doesn't respond.
JW


Jul 17 '05 #2
Thanks for the response.

The eval line is part of my forum script... it calls on a file that
allows me to run my own PHP script on each page. The file is located
on the same host.
On Sun, 11 Jul 2004 16:17:53 +0200, "Janwillem Borleffs"
<jw@jwscripts.com> wrote:
Steve wrote:
Visitors to my site have been getting a random error. It's been
happening more and more frequently lately.
______________________________
Warning: Unknown(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in /home/httpd/vhosts/domain.com/file1.php(394) :
eval()'d code on line 16
______________________________


This is one of the reason's why you shouldn't use eval, it makes debugging
very difficult.

Is there a particular reason that you are using it?

Anyway, the error probably originates from a call to fopen or fsockopen to a
host which doesn't respond.
JW


Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bernhard Schmidt | last post by:
Hello, sorry for bothering, I'm not a programmer and I don't do much python, I'm more a networking guy trying to get his favourite linux distribution to update through the shiny new protocol...
0
by: Matt | last post by:
I'm trying to get the HTML data off of a webpage. Let's say for the sake of argument it's the python homepage. I've googled around and found some examples that people said worked. Here's what...
0
by: StevePBurgess | last post by:
Hi - I am using this url_exists function: to check whether files exist on other peoples webservers (before allowing my users to add the site to their directory of rss feeds). On my current shared...
4
by: edcdave | last post by:
I'm trying to get MoinMoin 1.5.4 running with Python 2.3.4 (installed from an SCO Skunkworks binary). Python 2.3.4 (#1, Aug 27 2004, 18:22:39) on sco_sv3 One of the MoinMoin modules attempts to...
1
by: Henry16 | last post by:
Never seen such a situation ! Do you have once faced this problem ? We use a fsockopen to retrieve a content from a URL . The content is dispalid corretly on a page on one of our servers. But...
0
by: cole007 | last post by:
Hi all, New to this forum so thought would start off with a query that has been causing me some problems. Trying to work with remote images using gd libraries and get the following message:...
1
by: mirandacascade | last post by:
I noticed the following lines from the connect() method of the HTTPConnection class within httplib: for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM): af, socktype,...
2
by: John Nagle | last post by:
Here's a strange little bug. "socket.getaddrinfo" blows up if given a bad domain name containing ".." in Unicode. The same string in ASCII produces the correct "gaierror" exception. Actually,...
5
by: _q_u_a_m_i_s's | last post by:
Hy, i have a problem with PHP 5.1.6 I have a script containing something like this: $f=fsockopen("www.site01.com",80,$errNo,$errStr); var_dump($f); When accessing this from apache, i get...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.