PDA

View Full Version : Apache~Help po


poulain
10-15-2007, 11:33 AM
I installed Apache 2.2.6 but when I try to start it I get the following
message:

(OS 10048)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 no listening sockets available, shutting down
Unable to open logs

help po magtroubleshoot, kasi before ko ire-start yung PC ko last night, nagstart na yung Apache, then pag open ko ulet, may error na..~ i checked the httpd.cfg ok naman, then nagtest din ako sa localhost ko, di naman ngoopen.. :( baket po kaya?:confused:

kakkoii_daw
10-15-2007, 11:37 AM
in windows or in linux? is there any other services accessing port 80? e.g. iis, etc. :D

poulain
10-15-2007, 11:42 AM
sa windows po..

kakkoii_daw
10-15-2007, 11:46 AM
sa windows po..

try this command to check if port 80 is in use.

netstat -p UDP -n -a -o | findstr 80

or browse administrative tools > services, and check if iis or other instance of a webserver is running, then disable it. :D

poulain
10-15-2007, 11:52 AM
ok.. thanks po.. try ko mamya, then inform po kita pag ok na.. *wink

KikoyBalayon
10-15-2007, 03:58 PM
wow.. rum celebration na ba to? :D

poulain
10-15-2007, 04:25 PM
wow.. rum celebration na ba to? :D


pag gumana yung command ni kakkoii_daw magpapa rum daw sya.. :confused::D

docomo
10-15-2007, 04:39 PM
Another application is already using port 80, and only one application can
bind to a port.Only one application can attach itself to one port address...
It appears you may already have a web server running on
port 80 unless you are not starting apache as root.:)

poulain
10-15-2007, 04:52 PM
Another application is already using port 80, and only one application can
bind to a port.Only one application can attach itself to one port address...
It appears you may already have a web server running on
port 80 unless you are not starting apache as root.:)

thanks po ulet.. check ko 'to later.. ;)

kakkoii_daw
10-15-2007, 05:02 PM
pag gumana yung command ni kakkoii_daw magpapa rum daw sya.. :confused::D

yehey, magpapa-rum ka pala... damihan mo kasi mukang malakas uminom si kik. :D

try mo ren pala icheck ang firewall mo if it allows incoming connections on port 80.
and if u have skype that listens on port 80/443, uncheck it on connection tab in skype options. :D

poulain
10-16-2007, 12:12 PM
i checked my administrative tools, but nothing happens.. di ko tuloy alam ano dapat ang disabled dun... :( help~ even sa skype...

thermometer
10-16-2007, 12:26 PM
i checked my administrative tools, but nothing happens.. di ko tuloy alam ano dapat ang disabled dun... :( help~ even sa skype...
Hi Poulain..
did you install Apache server on Windows Machine ?
Can you tell us what version of Apache and Windows you are using?

Port 80 by default use by HTTP
(80/TCP HTTP (HyperText Transfer Protocol) - used for transferring web pages)

you can go to apache conf file and change the default port to another ex : port 8080
try to look on (.default.conf )file on installed directory .
Edit the conf file and try to restart the services of apache server.

Good luck

poulain
10-16-2007, 12:29 PM
Hi Poulain..
did you install Apache server on Windows Machine ?
Can you tell us what version of Apache and Windows you are using?

Port 80 by default use by HTTP
(80/TCP HTTP (HyperText Transfer Protocol) - used for transferring web pages)

you can go to apache conf file and change the default port to another ex : port 8080
try to look on (.default.conf )file on installed directory .
Edit the conf file and try to restart the services of apache server.

Good luck
Windows XP [Apache 2.2.6 po yung na-install ko]

thanks ulet father, try ko mea sa bahay, di rin kasi makapagonline sa bahay, nawala internet connection ko :( na-delete ni chu yung sa internet.. la pa naman kami copy ng pw nun..:O

docomo
10-16-2007, 12:36 PM
If you don't know what it is that is using the port, do a "netsta -a -o -n" this will show you the pid of the process that is listening on port 80 (it is probably IIS)

Or the better way - you can use this free utility:
http://www.microsoft.com/technet/sysinternals/Utilities/TcpView.html

thermometer
10-16-2007, 12:42 PM
Windows XP [Apache 2.2.6 po yung na-install ko]

thanks ulet father, try ko mea sa bahay, di rin kasi makapagonline sa bahay, nawala internet connection ko :( na-delete ni chu yung sa internet.. la pa naman kami copy ng pw nun..:O
Since most probably in use na po port 80. and I assume kaya ka nag install ng apache is for Web Development and mas madali i administer kesa sa IIS.

try to look on unuse port. and configure your apache to use that available port

kakkoii_daw
10-16-2007, 03:21 PM
check windows services manager, look for iis admin service, stop it and set startup type to manual :D

http://www.cisco.com/warp/public/78/WebViewMemError-2.gif

on skype, uncheck 'use port 80 and 443 as alternative...' :D

http://www.hanselman.com/blog/content/binary/Skype_20vs_20IIS.jpg

poulain
10-16-2007, 05:01 PM
hey, wala nga po IIS dun sa PC ko eh.. then sa Skype ok naman.. try ko ulet mea yung turo nyo ni doc, netsta -a -o -n .. salamat kakkoii :bowdown: