473,237 Members | 1,288 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,237 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 12099
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
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: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
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...

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.