 |
|
 |
|
Next: change mysql's user with phpmyadmin
|
| Author |
Message |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 1) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: no localhost Archived from groups: alt>apache>configuration (more info?)
|
|
|
Hi-
XAMPP worked like a dream for me for a long time, but now suddenly
it's not.
Well, actually it seems to be running, but trying to load a
localhost/xxx.html page just hangs forever, as does hitting the ADMIN
button from the XAMPP control panel.
I went so far as to save everything out of htdocs to a temp location,
wipe out XAMPP and download and install the latest version, but the
same thing keeps happening.
I can't think of anything that I've installed recently that would make
XAMPP quit working.
If anyone has any ideas, I would be most grateful.
(I also have UNIFORM SERVER available, but it hangs as well, so I'm
thinking it is not XAMPP itself but rather something in my system).
Grant >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2007 Posts: 88
|
(Msg. 2) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Apr, 21:12, finbogey <nos....DeleteThis@nospam.com> wrote:
> On Sun, 22 Apr 2007 20:58:34 +0200, Davide Bianchi
>
> <davideyeahs....DeleteThis@onlyforfun.net> wrote:
> >On 2007-04-22, finbogey <nos....DeleteThis@nospam.com> wrote:
> >> telnet how?
>
> >telnet localhost 80
>
> >will try to open a connection to port 80 (http) if you get the
> >connection a request like GET / HTTP/10 (followe by two 'return')
> >should bring on a response. If you don't even get a connection,
> >then there is something between you and the server.
>
> The telnet localhost seems to connect (from a cmd window). When I type
> in
> GET / HTTP/10 (followe by two 'return')
>
> it doesn't echo the characters on the screen. I hit return twice, but
> nothing happens, no reponse.
>
> Grant
>
>
>
> >Davide
GET / HTTP/1.0
and whats the IP, is apache bound to all IPs, or just one that might
have changed? what does the eventvwr say in the applications log? >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2007 Posts: 88
|
(Msg. 3) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Apr, 23:06, finbogey <nos....DeleteThis@nospam.com> wrote:
> On 22 Apr 2007 14:34:42 -0700, shimmyshack <matt.fa....DeleteThis@gmail.com>
> wrote:
>
>
>
> >On 22 Apr, 21:12, finbogey <nos....DeleteThis@nospam.com> wrote:
> >> On Sun, 22 Apr 2007 20:58:34 +0200, Davide Bianchi
>
> >> <davideyeahs....DeleteThis@onlyforfun.net> wrote:
> >> >On 2007-04-22, finbogey <nos....DeleteThis@nospam.com> wrote:
> >> >> telnet how?
>
> >> >telnet localhost 80
>
> >> >will try to open a connection to port 80 (http) if you get the
> >> >connection a request like GET / HTTP/10 (followe by two 'return')
> >> >should bring on a response. If you don't even get a connection,
> >> >then there is something between you and the server.
>
> >> The telnet localhost seems to connect (from a cmd window). When I type
> >> in
> >> GET / HTTP/10 (followe by two 'return')
>
> >> it doesn't echo the characters on the screen. I hit return twice, but
> >> nothing happens, no reponse.
>
> >> Grant
>
> >> >Davide
>
> >GET / HTTP/1.0
>
> >and whats the IP, is apache bound to all IPs, or just one that might
> >have changed? what does the eventvwr say in the applications log?
>
> Yes, the IP did recently change. While I''m nominally on a dymanic IP
> from my ISP, it hadn't changed in over a year, but suddenly did a few
> days ago.
>
> How do I bind Apache to the new IP (or all IPs, just to be safe, if
> that makes more sense)? eventvwr doesn't say much about apache when I
> start it or stop it or try to load a page. There were some errors from
> earlier today, but I think it was when I was re-installing it, or
> perhaps when I was monkeying around with a different installation.
>
> Grant
Usually apache binds to all IPs by default, only if youve changed the
config will it not do, the line to look out for is:
Listen * or Listen *:80
If you have a router whose IP has changed, this wont afffect the IP of
the machine on which apache is running, however if you connect using a
usb modem, the IP of the machine will probably be the same as the new
Ip from your ISP.
This wont affect apache if it is set up to listen on all IPs, and as
you say that the trouble is with localhost, I think more is going on
here, as localhost points permanently to 127.0.0.1 regardless of any
other IP changes.
Can you get a response from
telnet localhost 80
GET / HTTP/1.1
host: localhost
or telnet 127.0.0.1 80
GET / HTTP/1.1
host: localhost
(remember the two returns afterwards - and make no typos!)
you say you get a black window with no characters appearing on the
screen, this suggests that apache is connected, but that your request
is not making it, or apache is not (or is prevented from) responding
the fact that you say there is nothing really in the event viewer or
in the error log means that we cant get to the root of the problem, it
could be a network card issue, a firewall issue (turned on by auto
update or whatever), your machine could have a trojan etc... it could
just be a scripting issue, although this is unlikely unless the pages
you request all contain non finishing scripts! Does apache max the CPU
when you start it up, or request a page?
Have you used wireshark to see what gets returned as you connect to
apache via the command line. Have you tried using a proxy like
fiddlertool when you request a page via a browser? These tools can be
helpful in showing what gets returned from the server, repsonse
headers/body, or 'nothing'. Have you recently installed IE7? - some
report this messes up some tcp applications.
When you reinstalled xampp, did you use the default httpd.conf or did
you keep the old file in place, ie did you move the whole of your
xampp install not just htdocs and a few others, have you made any
config changes that you have ruled out?
do you get any Tcip warnings in the system log within eventvwr? Any
hardware faults there? >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2003 Posts: 2994
|
(Msg. 4) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 5) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 22 Apr 2007 19:57:33 +0200, Davide Bianchi
<davideyeahsure RemoveThis @onlyforfun.net> wrote:
>On 2007-04-22, finbogey <nospam RemoveThis @nospam.com> wrote:
>> XAMPP worked like a dream for me for a long time, but now suddenly
>> it's not.
>
>And what happened between "long time" and "now"?
That's the thing, I don't recall installing anything new that would
disrupt it.
>
>> If anyone has any ideas, I would be most grateful.
>
>The usual things, check if you have a firewall that block the connections
>try to connect using telnet and see if you get an answer, check the logs..
telnet how? what would be the address? (sorry, I'm a noob with apache,
hence using XAMPP rather than installing all the pieces one by one.)
tenet or ssh?
fin
>
>Davide >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2003 Posts: 2994
|
(Msg. 6) Posted: Sun Apr 22, 2007 3:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2007 Posts: 88
|
(Msg. 7) Posted: Sun Apr 22, 2007 4:23 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Apr, 23:45, finbogey <nos... DeleteThis @nospam.com> wrote:
> On Sun, 22 Apr 2007 22:06:06 GMT, finbogey <nos... DeleteThis @nospam.com> wrote:
> >On 22 Apr 2007 14:34:42 -0700, shimmyshack <matt.fa... DeleteThis @gmail.com>
> >wrote:
>
> >>and whats the IP, is apache bound to all IPs, or just one that might
> >>have changed? what does the eventvwr say in the applications log?
>
> >Yes, the IP did recently change. While I''m nominally on a dymanic IP
> >from my ISP, it hadn't changed in over a year, but suddenly did a few
> >days ago.
>
> >How do I bind Apache to the new IP (or all IPs, just to be safe, if
> >that makes more sense)? eventvwr doesn't say much about apache when I
> >start it or stop it or try to load a page. There were some errors from
> >earlier today, but I think it was when I was re-installing it, or
> >perhaps when I was monkeying around with a different installation.
>
> Hmmm...ended up adding Win32DisableAcceptEx as the first line of
> httpd.conf and that got me going again.
>
> I got the info to do it from reading the apahe error log.
>
> BTW, the error.log had grown to 550 MB! There must be a conf setting
> to keep it to a reasonable size. I'll look for that myself if no one
> else chimes in right away.
>
> Grant
yeah do you have unix tools for windows, you can download them and use
tail -n 100 error.log
to read the last 100 or whatever lines of the log,
I must admit that i thought that with xampp win32disableacceptex was
already in your config loaded with the nt mpm module (httpd-mpm.conf),
did you add this in the main httpd.conf file? I dont actually use this
directive (win xp pro sp2) as it doesnt play nice on my machine when
serving large files, mp3s etc... and causes the virtual mem size for
the apache child to grow unacceptably large, i hope you have more luck
with it! It certainly doesnt play nice with mod_bw fyi, so be careful
of assuming things will be fine from now on.
For future reference you might like to try the builds over on
apachelounge as they are compiled for windows by vs - i could be wrong
(please let me know) but i dont think this is the case for the windows
build of apache on the apache site. I have found apachelounge builds
to be very very good, as well as others, compared to the exes/modules
one finds on php.net and apache.org >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 8) Posted: Sun Apr 22, 2007 5:59 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 22 Apr 2007 20:58:34 +0200, Davide Bianchi
<davideyeahsure.DeleteThis@onlyforfun.net> wrote:
>On 2007-04-22, finbogey <nospam.DeleteThis@nospam.com> wrote:
>> telnet how?
>
>telnet localhost 80
>
>will try to open a connection to port 80 (http) if you get the
>connection a request like GET / HTTP/10 (followe by two 'return')
>should bring on a response. If you don't even get a connection,
>then there is something between you and the server.
The telnet localhost seems to connect (from a cmd window). When I type
in
GET / HTTP/10 (followe by two 'return')
it doesn't echo the characters on the screen. I hit return twice, but
nothing happens, no reponse.
Grant
>
>Davide >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 9) Posted: Sun Apr 22, 2007 8:00 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Apr 2007 14:34:42 -0700, shimmyshack <matt.farey RemoveThis @gmail.com>
wrote:
>On 22 Apr, 21:12, finbogey <nos... RemoveThis @nospam.com> wrote:
>> On Sun, 22 Apr 2007 20:58:34 +0200, Davide Bianchi
>>
>> <davideyeahs... RemoveThis @onlyforfun.net> wrote:
>> >On 2007-04-22, finbogey <nos... RemoveThis @nospam.com> wrote:
>> >> telnet how?
>>
>> >telnet localhost 80
>>
>> >will try to open a connection to port 80 (http) if you get the
>> >connection a request like GET / HTTP/10 (followe by two 'return')
>> >should bring on a response. If you don't even get a connection,
>> >then there is something between you and the server.
>>
>> The telnet localhost seems to connect (from a cmd window). When I type
>> in
>> GET / HTTP/10 (followe by two 'return')
>>
>> it doesn't echo the characters on the screen. I hit return twice, but
>> nothing happens, no reponse.
>>
>> Grant
>>
>>
>>
>> >Davide
>
>GET / HTTP/1.0
>
>and whats the IP, is apache bound to all IPs, or just one that might
>have changed? what does the eventvwr say in the applications log?
Yes, the IP did recently change. While I''m nominally on a dymanic IP
from my ISP, it hadn't changed in over a year, but suddenly did a few
days ago.
How do I bind Apache to the new IP (or all IPs, just to be safe, if
that makes more sense)? eventvwr doesn't say much about apache when I
start it or stop it or try to load a page. There were some errors from
earlier today, but I think it was when I was re-installing it, or
perhaps when I was monkeying around with a different installation.
Grant >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 10) Posted: Sun Apr 22, 2007 8:00 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 22 Apr 2007 22:06:06 GMT, finbogey <nospam DeleteThis @nospam.com> wrote:
>On 22 Apr 2007 14:34:42 -0700, shimmyshack <matt.farey DeleteThis @gmail.com>
>wrote:
>
>>
>>and whats the IP, is apache bound to all IPs, or just one that might
>>have changed? what does the eventvwr say in the applications log?
>
>Yes, the IP did recently change. While I''m nominally on a dymanic IP
>from my ISP, it hadn't changed in over a year, but suddenly did a few
>days ago.
>
>How do I bind Apache to the new IP (or all IPs, just to be safe, if
>that makes more sense)? eventvwr doesn't say much about apache when I
>start it or stop it or try to load a page. There were some errors from
>earlier today, but I think it was when I was re-installing it, or
>perhaps when I was monkeying around with a different installation.
>
Hmmm...ended up adding Win32DisableAcceptEx as the first line of
httpd.conf and that got me going again.
I got the info to do it from reading the apahe error log.
BTW, the error.log had grown to 550 MB! There must be a conf setting
to keep it to a reasonable size. I'll look for that myself if no one
else chimes in right away.
Grant >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2007 Posts: 6
|
(Msg. 11) Posted: Sun Apr 22, 2007 8:57 pm
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Apr 2007 16:23:05 -0700, shimmyshack <matt.farey.RemoveThis@gmail.com>
wrote:
>>
>> Hmmm...ended up adding Win32DisableAcceptEx as the first line of
>> httpd.conf and that got me going again.
>>
>> I got the info to do it from reading the apahe error log.
>>
>> BTW, the error.log had grown to 550 MB! There must be a conf setting
>> to keep it to a reasonable size. I'll look for that myself if no one
>> else chimes in right away.
>>
>> Grant
>
>yeah do you have unix tools for windows, you can download them and use
>tail -n 100 error.log
>to read the last 100 or whatever lines of the log,
>
>I must admit that i thought that with xampp win32disableacceptex was
>already in your config loaded with the nt mpm module (httpd-mpm.conf),
>did you add this in the main httpd.conf file? I dont actually use this
>directive (win xp pro sp2) as it doesnt play nice on my machine when
>serving large files, mp3s etc... and causes the virtual mem size for
>the apache child to grow unacceptably large, i hope you have more luck
>with it! It certainly doesnt play nice with mod_bw fyi, so be careful
>of assuming things will be fine from now on.
>For future reference you might like to try the builds over on
>apachelounge as they are compiled for windows by vs - i could be wrong
>(please let me know) but i dont think this is the case for the windows
>build of apache on the apache site. I have found apachelounge builds
>to be very very good, as well as others, compared to the exes/modules
>one finds on php.net and apache.org
Thanks for all the info. I'm still not sure what went on. The only
real change between workinga nd not working was a change in my IP.
I'll keep an eye on it with this new config. I only really use it to
work on php pages locally before uploading them, so moving large files
shouldn't be a problem.
Grant >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2007 Posts: 88
|
(Msg. 12) Posted: Mon Apr 23, 2007 2:18 am
Post subject: Re: no localhost [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 23 Apr, 01:21, finbogey <nos... DeleteThis @nospam.com> wrote:
> On 22 Apr 2007 16:23:05 -0700, shimmyshack <matt.fa... DeleteThis @gmail.com>
> wrote:
>
>
>
>
>
> >> Hmmm...ended up adding Win32DisableAcceptEx as the first line of
> >> httpd.conf and that got me going again.
>
> >> I got the info to do it from reading the apahe error log.
>
> >> BTW, the error.log had grown to 550 MB! There must be a conf setting
> >> to keep it to a reasonable size. I'll look for that myself if no one
> >> else chimes in right away.
>
> >> Grant
>
> >yeah do you have unix tools for windows, you can download them and use
> >tail -n 100 error.log
> >to read the last 100 or whatever lines of the log,
>
> >I must admit that i thought that with xampp win32disableacceptex was
> >already in your config loaded with the nt mpm module (httpd-mpm.conf),
> >did you add this in the main httpd.conf file? I dont actually use this
> >directive (win xp pro sp2) as it doesnt play nice on my machine when
> >serving large files, mp3s etc... and causes the virtual mem size for
> >the apache child to grow unacceptably large, i hope you have more luck
> >with it! It certainly doesnt play nice with mod_bw fyi, so be careful
> >of assuming things will be fine from now on.
> >For future reference you might like to try the builds over on
> >apachelounge as they are compiled for windows by vs - i could be wrong
> >(please let me know) but i dont think this is the case for the windows
> >build of apache on the apache site. I have found apachelounge builds
> >to be very very good, as well as others, compared to the exes/modules
> >one finds on php.net and apache.org
>
> Thanks for all the info. I'm still not sure what went on. The only
> real change between workinga nd not working was a change in my IP.
>
> I'll keep an eye on it with this new config. I only really use it to
> work on php pages locally before uploading them, so moving large files
> shouldn't be a problem.
>
> Grant
if you get a lot of these lines in the error log:
[warn] (OS 31)A device attached to the system is not functioning. :
winnt_accept: Asynchronous AcceptEx failed.
this is normally the time to consider using the directive you set. I
do get these lines but not a lot of them, so im safe for now. This
kind of issue, damned if you do damned if you dont is the only serious
issue I see with apache on windows, and the only reason why IMHO its
best not to use WA combination for anything serious. Having said that,
the xp pro sp2 apache 2.2.4 stays up for 700 hours with no trouble, in
fact the uptime is only dependent on the OSs ability to manage memory
for all the processes running, Ive never had a situation where apache
hangs or 'goes wrong' on windows inexplicably, but I do use very
conservative hardware, rather than a cutting edge laptop or crazy
modded workstation! >> Stay informed about: no localhost |
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2003 Posts: 2994
|
(Msg. 13) Posted: Mon Apr 23, 2007 3:56 am
Post subject: Re: no localhost [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
| Related Topics: | localhost - Hello, I have loaded Apache 2.0 on XP. Configuration files look ok but when I go to http://localhost, the page is not found. Again, I have checked all of the entries in HTTP.conf and everything looks OK. Could it be browser settings ? Thank you for..
how to only allow access for localhost - Hi, Is it possible to set up Apache to only allow localhost access to my web files so no one else can gain access? Reason is I am developing some web pages but my computer is always online so I dont want anyone being able to find a web site here when..
localhost wont run - hi all, have a great problem with testing apache2 I use a regularly XP-Home Configuration. A Firewall "ZoneAlarm" is running. The XP's own Internet Firewall is active as well. After i edit the file hosts and added "127.0.0.1 localhost...
Testing php on localhost - I configured apache/php/mysql on win2000 for testing on localhost few mounts ago, everything was working fine, I didnt have internet conection then and few days ago I started useing internet over cable network on the same comp. Since then I can no longer...
mod_rewrite localhost Win XP Pro - Hi all I'm trying to get mod_rewrite running on Apache 2.0.48 running as localhost on Win XP Pro (SP2), but it's not wanting to work. I've uncommented LoadModule rewrite_module modules/mod_rewrite.so and added a virtual host to my httpd.conf file as... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|