Author |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Sat 11 Aug '12 20:21 Post subject: installation errors 2 |
|
|
I'm trying to install Apache
When I type httpd.exe
the cursor drops to the next line and nothing happens.
I use contol c to release it.
What should I do?
Thanks. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 11 Aug '12 22:10 Post subject: |
|
|
before hitting control+c type http://localhost in your browser. Apache doesn't say anything when you start it unless there is a problem (like it did in your prior thread) |
|
Back to top |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Sat 11 Aug '12 23:36 Post subject: it doesn't work |
|
|
I tried what you suggested and it still doesn't work.
should I have to install Apache as a service after?
ie should I have to say httpd.exe -k install and
httpd.exe -k start ? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 12 Aug '12 5:18 Post subject: |
|
|
You should install and run as a service yes, but just starting from the command line it should still work. Apache doesn't say anything normally when started from the command line... it just sits there and blinks at you.
I am curious however and should have asked earlier, did you correct the problem in your first post, about the duplicate socket. I assumed you did but if not then that does need to be cleared up. |
|
Back to top |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Sun 12 Aug '12 23:02 Post subject: |
|
|
Thank you very much for your interest in my problem.
I cleared the problem in my previous post about duplicate sockets.
Now all it does is sit there. I tried localhost in my browser before hitting control+c. And it still doesn't work.
I entered "httpd.exe" and then after that "httpd.exe -k install" and "httpd.exe -k start". I also double clicked ApacheMonitor.exe.
Despite doing all that it still does not work!
Thank you. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 12 Aug '12 23:50 Post subject: |
|
|
well .. try http://127.0.0.1
If it is just blinking at you, and there are no errors in the error log, then it should be working. Well, you may have to allow the ports through the windows firewall. The windows firewall should ask the first time you start apache, unless it was started as a service first. |
|
Back to top |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Mon 13 Aug '12 0:25 Post subject: |
|
|
I have allowed it through the firewall.
The error log has this in it:
[Sun Aug 12 16:18:57.943959 2012] [mpm_winnt:warn] [pid 3536:tid 740] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sun Aug 12 16:19:02.577167 2012] [mpm_winnt:notice] [pid 1780:tid 180] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 12 16:19:04.605171 2012] [mpm_winnt:notice] [pid 3536:tid 180] AH00364: Child: All worker threads have exited.
[Sun Aug 12 16:19:04.620771 2012] [mpm_winnt:notice] [pid 1780:tid 180] AH00430: Parent: Child process exited successfully.
Thank you. |
|
Back to top |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Mon 13 Aug '12 3:47 Post subject: error log |
|
|
What should the ServerName be?
The full enteries in the error log are as follows:
[Sun Aug 12 19:37:40.962264 2012] [mpm_winnt:notice] [pid 4132:tid 412] AH00455: Apache/2.4.2 (Win64) configured -- resuming normal operations
[Sun Aug 12 19:37:40.962264 2012] [mpm_winnt:notice] [pid 4132:tid 412] AH00456: Server built: May 13 2012 19:54:49
[Sun Aug 12 19:37:40.962264 2012] [core:notice] [pid 4132:tid 412] AH00094: Command line: 'httpd -d C:/Apache24'
[Sun Aug 12 19:37:40.962264 2012] [mpm_winnt:notice] [pid 4132:tid 412] AH00418: Parent: Created child process 6076
Apache server shutdown initiated...
pm_winnt:notice] [pid 6076:tid 428] AH00354: Child: Starting 64 worker threads.
[Sun Aug 12 19:39:18.110034 2012] [mpm_winnt:warn] [pid 6076:tid 1004] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sun Aug 12 19:40:16.282536 2012] [mpm_winnt:notice] [pid 4132:tid 412] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 12 19:40:18.310540 2012] [mpm_winnt:notice] [pid 6076:tid 428] AH00364: Child: All worker threads have exited.
[Sun Aug 12 19:40:18.326140 2012] [mpm_winnt:notice] [pid 4132:tid 412] AH00430: Parent: Child process exited successfully.
Thank you. |
|
Back to top |
|
mkarmali
Joined: 09 Aug 2012 Posts: 13 Location: Canada, Edmonton
|
Posted: Mon 13 Aug '12 11:47 Post subject: |
|
|
Thanks I got it to work!
my ServerName was "localhost:80" but I changed it to just "localhost".
Thanks once again! |
|
Back to top |
|