a solution to "Cannot assign requested address: make_sock..."

a solution to "Cannot assign requested address: make_sock..."

Post by kri » Tue, 15 Jan 2002 17:22:24



i have searched the records and read many threads of people getting a
problem to the effect:

"apache wont start..."

"unable to bind to port... (in use...)"

but i havent found a solution.  i am experiencing the same trouble
after i changed to red hat 7.2.  the specific line from my error_log
is:

[Mon Jan 14 03:03:37 2002] [crit] (99)Cannot assign requested address:
make_sock: could not bind to address xxx.xxx.xxx.xxx port 80

this occurs when i try to start apache with both apachectl and httpd
starts and restarts.  when i try to then stop apache (i know it is not
running) i get:

/usr/local/apache/bin/apachectl stop: httpd (pid 16845?) not running

which makes sense and is very frustrating.  i tried starting apache
from rc.N / rc.local, and that was no good.

i have checked netstat to see if any other service is listening on 80,
and i cant find anything.

i have looked high and low for a solution, so any direction would be
helpful... thanks.

kris

 
 
 

a solution to "Cannot assign requested address: make_sock..."

Post by Nemesis Service » Tue, 15 Jan 2002 19:15:39


is this your own server or is it a virtual server

> i have searched the records and read many threads of people getting a
> problem to the effect:

> "apache wont start..."

> "unable to bind to port... (in use...)"

> but i havent found a solution.  i am experiencing the same trouble
> after i changed to red hat 7.2.  the specific line from my error_log
> is:

> [Mon Jan 14 03:03:37 2002] [crit] (99)Cannot assign requested address:
> make_sock: could not bind to address xxx.xxx.xxx.xxx port 80

> this occurs when i try to start apache with both apachectl and httpd
> starts and restarts.  when i try to then stop apache (i know it is not
> running) i get:

> /usr/local/apache/bin/apachectl stop: httpd (pid 16845?) not running

> which makes sense and is very frustrating.  i tried starting apache
> from rc.N / rc.local, and that was no good.

> i have checked netstat to see if any other service is listening on 80,
> and i cant find anything.

> i have looked high and low for a solution, so any direction would be
> helpful... thanks.

> kris


 
 
 

a solution to "Cannot assign requested address: make_sock..."

Post by Gary Lawrence Murp » Fri, 25 Jan 2002 06:32:40



> is this your own server or is it a virtual server


> > i have searched the records and read many threads of people getting a
> > problem to the effect:
> > "apache wont start..."
> > "unable to bind to port... (in use...)"

I had a similar problem, local LAN server, no virtual hosts ... or
rather,
no explicit virtual hosts: The problem was an interface was down (our
wlan
has equipment failure) and the Listen directive was assigning httpd to
both
interfaces; this was changed to a simple "Listen 80" and the problem
went away; it also has nothing to do with RH versions (the upgrade was
a co-incidence).
 
 
 

1. pppd 2.3.5 error-"Cannot assign requested address"

ok.
486
2.2.3 (same problem with 2.2.2) kernel
pppd 2.3.5
rh 5.2

I can connect to the internet fine. However when I try to use demand
dialing pppd, it doesn't work..

if I dont set a remote address, it complains. fine. I set a remote
address and pppd doesnt work, spitting the error:

pppd[465]: ioctl(SIOCSIFDSTADDR): Cannot assign requested address(99)

into /var/log/messages.

/etc/ppp/options :
debug lock modem crtscts /dev/modem 38400 \
        asyncmap 20A0000 escape FF kdebug 0 :10.0.0.69 \
        mtu 576 mru 576 noipdefault idle 720 \
        demand ipcp-accept-local ipcp-accept-remote \
        netmask 255.255.255.0 defaultroute

I am at a complete loss at why this happens to only me.

please direct replies to


replacing the "DOT" with a "."

TIA.

2. Scanning in Linux

3. S.u.S.E. dhclient "cannot assign requested address"

4. Some Questions About Debian GNU/Linux 2.2

5. apache startup error: cannot assign requested address: make_sock.

6. getting file extension in bourne shell?

7. GETSERVBYNAME()????????????????????"""""""""""""

8. HELP!!!! DNS And Samba Questions.....?!?!!?

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. "Kernel logical address" vs "Physical address"

11. Type "(", ")" and "{", "}" in X...

12. Apache: "Cannot assign name to scoreboard file!"

13. Solution to "Address already in use" bind() problem?