View Single Post

  #5 (permalink)  
Old 09-17-2006
Kees Nuyt
 
Posts: n/a
Default Re: Apache does not run

On Sun, 17 Sep 2006 14:00:27 +0200, "Henriette van de Haar"
<newsgroup@arriweb.de> wrote:

>
>"Kees Nuyt" <k.nuyt@nospam.demon.nl> schrieb im Newsbeitrag
>news:6l6mg2118oi651mruv2qjh85844dv35mqu@dim53.dem on.nl...
>> On Fri, 15 Sep 2006 17:53:10 +0200, "Henriette van de Haar"
>> <newsgroup@arriweb.de> wrote:
>>
>>>Hi,
>>>
>>>on my pc my small apache personal server runs flawless.
>>>Now I installed it on my laptop with exactly the same configuration file.
>>>Everything is exactly the same - root directory, where my webs are, etc.
>>>etc. etc.
>>>And now apache just doesn't run. I start it - very shortly there is this
>>>dos
>>>box - and then: gone.
>>>
>>>Is there a possibility that xp or whatever shuts it down as an unknown
>>>enemy
>>>or so?
>>>I have norton security installed and stopped that to see what happens.
>>>But apache will not run. Error.log and access.log are empty.
>>>
>>>Can anybody help?

>>
>> I assume you start apache by clicking on some shortcut, or on
>> the program file. The "DOS box" will close as soon as the Apache
>> program stops, so you can't read any messages.
>> To diagnose the problem, start a command prompt with
>> menu: Start / Run , typing CMD in the textbox.
>>
>> Change to the drive letter where Apache is installed:
>> C:> D:
>>
>> Change into the Apache install directory (AKA ServerRoot):
>> D:> CD \programs\apache
>>
>> Launch the Apache program, keep the console window open:
>> D:\programs\Apache> bin\apache.exe -w
>>
>> Read any messages.
>> You can test your configuration httpd.conf with the -t
>> commandline option.
>>
>> D:\programs\Apache> bin\apache.exe -t
>>
>> For details about commandline options see also:
>> http://httpd.apache.org/docs/2.2/programs/httpd.html
>> Hope this helps,

>
>
>Hoi Kees,
>
>meanwhile I determined that my laptop did something (whatever?) to prevent
>the service "Apache2" from being installed. It just did not appear in the
>list of services - and I did install apache a few more times (stopping virus
>protection and other maybe disturbing programs). It just didn't install this
>service.


Weird. Software can be quite stubborn ;)

>I then deinstalled everything and downloaded + installed apache 2.2.3. And
>now, een groot wonder, the service apache2.2 was installed and could be run!
>A thing I will never understand as the earlier version runs flawless on my
>pc which has the same Windows XP, the same antivirus program etc. etc.


Hard to explain indeed, but anyway, I'm glad it works for you
now.

>The problem I have now is installing my virtual hosts -
>for this I started a new thread.
>
>Hartelijk bedankt voor de moeite!!


No problem, my pleasure. Veel geluk!

>Best Regards,
>Henriette, Hamburg/Germany