Apache does not run

This is a discussion on Apache does not run within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, on my pc my small apache personal server runs flawless. Now I installed it on my laptop with exactly ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-15-2006
Henriette van de Haar
 
Posts: n/a
Default Apache does not run

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?

Best Regards,
Henriette, Hamburg/Germany

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

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

>Best Regards,
>Henriette, Hamburg/Germany


Hope this helps,
  #3 (permalink)  
Old 09-15-2006
Henriette van de Haar
 
Posts: n/a
Default Re: Apache does not run


"Kees Nuyt" <k.nuyt@nospam.demon.nl> schrieb im Newsbeitrag
news:6l6mg2118oi651mruv2qjh85844dv35mqu@dim53.demo n.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



Meanwhile I can read:
"File cannot be found. No installed service named apache2"

My apache is in c:\programs\apache group\apache2\bin\Apache.exe
My system: Win XP
My apache version: "apache_2.0.52-win32-x86-no_ssl.msi"

Best Regards, Henriette


>
> For details about commandline options see also:
> http://httpd.apache.org/docs/2.2/programs/httpd.html
>
>>Best Regards,
>>Henriette, Hamburg/Germany

>
> Hope this helps,


  #4 (permalink)  
Old 09-17-2006
Henriette van de Haar
 
Posts: n/a
Default Re: Apache does not run


"Kees Nuyt" <k.nuyt@nospam.demon.nl> schrieb im Newsbeitrag
news:6l6mg2118oi651mruv2qjh85844dv35mqu@dim53.demo n.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.

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.

The problem I have now is installing my virtual hosts - for this I started a
new thread.

Hartelijk bedankt voor de moeite!!

Best Regards,
Henriette, Hamburg/Germany

  #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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0