Fórum Root.cz
Hlavní témata => Server => Téma založeno: rado3105 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:
# Include ports listing
Include ports.conf
Listen 80
Listen 44444
<VirtualHost *:44444>
ServerName stranka
DocumentRoot /var/www/stranka
</VirtualHost>
po restarte mi ukazuje tuto chybu:
/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....
-
Kdyz nevis jak ve virtual hostu pouzivat *, tak ji nepouzivej.
Hod vystup netstat -anp
-
(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.
-
Co mas inak v /etc/apache2/ports.conf
-
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