473,385 Members | 1,546 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,385 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 1495
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.