468,457 Members | 1,788 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

Apache access times out

2
Ok well i'm still very new to apache, mysql, and php.. let me explain everything i have set up..

I have installed Appserv, for those of you who are unfamiliar with it.. it installs mysql, php, and apache all in 1 setup..

Ok.. from here.. I have a folder in my local drive appserv within it.. php, apache, mysql, and www. www holds everything in my index which is what i am directed to when i go to http://localhost

Everything seems to be working fine on my machine.. the problem is when i send people to my ip, ex. "http://12.181.235.120" they come up with request timed out..

I have no firewalls.. I do not have windows firewall..

i'm running windows XP Pro. (SP1)

here is some information that may be helpful.. I'm not sure.. still new like i said.. but if it helps someone then great.


a bit of my apache error log::::


----------------------------------------------

PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Child process is running
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Acquired the start mutex.
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Starting 250 worker threads.
[Sun Nov 12 15:26:37 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:27:19 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:27:31 2006] [error] [client 127.0.0.1] script not found or unable to stat: C:/AppServ/cgi-bin, referer: http://127.0.0.1/
[Sun Nov 12 15:37:57 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:50:46 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:50:46 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:50:46 2006] [notice] Parent: Created child process 164
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Child process is running
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Acquired the start mutex.
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Starting 250 worker threads.
[Sun Nov 12 15:57:25 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:57:25 2006] [notice] Child 164: Exit event signaled. Child process is ending.
[Sun Nov 12 15:57:26 2006] [notice] Child 164: Released the start mutex
[Sun Nov 12 15:57:27 2006] [notice] Child 164: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:57:27 2006] [notice] Child 164: All worker threads have exited.
[Sun Nov 12 15:57:27 2006] [notice] Child 164: Child process is exiting
[Sun Nov 12 15:57:27 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:57:30 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:57:30 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:57:30 2006] [notice] Parent: Created child process 3528
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Child process is running
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Acquired the start mutex.
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Starting 250 worker threads.
[Sun Nov 12 15:59:02 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:59:02 2006] [notice] Child 3528: Exit event signaled. Child process is ending.
[Sun Nov 12 15:59:03 2006] [notice] Child 3528: Released the start mutex
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: All worker threads have exited.
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: Child process is exiting
[Sun Nov 12 15:59:04 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:59:07 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:59:07 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:59:07 2006] [notice] Parent: Created child process 568
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Child process is running
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Acquired the start mutex.
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Starting 250 worker threads.
[Sun Nov 12 15:59:16 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:59:16 2006] [notice] Child 568: Exit event signaled. Child process is ending.
[Sun Nov 12 15:59:17 2006] [notice] Child 568: Released the start mutex
[Sun Nov 12 15:59:18 2006] [notice] Child 568: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:59:18 2006] [notice] Child 568: All worker threads have exited.
[Sun Nov 12 15:59:18 2006] [notice] Child 568: Child process is exiting
[Sun Nov 12 15:59:18 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:59:19 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:59:19 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:59:19 2006] [notice] Parent: Created child process 2580
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Child process is running
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Acquired the start mutex.
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Starting 250 worker threads.
[Sun Nov 12 16:01:21 2006] [error] [client 12.181.235.120] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 16:03:20 2006] [error] [client 12.181.235.120] File does not exist: C:/AppServ/www/80

--------------------------------------------------------------

netstat -nao

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3484


--------------------------

task manager

apache.exe pid 2580 mem 13,816K
apache.exe pid 3484 mem 6,444K

(note that the 2580 pid was not located in the netstat -nao)

------------------------
When i go to apache server by manual>apache start, i get the following error
apache 2.2 daemon is starting

Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 Unable to open logs Press any key to continue . . .

--------------------------------


I hope this can help anyone come to a conclusion of why this is happening.. thanks all whom read this :) If you require anything else, just ask. Thanks again
Nov 13 '06 #1
3 11825
sashi
1,754 Expert 1GB
Ok well i'm still very new to apache, mysql, and php.. let me explain everything i have set up..

I have installed Appserv, for those of you who are unfamiliar with it.. it installs mysql, php, and apache all in 1 setup..

Ok.. from here.. I have a folder in my local drive appserv within it.. php, apache, mysql, and www. www holds everything in my index which is what i am directed to when i go to http://localhost

Everything seems to be working fine on my machine.. the problem is when i send people to my ip, ex. "http://12.181.235.120" they come up with request timed out..

I have no firewalls.. I do not have windows firewall..

i'm running windows XP Pro. (SP1)

here is some information that may be helpful.. I'm not sure.. still new like i said.. but if it helps someone then great.


a bit of my apache error log::::


----------------------------------------------

PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Child process is running
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Acquired the start mutex.
[Sun Nov 12 15:26:25 2006] [notice] Child 1268: Starting 250 worker threads.
[Sun Nov 12 15:26:37 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:27:19 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:27:31 2006] [error] [client 127.0.0.1] script not found or unable to stat: C:/AppServ/cgi-bin, referer: http://127.0.0.1/
[Sun Nov 12 15:37:57 2006] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 15:50:46 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:50:46 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:50:46 2006] [notice] Parent: Created child process 164
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Child process is running
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Acquired the start mutex.
[Sun Nov 12 15:50:46 2006] [notice] Child 164: Starting 250 worker threads.
[Sun Nov 12 15:57:25 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:57:25 2006] [notice] Child 164: Exit event signaled. Child process is ending.
[Sun Nov 12 15:57:26 2006] [notice] Child 164: Released the start mutex
[Sun Nov 12 15:57:27 2006] [notice] Child 164: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:57:27 2006] [notice] Child 164: All worker threads have exited.
[Sun Nov 12 15:57:27 2006] [notice] Child 164: Child process is exiting
[Sun Nov 12 15:57:27 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:57:30 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:57:30 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:57:30 2006] [notice] Parent: Created child process 3528
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Child process is running
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Acquired the start mutex.
[Sun Nov 12 15:57:30 2006] [notice] Child 3528: Starting 250 worker threads.
[Sun Nov 12 15:59:02 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:59:02 2006] [notice] Child 3528: Exit event signaled. Child process is ending.
[Sun Nov 12 15:59:03 2006] [notice] Child 3528: Released the start mutex
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: All worker threads have exited.
[Sun Nov 12 15:59:04 2006] [notice] Child 3528: Child process is exiting
[Sun Nov 12 15:59:04 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:59:07 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:59:07 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:59:07 2006] [notice] Parent: Created child process 568
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Child process is running
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Acquired the start mutex.
[Sun Nov 12 15:59:07 2006] [notice] Child 568: Starting 250 worker threads.
[Sun Nov 12 15:59:16 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 12 15:59:16 2006] [notice] Child 568: Exit event signaled. Child process is ending.
[Sun Nov 12 15:59:17 2006] [notice] Child 568: Released the start mutex
[Sun Nov 12 15:59:18 2006] [notice] Child 568: Waiting for 250 worker threads to exit.
[Sun Nov 12 15:59:18 2006] [notice] Child 568: All worker threads have exited.
[Sun Nov 12 15:59:18 2006] [notice] Child 568: Child process is exiting
[Sun Nov 12 15:59:18 2006] [notice] Parent: Child process exited successfully.
[Sun Nov 12 15:59:19 2006] [notice] Apache/2.0.59 (Win32) PHP/4.4.4 configured -- resuming normal operations
[Sun Nov 12 15:59:19 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Nov 12 15:59:19 2006] [notice] Parent: Created child process 2580
PHP Warning: Unknown(): Unable to load dynamic library 'C:\\AppServ\\php\\extensions\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Child process is running
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Acquired the start mutex.
[Sun Nov 12 15:59:19 2006] [notice] Child 2580: Starting 250 worker threads.
[Sun Nov 12 16:01:21 2006] [error] [client 12.181.235.120] File does not exist: C:/AppServ/www/favicon.ico
[Sun Nov 12 16:03:20 2006] [error] [client 12.181.235.120] File does not exist: C:/AppServ/www/80

--------------------------------------------------------------

netstat -nao

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3484


--------------------------

task manager

apache.exe pid 2580 mem 13,816K
apache.exe pid 3484 mem 6,444K

(note that the 2580 pid was not located in the netstat -nao)

------------------------
When i go to apache server by manual>apache start, i get the following error
apache 2.2 daemon is starting

Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 Unable to open logs Press any key to continue . . .

--------------------------------


I hope this can help anyone come to a conclusion of why this is happening.. thanks all whom read this :) If you require anything else, just ask. Thanks again

Do you have IIS installed in your machine? Is your machine networked?
Nov 13 '06 #2
Sidu
2
Thanks for the reply--

I do not see that IIS is running.. nor do i see it in the services.. if there is anywhere else I should check please inform me..

My computer is not networked.. but just to be sure of anything being wrong there i have disabled the LAN connection -- still doesn't seem to be working however

Thanks again
Nov 13 '06 #3
Hi. Hopefully, you have found out this yourself now, it is a bit late ;-)
But anyway, I ran into the same problem just today. It can be seen from the start output that the server is listening to IP address 0.0.0.0 which is, of course, not right.

SOLUTION:
Edit the configuration file: C:\AppServ\Apache2.2\conf\httpd
change the line:
Listen 80
to this:
Listen localhost:80

At least, this solution worked for me :-)
(Mabye this problem is because I choose to call the server something else than "localhost" when I installed it ???)
May 22 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by DrWizard | last post: by
reply views Thread by bruce | last post: by
3 posts views Thread by genenamg | last post: by
5 posts views Thread by writeson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.