Home > Could Not > Eai 2 Error

Eai 2 Error

Contents

VirtualHost configuration: *:443 is a NameVirtualHost default server home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:6) port 443 namevhost home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:6) port 443 namevhost cloud.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:20) *:80 is a NameVirtualHost default server home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:1) port 80 namevhost Thanks. –Steven Chorkley Apr 11 '15 at 3:22 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook I tried running several different web pages under Suse 10.1, with different external IP addresses. Code: Starting httpd: [Fri Sep 30 11:20:37 2011] [error] (EAI 2)Name or service not known: Could not resolve host name : -- ignoring! [Fri Sep 30 11:20:39 2011] [error] (EAI 2)Name

Reply With Quote 09-30-2011,06:05 AM #10 SeLLeRoNe View Profile View Forum Posts Visit Homepage Crazy Network Join Date Oct 2004 Location London, UK Posts 6,249 mmmmmh... For example, if your domain name is server.redhat.com. if you define your hostname and a domain name correctly that will go away. Published on May 8, 2012 by Andrew in centos, httpd, Linux You are no doubt trying to add a vhost and you get the following error when attempting to affect changes

Name Or Service Not Known: Ah00547: Could Not Resolve Host Name

so I have something screwed up in the virtual hosting files, I think. The time now is 08:27 PM. At any rate, it's nice to find part of the solutions.

did you use some gui tool to do things? This is what I posted there: As described above, I put in ServerName cthia.com as an uncommented line, in the top of apache2.conf Now, when I force reboot apache2, I get: I have tried a few things. Apache Servername www.cthia.com shows "If you see this, it means the installation of the Apache web server software on this computer was successful.

From elsewhere on the lan, http://192.168.1.37/cthia calls it up. Could Not Resolve Hostname Ignoring I've asked my provider to move them all to 105 to solve some problems I have with my current Cisco router. Contexts and parallelization Writing referee report: found major error, now what? http://www.howlog.in/2013/08/how-to-resolve-apache-error-eai-2.html I restarted Apache again and this time the hosts could be resolved but unfortunately the website still didn't work.

Edit hosts file on Windows 7 » 1 Comment JE This is horribly bad information. Apache2 Virtual Host DNS looks ok but when I tray to run httpd I got this message :Starting httpd: [Thu Aug 07 22:33:44 2008] [error] (EAI 2)Name or service not known: Could not resolve acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage! This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.

Could Not Resolve Hostname Ignoring

Conclusion This happens due to DNS server not provided in /etc/hosts provided. navigate to these guys that's nothing to do with Ubuntu though, so i wouldn't think about blaming their documentation for a subtlety of an unrelated package they have no control over. Name Or Service Not Known: Ah00547: Could Not Resolve Host Name Very simple number line with points Is it permitted to not take Ph.D. Apache Failed To Resolve Server Name For Since the stuff I read didn't mention the issues I discovered, either it isn't there, or I haven't yet read the right stuff.

Thank You! My design skills are pretty weak, but I'm learning. how did you make these changes? Thanks in advance. Namevirtualhost *:80 Has No Virtualhosts

Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ equations with double absolute value proof Male header pins on Arduino Uno Limits at infinity by rationalizing Humans as batteries; how useful would they be? What's New? vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.

But when I tried to add virtual host configuration files under sites-available, they would only be visible if I used http://64.91.78.105/laxlinux or 105/rationaldruids or 105/primumnonnocere (first, do no harm -- I'm acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage! Most are just hobbies.

The message about the fully qualified domain name should not stop things working, but check that /etc/hosts has a line for 127.0.0.1 listing the names for your server eg: mine is

Post navigation How True Blogging is getting Nasty - The Not-To-Do BloggingTips For Dealing With Small Budget Clients And Increase Sales Leave a Reply Cancel reply Your email address will not Any help is welcome. Reboot the system now. [[email protected]~]# hostname server.redhat.com [[email protected]~]# dnsdomainname redhat.com [[email protected]~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=server.redhat.com [[email protected]~]# cat /etc/hosts 192.168.*.*  www1.redhat.com  server   # Added by Us 127.0.0.1    localhost.localdomain localhost ::1 server.redhat.com server   localhost6.localdomain6   Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

LinuxQuestions.org > Forums > Linux Forums > Linux - Server Apache2 under Ubuntu - Virtual Host error on restart User Name Remember Me? Proof of infinitely many prime numbers Folding Numbers Photoshop's color replacement tool changes to grey (instead of white) — how can I change a grey background to pure white? not a word I like to use. Michael MJWhiteDerm View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MJWhiteDerm 09-23-2007, 10:02 AM #6 MJWhiteDerm LQ Newbie Registered: Mar

So, I asked other people for advice, including on the ubuntu forums, and someone suggested using webmin, which I downloaded. Leave them as they originally where? Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. How to insert equation numbers with lstlisting?

These are the file contents. I'm not trying to be obtuse. Now when i add a domain in my user level of directadmin and i go to this domain only: Apache is functioning normally shows up. Can Homeowners insurance be cancelled for non-removal of tree debris?

I'm running Apache2 under Ubuntu 7.04, FeistyFawn. Browse other questions tagged apache-http-server virtual-host . Michael MJWhiteDerm View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MJWhiteDerm 09-23-2007, 02:02 PM #10 acid_kewpie Moderator Registered: Jun 2001 Michael MJWhiteDerm View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MJWhiteDerm 09-23-2007, 12:25 PM #8 acid_kewpie Moderator Registered: Jun 2001

I have addad a second domain to my admin user, user level. it's down to the machine not being able to find an fqdn for itself, if you run "hostname -f" you'll probaly only get "localhost" or "dave" or whatever your machine is Why aren't Muggles extinct? under /etc/apache2/sites-available I've create a dummy_site_1.conf dummy_site_1.conf ServerName local.dummy_site_1 ServerAdmin [email protected] DocumentRoot /var/www/dummy_site_1 ErrorLog /var/log/apache2/dummy_site_1__error.log TransferLog /var/log/apache2/dummy_site_1__access.log AllowOverride Options Limit None Options -Indexes FollowSymLinks Order deny,allow Allow

Let me know SeLLeRoNe - Andrea Iannucci DevOps Engineer - System Administrator If you need my support write me an E-Mail to [email protected] Reply With Quote 09-30-2011,06:07 AM #11 haringsrob View For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. The time now is 12:27 PM.