Current time: 09-24-2024, 05:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Restart Error
Author Message
Kevinterra Offline
Junior Member
*

Posts: 25
Joined: Sep 2010
Reputation: 0
Post: #1
Apache Restart Error
Guten Abend,

Ich habe vor kurzem mit einer Domain Aliase beim einfügen Probleme gehabt. Nun habe ich die Domain erneut eingebunden im Verzeichnis "/", klappt nun einwandfrei und funktioniert sozusagen als zweite Domain. Allerdings hat ispCP anscheind noch nicht alles aktualisiert.

Wenn ich Apache neustarte kommt folgender Fehler:

Code:
root@ispcp /var/www/fcgi/webi.keal.eu/php5 # /etc/init.d/apache2 restart
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Syntax error on line 1516 of /etc/apache2/sites-enabled/ispcp.conf: Could not open configuration file /etc/apache2/ispcp/gta-mp.de.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

Die Domain habe ich ja schon gelöscht im ispCP, funktioniert aber immernoch nicht, egal in welchem Zustand.

Ich hoffe, dass mir hier jemand helfen kann.

Mit freundlichen Grüßen
Kevin Hartmann
11-08-2011 04:30 AM
Find all posts by this user Quote this message in a reply
the_condor Offline
Junior Member
*

Posts: 33
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Apache Restart Error
steht doch da

/etc/apache2/ispcp/gta-mp.de.conf: No such file or director

diese Datei gibt es nicht
11-08-2011 04:40 AM
Find all posts by this user Quote this message in a reply
Kevinterra Offline
Junior Member
*

Posts: 25
Joined: Sep 2010
Reputation: 0
Post: #3
RE: Apache Restart Error
Soweit bin ich auch schon. Ich weiß aber nicht wie ich dieses Problem beheben soll, da ich nichts in der Apache2 Config umstellen kann. Der Grund dafür ist, dass ispCP die Datei immer wieder aktualisiert..

Mit freundlichen Grüßen
Kevin
11-08-2011 04:43 AM
Find all posts by this user Quote this message in a reply
the_condor Offline
Junior Member
*

Posts: 33
Joined: Aug 2008
Reputation: 0
Post: #4
RE: Apache Restart Error
Dann schau Dir mal diese Zeile an

1516 of /etc/apache2/sites-available/ispcp.conf

Diese Zeile und was dazu gehört mal auskommentieren mit #

dann mal die Working ispcp.conf löschen

also
rm /etc/ispcp/apache/working/ispcp.conf

und dann
cp /etc/apache2/sites-available/ispcp.conf /etc/ispcp/apache/working/ispcp.conf

danach denn apchen reloaden und restarten.
(This post was last modified: 11-08-2011 04:50 AM by the_condor.)
11-08-2011 04:49 AM
Find all posts by this user Quote this message in a reply
Kevinterra Offline
Junior Member
*

Posts: 25
Joined: Sep 2010
Reputation: 0
Post: #5
RE: Apache Restart Error
Danke für die Antwort,

Da ist echt eine Menge, habe alles auskommentiert, hat nichts gebracht, kamen noch viel mehrere Errors..

#Edit:

Ich habe die Domain "gta-mp.de" zur Hauptdomain "gta-mp.org" hinzugefügt und Apache restartet..

Code:
root@ispcp ~ # /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting ..

Nun habe ich die Domain Aliase wieder gelöscht und es kommt der gleiche Error, Bug?
(This post was last modified: 11-08-2011 05:13 AM by Kevinterra.)
11-08-2011 05:09 AM
Find all posts by this user Quote this message in a reply
the_condor Offline
Junior Member
*

Posts: 33
Joined: Aug 2008
Reputation: 0
Post: #6
RE: Apache Restart Error
du da hilft nur mal die Zeilen zu Posten die Probleme machen.
11-08-2011 05:18 AM
Find all posts by this user Quote this message in a reply
Kevinterra Offline
Junior Member
*

Posts: 25
Joined: Sep 2010
Reputation: 0
Post: #7
RE: Apache Restart Error
Das ist die Zeile 1516 die Probleme macht:

Code:
Include /etc/apache2/ispcp/gta-mp.de.conf
11-08-2011 05:26 AM
Find all posts by this user Quote this message in a reply
the_condor Offline
Junior Member
*

Posts: 33
Joined: Aug 2008
Reputation: 0
Post: #8
RE: Apache Restart Error
entweder #Include /etc/apache2/ispcp/gta-mp.de.conf

oder lösche die Zeile ganz aus der ispcp.conf des apachen, mußt Natürlich das Work File ersetzen, damit es nach einem Restart so bleibt.
11-08-2011 05:32 AM
Find all posts by this user Quote this message in a reply
Kevinterra Offline
Junior Member
*

Posts: 25
Joined: Sep 2010
Reputation: 0
Post: #9
RE: Apache Restart Error
Bringt leider nichts, gleicher Fehler..

#Edit:

Habe nun diesen Fehler bekommen:

Code:
Restarting web server: apache2Warning: DocumentRoot [/var/www/virtual/gta-mp.org/gta-mp.de/htdocs] does not exist
... waiting .Warning: DocumentRoot [/var/www/virtual/gta-mp.org/gta-mp.de/htdocs] does not exist.
(This post was last modified: 11-08-2011 07:45 AM by Kevinterra.)
11-08-2011 07:39 AM
Find all posts by this user Quote this message in a reply
condor Offline


Posts: 1
Joined: Nov 2011
Reputation: 0
Post: #10
RE: Apache Restart Error
Poste doch mal deine Settings der ispcp.conf, du hast nicht alles auskommentiert.

Du hast in irgend einer Config noch den Document Pfad stehen, denn es aber nicht mehr gibt.
11-08-2011 05:29 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)