473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 12103
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

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

Similar topics

5
by: DrWizard | last post by:
Hi I been first times setup. So Who have experience the Win98 + Apache + php (not run PWS or IIS) I begin download and installed the Apache. I test the run is working on browser...
0
by: bruce | last post by:
Hi... Update.... We have the following setup in our httpd.conf file. We've tried to give what's related to the issue. We're trying to set up a virtual host for a test project. The behavior...
1
by: Adam Atlas | last post by:
(Apache/2.0.55, PHP/4.4.1) I am using an "Action" directive in my Apache configuration to map a certain file type (by means of AddType and AddHandler) to a PHP script. I wasn't sure if this would...
3
by: genenamg | last post by:
Hi, I am trying to run and configure Apache 2.0, php 5 and mysql on win xp professional - this is the first time I have tried to install and configure all three. I am having difficulty trying...
5
by: writeson | last post by:
Hi all, I'm wondering if anyone has tried a scenario that I'm thinking of. At my job we've got a web based product provided by Apache running PHP that accesses MySQL. This web application is...
0
by: hurkpanpotgieter | last post by:
Hi All I'm trying to set up PHP with Microsoft SQL Server support on Fedora Core 5. I've tried using the FreeTDS libraries, and a connect with tsql works fine. I've a little test PHP file...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.