[warn] NameVirtualHost *:80 has no VirtualHosts (98)Address already in use:...

Dextrem

New Member
Moin Leutz,

Versuch schon seid gestern apache zu starten,jedesmall ohne erfolg...

Bekomm jedes mal folgende Fehlermeldungen :

[warn] NameVirtualHost *:80 has no VirtualHosts
apache2: Could not reliably determine the server's fully qualified domain name, using 84.23.66.73 for ServerName
[warn] NameVirtualHost *:80 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
failed!

Hier ist meine default

Code:
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
<VirtualHost *:443>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
  <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Hoffe ihr könn mir helfen.

MfG Dextrem
 
grml..:mad:

ausversehen im falschen Forum erstellt bitte nach --->Webserver verschieben

Problem besteht immernoch

thx
 
Last edited by a moderator:
Wieso lässt du das Verzeichnis var/www zweimal aufrufen einmal unter 80 und 443? Wieso nicht eins von beiden? Weil ansich ja beide vhosts gleich sind, nur wie dev schon sagte, solltest du dir mal den Thread anschauen, weil dort die hosts ins Auge genommen wird, vlt hast du dort einen falschen Eintrag!

Ansonsten poste deine hosts ma!
 
Back
Top