|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[users@httpd] Cant make apache listen on an IP address and portHI I have the following ports.conf
NameVirtualHost *:80 Listen 80 <IfModule mod_ssl.c> # SSL name based virtual hosts are not yet supported, therefore no # NameVirtualHost statement here Listen 443 </IfModule> Listen 213.49.146.24:8080 I have this in sites-enabled <VirtualHost 213.49.146.24:8080> ServerAdmin webmaster@localhost Redirect / https://213.49.146.24/ </VirtualHost I have this line in /etc/hosts 213.49.146.24 isystem when I try to restart apache it gives me this error # apache2ctl start apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (99)Cannot assign requested address: make_sock: could not bind to address 213.49.146.24:8080 no listening sockets available, shutting down Unable to open logs What could be the trouble? Thanks --Siju --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@... " from the digest: users-digest-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [users@httpd] Cant make apache listen on an IP address and portYou need the ServerName statement.
On Wed, Nov 11, 2009 at 11:48 PM, Siju George <sgeorge.ml@gmail.com> wrote: HI I have the following ports.conf |
|
|
Re: [users@httpd] Cant make apache listen on an IP address and port> (99)Cannot assign requested address: make_sock: could not bind to
> address 213.49.146.24:8080 > no listening sockets available, shutting down > Unable to open logs > > What could be the trouble? The server must actually have 213.49.146.24 as it's IP address. Is that the case here? It's no good just putting the IP in /etc/hosts if that IP isn't bound to one of the network interfaces. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@... " from the digest: users-digest-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [users@httpd] Cant make apache listen on an IP address and portOn Nov 11, 2009, at 07:48 , Siju George wrote: > # apache2ctl start > apache2: Could not reliably determine the server's fully qualified > domain name, using 127.0.1.1 for ServerName > (99)Cannot assign requested address: make_sock: could not bind to > address 213.49.146.24:8080 > no listening sockets available, shutting down > Unable to open logs Please see http://wiki.apache.org/httpd/CouldNotBindToAddress for an in-depth discussion of this issue, and possible solutions. Note that the first message ("Could not reliably ...") is a warning, not an error, but you probably should set ServerName. The rest of the message is an actual error condition. -- Rich Bowen rbowen@... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@... " from the digest: users-digest-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [users@httpd] Cant make apache listen on an IP address and portOn Wed, Nov 11, 2009 at 6:34 PM, Philip Wigg <phil@...> wrote:
>> (99)Cannot assign requested address: make_sock: could not bind to >> address 213.49.146.24:8080 >> no listening sockets available, shutting down >> Unable to open logs >> >> What could be the trouble? > > The server must actually have 213.49.146.24 as it's IP address. Is > that the case here? It's no good just putting the IP in /etc/hosts if > that IP isn't bound to one of the network interfaces. > OK I got the point. It is working now :-) Thanks Philip, Igor and Rich --Siju --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@... " from the digest: users-digest-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |