LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-18-2007, 06:03 PM   #1
Telemako
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:
Code:
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:
Code:
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:
127.0.0.1       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
127.0.0.1 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, 07:04 PM   #2
combatwombat
Member
 
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, 09:36 PM   #3
Telemako
LQ Newbie
 
Registered: Nov 2005
Posts: 4

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

Thank you a lot man
 
  


Reply

Tags
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 01:41 AM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 04:23 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 07:43 PM
localhost on apache Xing Linux - Software 5 09-28-2003 04:38 AM
Apache and Localhost ifm Linux - Software 2 06-13-2002 11:14 AM


All times are GMT -5. The time now is 09:57 PM.

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