473,405 Members | 2,415 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,405 software developers and data experts.

PHP Warning: session_ start(): php_network_getaddresses: getaddrinfo failed

We have one server which was never been used from last 3-4 months and when we start it to use, login module written in PHP has been completely broken. When I checked the standard httpd logs, it says:
ERROR:
----------------
PHP Warning: session_
start(): php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/sites/siteAdmin/authenticate.php on line 24, refer
er: URL
---------------
I have been referred to so many articles and blogs regarding this, but none of them worked for me. Please help.
Jul 24 '14 #1
1 1496
Dormilich
8,658 Expert Mod 8TB
this error is caused by a failed DNS lookup. there isn’t much you can do in PHP (maybe except finding out the correct name/service) because it‘s a network issue.
Jul 25 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Steve | last post by:
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...
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...
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:...
3
by: mrosado | last post by:
Hi everybody, I have this problem.- The browser launch this two errors: Warning: session_start() : Cannot send session cache limiter - headers already sent (output started at...
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...
8
by: lkpsrinivasan | last post by:
(lines from 40 to 71) My error while running the program is (Warning: session_start() : Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\sri1\login.php:40)...
1
by: westdh | last post by:
<?php mysql_connect("http://localhost","root","root"); mysql_select_db("cmi_test"); .... ?> Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: nodename nor servname...
0
by: nitin2011 | last post by:
Hi, I have PHP 5.3.6 (cli) installed on amazon linux. Some times back it was working properly. But from last 3-4 months, it has some problem with login module. I am getting the following error in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.