Operating System - HP-UX
1823308 Members
3634 Online
109653 Solutions
New Discussion юеВ

Re: Problem in starting apache web server

 
SOLVED
Go to solution
Basso_1
Advisor

Problem in starting apache web server

helo i have installed the apache web server under hp_ux 11i v2.
when trying to start it:
#/opt/hpws/apache/bin/apachectl start
i get this error
"<13>Permission denied: make_sock: could not bind to address [::]:80 no listening sockets available ,shutting down
Unable to open logs"

THANK U
8 REPLIES 8
Muthukumar_5
Honored Contributor
Solution

Re: Problem in starting apache web server

can you check as,

# netstat -na | grep 80

Do you have in /etc/services file as,

http 80/tcp www # World Wide Web HTTP
http 80/udp www # World Wide Web HTTP

Did you configure Listen TAG in httpd.conf with ip-address of your machine?

like,

Listen 10.31.77.134:80

or

Listen 127.0.0.1:80

It will work.

-Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Problem in starting apache web server

This could be because of the following,

1. Insufficient privileges.
2. 80 port already been used up by some other daemon.
3. Incorrect configurations.

http://mail-archives.apache.org/mod_mbox/httpd-users/200304.mbox/%3C025901c30a5c$20f87a50$3f0aa8c0@NIKS%3E
http://mail-archives.apache.org/mod_mbox/httpd-users/200301.mbox/%3CBAY1-DAV15NOVMhCQuq0000d7db@hotmail.com%3E

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Joseph Loo
Honored Contributor
Basso_1
Advisor

Re: Problem in starting apache web server

i am starting apache from bin
Muthukumar_5
Honored Contributor

Re: Problem in starting apache web server

i am starting apache from bin...??

You can not start apache then. You must be a root to startup apache. Check this,

http://lists.freebsd.org/pipermail/freebsd-questions/2003-September/019440.html

-Muthu
Easy to suggest when don't know about the problem!
Basso_1
Advisor

Re: Problem in starting apache web server

thank u guys it runs,
i have started apache from user root
in httpd.conf i have added
Listen (server ip):80
thank u
Arunvijai_4
Honored Contributor

Re: Problem in starting apache web server

You can close this thread if the problem is solved,

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Basso_1
Advisor

Re: Problem in starting apache web server

thank u