Sponsor-Board.de

Normale Version: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Sers Leute,
Ich bin ratlos. Ich habe nun 1 neuen Rootserver und wie immer fang ich an Apache zu installieren so den normalen Web-Zeug. Nunja ich hatte alles installiert und wollte Apache2 restarten und bekam folgende Meldung:

Code:
Starting web server: apache2
[Wed Feb 29 04:36:18 2012] [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
Action 'start' failed.
The Apache error log may have more information.
failed!


Ich habe dann versucht den Port zu finden der ja schon in Benutzungen ist mit netstat, grep, ps awx allerdings Ohne Erofolg es ist defintiv nicht vergeben der Port 80.

--
Betriebssystem : Debian Squeeze 6.0
--

Hab euch auch mal meine 'httpd.conf' und 'ports.conf' und die 'default' vom Ordner 'sites available' sowie die 'hosts' hochgeladen, hoffe ich könnt mir helfen.

Die Datei "httpd.conf" :

PHP-Code:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
# My Virtual Hosts Config File for two Domains

ServerName localhost
NameVirtualHost 
*:80
Listen 80

<VirtualHost *:80>
    
ServerName localhost
    ErrorLog 
"/var/log/apache2/in-error_log"
    
CustomLog "/var/log/apache2/in-access_log" common
</VirtualHost



Die Datei 'ports.conf' :

PHP-Code:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default

ServerName localhost
NameVirtualHost 
*:80
Listen 
*:80
Listen 8080

<VirtualHost *:80>
    
ServerName localhost
    ErrorLog 
"/var/log/apache2/in-error_log"
    
CustomLog "/var/log/apache2/in-access_log" common
</VirtualHost>

#<IfModule mod_ssl.c>
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
#</IfModule> 


Die Hosts-Datei:

PHP-Code:
::1        localhost ip6-localhost ip6-loopback
fe00
::0        ip6-localnet
ff00
::0        ip6-mcastprefix
ff02
::1        ip6-allnodes
ff02
::2        ip6-allrouters

127.0.0.1 localhost ip6
-localhost ip6-loopback
127.0.0.1 localhost
.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
78.47.109.249 vm211.gsxtream-hosting.de  vm211 


Die Default-Datei:

PHP-Code:
<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 ${APACHE_LOG_DIR}/error.log

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

    CustomLog 
${APACHE_LOG_DIR}/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.1
/255.0.0.0 ::1/128
    
</Directory>

</
VirtualHost


Würde mich freuen wenn mir jemand helfen kann.


Gruß
Veritas

Frage mal deinen Hoster zwecks des Ports an Wink
Ich sehe da groß nichts...
vlt ist lighttpd gestartet?
/etc/init.d/apache2 restart

Du scheinst nur start gemacht zu haben. Ansonsten stop, mit netstat einfach mal abfragen was dann noch blockt.
Bei mir startete mal. lighttpd statt apace nach einem reeboot. Versuch mal /etc/init.d/lighttpd stop
So wie es ausschaut ist es ein vServer und kein Rootserver.
In der Hostdatei steht ja:
78.47.109.249 vm211.gsxtream-hosting.de vm211
vm = Virtuelle Maschine bei GSXH
Vllt. ist bei der Virtualiserung deiner Maschine etwas falsch gelaufen bzw. ein Fehler aufgetreten, am besten du wendest dich an den Support, die können dir bestimmt helfen.
@mtxhosting; Der gleiche Fehler von diesem vServer taucht auch auf meinem Rootserver auf, genau der gleiche.

Versuche nun mal alles zu stoppen was mit dem Internet zu tun hat.

Ich habe ProFTP.


Gruß
Veritas
Um das Ratespiel mal zu beende, warum gibt es 2 mal (in httpd.conf und ports.conf) den Listen Befehl und gibt es die Log Datei "/var/log/apache2/in-error_log" überhaupt?
Ich kann mal über Teamviewer schauen. Daten per Pn bitte
// Please Close.
Hab nun endlich Debian 5.0 Lenny drauf. Das ist gut, umgänglich.
Danke euch allen trotzdem.



Gruß,
Veritas
Seiten: 1 2
Referenz-URLs