Apache virtual host na porte 44444

Apache virtual host na porte 44444
« kdy: 20. 02. 2012, 11:31:09 »
Potreboval by som aby sa na urcitu stranku vo /var/www napr. /var/www/stranka pristupovalo zadanm ip:44444.
Do /etc/apache2/apache2.conf  som doplnil:

Citace
# Include ports listing
Include ports.conf
Listen 80
Listen 44444

Citace
<VirtualHost *:44444>
  ServerName stranka
  DocumentRoot /var/www/stranka
</VirtualHost>

po restarte mi ukazuje tuto chybu:

Citace
/etc/init.d/apache2 restart
Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.10.10 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.10.10 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44444
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!

VIete poradit? dakujem....


« Poslední změna: 20. 02. 2012, 12:21:59 od Petr Krčmář »


Joe

Re:Apache virtual host na porte 44444
« Odpověď #1 kdy: 20. 02. 2012, 12:56:56 »
Kdyz nevis jak ve virtual hostu pouzivat *, tak ji nepouzivej.
Hod vystup netstat -anp

PCnity

  • *****
  • 692
    • Zobrazit profil
    • E-mail
Re:Apache virtual host na porte 44444
« Odpověď #2 kdy: 20. 02. 2012, 13:58:38 »
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44444

Nieco ti obsadzuje 6-80 a 4-44444.

PCnity

  • *****
  • 692
    • Zobrazit profil
    • E-mail
Re:Apache virtual host na porte 44444
« Odpověď #3 kdy: 20. 02. 2012, 13:59:30 »
Co mas inak v /etc/apache2/ports.conf

Re:Apache virtual host na porte 44444
« Odpověď #4 kdy: 24. 02. 2012, 08:29:06 »
killall -9 apache2; /etc/init.d/apache2 start; netstat -ltunp|grep -i ste     ???

a kdyztak sem pastni vystup z
tail -30 /var/log/apache2/error.log