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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Can't start my Apache.
Author
skper12



Joined: 26 Jan 2020
Posts: 6
Location: Canada

PostPosted: Tue 11 Feb '20 7:29    Post subject: Can't start my Apache. Reply with quote

Whenever I start Apache, this is the error I get:
The requested operation has failed! I never got this error message before until recently.
I also checked my logs and here's the message:


[Sun Feb 09 23:33:51.523111 2020] [mpm_winnt:notice] [pid 3108:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:32:28
[Sun Feb 09 23:33:51.523111 2020] [core:notice] [pid 3108:tid 524] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Sun Feb 09 23:33:51.538735 2020] [mpm_winnt:notice] [pid 3108:tid 524] AH00418: Parent: Created child process 6384
Apache server shutdown initiated...
pm_winnt:notice] [pid 6384:tid 576] AH00354: Child: Starting 64 worker threads.
[Sun Feb 09 23:34:50.768250 2020] [mpm_winnt:notice] [pid 3108:tid 524] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Feb 09 23:34:52.799349 2020] [mpm_winnt:notice] [pid 6384:tid 576] AH00364: Child: All worker threads have exited.
[Sun Feb 09 23:34:52.830606 2020] [mpm_winnt:notice] [pid 3108:tid 524] AH00430: Parent: Child process 6384 exited successfully.
[Mon Feb 10 23:00:14.509353 2020] [mpm_winnt:notice] [pid 4876:tid 560] AH00455: Apache/2.4.41 (Win32) configured -- resuming normal operations
[Mon Feb 10 23:00:14.509353 2020] [mpm_winnt:notice] [pid 4876:tid 560] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:32:28
[Mon Feb 10 23:00:14.509353 2020] [core:notice] [pid 4876:tid 560] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Mon Feb 10 23:00:14.540638 2020] [mpm_winnt:notice] [pid 4876:tid 560] AH00418: Parent: Created child process 7008
Apache server shutdown initiated...
pm_winnt:notice] [pid 7008:tid 552] AH00354: Child: Starting 64 worker threads.
[Mon Feb 10 23:00:29.128258 2020] [mpm_winnt:notice] [pid 4876:tid 560] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Feb 10 23:00:31.150565 2020] [mpm_winnt:notice] [pid 7008:tid 552] AH00364: Child: All worker threads have exited.
[Mon Feb 10 23:00:31.181819 2020] [mpm_winnt:notice] [pid 4876:tid 560] AH00430: Parent: Child process 7008 exited successfully.

Thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6699
Location: Germany, Next to Hamburg

PostPosted: Tue 11 Feb '20 10:16    Post subject: Reply with quote

Please try

Code:

C:\Apache24\bin\httpd.exe -S
Back to top
skper12



Joined: 26 Jan 2020
Posts: 6
Location: Canada

PostPosted: Wed 12 Feb '20 4:05    Post subject: Reply with quote

James Blond wrote:
Please try

Code:

C:\Apache24\bin\httpd.exe -S


I did the command you gave me, and here's the reply:

C:\Apache24\bin>httpd.exe -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server www.skper.ca (C:/Apache24/conf/httpd.conf:539)
port 80 namevhost www.skper.ca (C:/Apache24/conf/httpd.conf:539)
alias skper.ca
port 80 namevhost www.epephotos.com (C:/Apache24/conf/httpd.conf:545)
alias epephotos.com
port 80 namevhost www.jesrearth.com (C:/Apache24/conf/httpd.conf:552)
alias jesrearth.com
port 80 namevhost www.joypsychotherapy.ca (C:/Apache24/conf/httpd.conf:558)
alias joypsychotherapy.ca
ServerRoot: "C:/Apache24"
Main DocumentRoot: "C:/www"
Main ErrorLog: "C:/Apache24/logs/error.log"
Mutex default: dir="C:/Apache24/logs/" mechanism=default
PidFile: "C:/Apache24/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: SRVROOT=c:/Apache24

James Blond, forgive me, but what does this message mean?
Still can't run Apache server. Confused
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6699
Location: Germany, Next to Hamburg

PostPosted: Wed 12 Feb '20 9:23    Post subject: Reply with quote

It might be that a port is blocked by another program

run cmd.exe as adminstrator and

Code:

netstat -ano | findstr /R 0.0:80 && netstat -ano | findstr /R 0.0:443
Back to top


Reply to topic   Topic: Can't start my Apache. View previous topic :: View next topic
Post new topic   Forum Index -> Apache