LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   [Apache] localhost does not reply (https://www.linuxquestions.org/questions/linux-networking-3/%5Bapache%5D-localhost-does-not-reply-530220/)

Telemako 02-18-2007 05:03 PM

[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

combatwombat 02-18-2007 06:04 PM

try sudo ifconfig lo0 up

Telemako 02-18-2007 08:36 PM

omg, didn't imagine that

Thank you a lot man


All times are GMT -5. The time now is 02:56 AM.