Home
> Uncategorized > Cannot assign requested address: make_sock: could not bind to address
Cannot assign requested address: make_sock: could not bind to address
I spotted that my Apache server was not working this morning, so I went to restart it via Putty
root@vps ~ # /etc/init.d/apache2 restart
Forcing reload of web server (apache2)…httpd (no pid file) not running
(99)Cannot assign requested address: make_sock: could not bind to address 78.110.167.104:80
no listening sockets available, shutting down
Unable to open logs
failed!
You have mail in /var/mail/root
*Panic!*
I was aware that my host were chaning IP addresses, for some time, and this was the old IP address that the server was trying to bind to.
So, I found that by editing /etc/apache2/ports.conf and removing the old IP addresses, then restarting apache again, the server
was back up again.
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback