logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.




apache24 can not start at win10 X64

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
pandy



Joined: 15 Jan 2018
Posts: 3
Location: chinese

PostPosted: Mon 15 Jan '18 22:44    Post subject: apache24 can not start at win10 X64 Reply with quote

I have installed vc15 runtime.
my windows version is 10.0.16299.192
but i can't start httpd-2.4.29-Win64-VC15.

apache error log for this:
Code:

[Tue Jan 16 04:18:53.410023 2018] [mpm_winnt:notice] [pid 5608:tid 644] AH00455: Apache/2.4.29 (Win64) configured -- resuming normal operations
[Tue Jan 16 04:18:53.412025 2018] [mpm_winnt:notice] [pid 5608:tid 644] AH00456: Apache Lounge VC15 Server built: Nov  3 2017 11:12:00
[Tue Jan 16 04:18:53.412025 2018] [core:notice] [pid 5608:tid 644] AH00094: Command line: 'D:\\Apache24\\bin\\httpd.exe -d D:/Apache24'
[Tue Jan 16 04:18:53.467061 2018] [mpm_winnt:notice] [pid 5608:tid 644] AH00418: Parent: Created child process 2260
[Tue Jan 16 04:18:57.456629 2018] [mpm_winnt:crit] [pid 5608:tid 644] AH00419: master_main: create child process failed. Exiting.



Windows event log for this:
Code:
Faulting application name: httpd.exe, version: 2.4.29.0, time stamp: 0x59fc3e8b
Faulting module name: ucrtbase.DLL, version: 10.0.16299.125, time stamp: 0x70f70cc4
Exception code: 0xc0000409
Fault offset: 0x000000000006a478
Faulting process id: 0x8d4
Faulting application start time: 0x01d38e3e102953ca
Faulting application path: D:\Apache24\bin\httpd.exe
Faulting module path: C:\Windows\SYSTEM32\ucrtbase.DLL
Report Id: aa224f82-50de-4153-ab4d-c2a18206fcb3
Faulting package full name:
Faulting package-relative application ID:
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2638
Location: Hilversum, NL, EU

PostPosted: Tue 16 Jan '18 12:56    Post subject: Reply with quote

How do you try to start: as service or command line ?

Best to test with command line as Administrator and type : httpd.exe
Back to top
pandy



Joined: 15 Jan 2018
Posts: 3
Location: chinese

PostPosted: Tue 16 Jan '18 23:40    Post subject: Reply with quote

only as command "httpd.exe" it can work.
but the service can't start.
Back to top
pbhq



Joined: 17 Mar 2013
Posts: 26
Location: Germany

PostPosted: Wed 17 Jan '18 0:02    Post subject: Reply with quote

Then it should actually work if you start the Apache service with the same username (probably a rights issue).
Back to top
pandy



Joined: 15 Jan 2018
Posts: 3
Location: chinese

PostPosted: Wed 17 Jan '18 1:31    Post subject: Reply with quote

Then it should actually work if you start the Apache service with the same username (probably a rights issue).[/quote]

I login with "administrator",so cmd and service use the same user,but service have errors.
I use cmd "httpd -k -w start -n 'apache24'" is same problem.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2155
Location: Sun Diego, USA

PostPosted: Wed 17 Jan '18 20:50    Post subject: Reply with quote

pandy wrote:
I login with "administrator",so cmd and service use the same user but service have errors.
I use cmd "httpd -k -w start -n 'apache24'" is same problem.


Actually not quite. You have to be an Administrative user to install the service but that service runs under the user "SYSTEM."

So, if you have anything on a network drive, it will not work. This is about the only thing I can think of that would stop Apache from starting as the system user has free reign over the system it's on, just can't use network resources.

If the D drive is a mapped network drive, forget it.

If this doesn't apply to your case, start the service up with LogLevel debug and have a look through the log for any clues. Go all the way to LogLevel trace8 if need be.

I run Apache as user "Apache" which is a non-admin account and have gone in and adjusted permissions as needed.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1