• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 956
  • Last Modified:

appserv not working on vista

I thought my mysql wasn't working but it turns out to be my apache.  The page I was looking at had no php.  When I went to phpinfo, I could see php code in the source.  I had iis installed but believe I uninstalled it (I am thinking something is holding onto port 80).  

Here is the error log:
[Thu Apr 16 00:16:36 2009] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Apr 16 00:16:36 2009] [notice] Server built: Jan  9 2007 23:17:20
[Thu Apr 16 00:16:36 2009] [notice] Parent: Created child process 5212
[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Child process is running
[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Acquired the start mutex.
[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Starting 64 worker threads.
[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Starting thread to listen on port 80.
[Thu Apr 16 00:16:57 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 16 00:16:57 2009] [notice] Child 5212: Exit event signaled. Child process is ending.
[Thu Apr 16 00:16:58 2009] [notice] Child 5212: Released the start mutex
[Thu Apr 16 00:16:59 2009] [notice] Child 5212: Waiting for 64 worker threads to exit.
[Thu Apr 16 00:16:59 2009] [notice] Child 5212: All worker threads have exited.
[Thu Apr 16 00:16:59 2009] [notice] Child 5212: Child process is exiting
[Thu Apr 16 00:16:59 2009] [notice] Parent: Child process exited successfully.

Open in new window

  • 3
  • 2
1 Solution
Chris GralikeSpecialistCommented:
This is a normal "shutdown" command in Apache. Something is triggering a shutdown after "~20" Secs. Please edit your PHP.ini to show startup errors, and please consult your Windows Application Log and let us know if anything shows up in those logs.
jackjohnson44Author Commented:
Thanks, I think the problem is that something is using port 80.  How do I check?

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs
Press any key to continue . . .
Chris GralikeSpecialistCommented:
You can verify by using the netstat command. This command should work on both windows and linux.

If it is a Windows box you might want to do something like,

CD \
netstat -noab > used_ports.txt
edit the file C:\used_ports.txt to look at the results

The results should look something like the attached code.

Look at the Listening Entries, and use the PID in the process explorer to identify the actual process.
Chris GralikeSpecialistCommented:
Woeps, the attached code :-/

Active Connections
  Proto  Local Address   Foreign Address   State           PID
  TCP         LISTENING       1236
  TCP        LISTENING       4
  TCP        LISTENING       4
  TCP        LISTENING       2224

Open in new window

jackjohnson44Author Commented:
Thanks, I did that, and under the local host with port 80, it says
  TCP                 LISTENING       288

That PID turns out to be Apache 2.2

Is there a way to tell what directory this apache executable is coming from?

I think this is remnants of another php/mysql thing I tried installing but did not work.  I uninstalled it, but I think it is still hanging around.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now