Sponsor-Board.de
[Hilfe] Debian Squeeze - Apache2 möchte nicht ganz

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Plauderecke (/forumdisplay.php?fid=39)
+---- Forum: Soft- & Hardware (/forumdisplay.php?fid=80)
+---- Thema: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz (/showthread.php?tid=22740)


[Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Veritas - 29.02.2012 01:52

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


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - nobody - 29.02.2012 05:57

Frage mal deinen Hoster zwecks des Ports an Wink
Ich sehe da groß nichts...


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Luca - 29.02.2012 07:23

vlt ist lighttpd gestartet?


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Storage-Base.de - 29.02.2012 09:13

/etc/init.d/apache2 restart

Du scheinst nur start gemacht zu haben. Ansonsten stop, mit netstat einfach mal abfragen was dann noch blockt.


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Luca - 29.02.2012 09:43

Bei mir startete mal. lighttpd statt apace nach einem reeboot. Versuch mal /etc/init.d/lighttpd stop


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - mtxhosting.de - 29.02.2012 12:28

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.


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Veritas - 29.02.2012 15:28

@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


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - NevaKee - 29.02.2012 16:50

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?


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Nilss - 29.02.2012 17:00

Ich kann mal über Teamviewer schauen. Daten per Pn bitte


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Veritas - 29.02.2012 17:40

// Please Close.
Hab nun endlich Debian 5.0 Lenny drauf. Das ist gut, umgänglich.
Danke euch allen trotzdem.



Gruß,
Veritas


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - NevaKee - 29.02.2012 17:41

Veritas schrieb:
Hab nun endlich Debian 5.0 Lenny drauf. Das ist gut, umgänglich.


Dafür ist es aber EoL und daher unsicher.


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Veritas - 29.02.2012 18:19

Mein Hoster hat nu alles gemacht, und alles ist sicher. Laut der Informationen von ihm.


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - NevaKee - 29.02.2012 18:20

[Link: Registrierung erforderlich]


RE: [Hilfe] Debian Squeeze - Apache2 möchte nicht ganz - Veritas - 01.03.2012 00:32

Vielen Dank NevaKee,
Werde mal schaun das ich doch was anderes drauf krieg.

/close

Gruß
Veritas