Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2007, 05:03 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Exclamation [Apache] localhost does not reply

Hi! I had installed previously apache via apt-get and had it running but suddenly localhost got "inactive". I re-installed and uninstalled and finally decided to try Xampp(packed installation with Apache, PHP, MySQL, etc) thinking I had maybe screwed up something.

After installing xampp I launch it and it starts fine:
root@kubuntu:~/opt# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.5a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Another MySQL daemon is already running.
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
But I cant reach localhost, with this error msg:
root@kubuntu:~# tail -2 /opt/lampp/logs/error_log
[Sun Feb 18 15:01:10 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Feb 18 15:01:10 2007] [notice] Apache/2.2.3 (Unix) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d PHP/5.2.0 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
My etc/hosts:
Code:       localhost

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts kubuntu # added by Apache Friends XAMPP

I can't ping localhost also =/

I searched and read things about editing /etc/hosts and so but It does not work for me.

Any help please?

Thank you
Old 02-18-2007, 06:04 PM   #2
Registered: Apr 2003
Location: Hastings, Hawkes Bay, NZ
Distribution: Ubuntu Gutsy Gibbon
Posts: 53

Rep: Reputation: 15
try sudo ifconfig lo0 up
Old 02-18-2007, 08:36 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
omg, didn't imagine that

Thank you a lot man


apache, localhost

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 03:23 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
localhost on apache Xing Linux - Software 5 09-28-2003 03:38 AM
Apache and Localhost ifm Linux - Software 2 06-13-2002 10:14 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration