Current time: 05-06-2024, 01:58 PM Hello There, Guest! (LoginRegister)


Post Reply 
"Error 500" bei nur einer Domain
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #1
Question "Error 500" bei nur einer Domain
Ich bekomme seit wenigen Stunden einen "Error 500" bei einer Kundenseite angezeigt. Dies war vor wenigen Stunden noch nicht so und in der Zeit wurde auch nichts an der Seite verändert. Wie kann das sein? Ich dachte fcgid hat dieses Problem nicht mehr!?
Habe ich die richtigen Module von Apache aktiviert oder etwa zu viele? Ein Neustart von Apache hat auch nicht geholfen.

Quote:apache2 -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
fcgid_module (shared)
mime_module (shared)
security2_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
unique_id_module (shared)

Danke.

EDIT: Nun kann ich die Seite plötzlich wieder aufrufen. Habe statt nur der Adresse noch einen Pfad zu einem Statistiktool hinzugefügt und nachdem das lud ging auch die Hauptseite wieder. Wie kann das angehen und wie kann ich es zukünftig verhindern? Danke.
(This post was last modified: 03-19-2009 08:04 AM by DaSilva.)
03-19-2009 08:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: "Error 500" bei nur einer Domain
LOGS!

WICHTIG
03-19-2009 08:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #3
RE: "Error 500" bei nur einer Domain
Habe keine Einträge in den Logs gefunden.
Von Apache selber habe ich gar keine Logdatei (normal?).
Nur in der domain.de-traf.log folgendes:

Quote:12.34.56.78 - - [18/Mar/2009:22:46:48 +0100] "GET / HTTP/1.1" 500 1148 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /errors/inc/errordocs.js HTTP/1.1" 200 260 "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /errors/inc/errordocs.css HTTP/1.1" 200 1039 "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /errors/inc/error_top.jpg HTTP/1.1" 200 6244 "http://www.domain.de/errors/inc/errordocs.css" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /errors/inc/valid_css.jpg HTTP/1.1" 200 1754 "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 200 1783 "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:09 +0100] "GET /favicon.ico HTTP/1.1" 404 1141 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:12 +0100] "GET /favicon.ico HTTP/1.1" 404 1141 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:27 +0100] "GET / HTTP/1.1" 500 1148 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:48 +0100] "GET /errors/inc/errordocs.js HTTP/1.1" 304 - "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:48 +0100] "GET /errors/inc/errordocs.css HTTP/1.1" 304 - "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:48 +0100] "GET /errors/inc/error_top.jpg HTTP/1.1" 304 - "http://www.domain.de/errors/inc/errordocs.css" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:48 +0100] "GET /errors/inc/valid_css.jpg HTTP/1.1" 304 - "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:47:48 +0100] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 304 - "http://www.domain.de/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:48:06 +0100] "GET / HTTP/1.1" 500 1148 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
12.34.56.78 - - [18/Mar/2009:22:48:08 +0100] "GET / HTTP/1.1" 500 1148 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:48:30 +0100] "GET /errors/inc/errordocs.js HTTP/1.1" 200 260 "http://www.domain.de/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:48:30 +0100] "GET /errors/inc/errordocs.css HTTP/1.1" 200 1039 "http://www.domain.de/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:48:30 +0100] "GET /errors/inc/valid_css.jpg HTTP/1.1" 200 1754 "http://www.domain.de/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:48:30 +0100] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 200 1783 "http://www.domain.de/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:48:30 +0100] "GET /errors/inc/error_top.jpg HTTP/1.1" 200 6244 "http://www.domain.de/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506)"
12.34.56.78 - - [18/Mar/2009:22:49:15 +0100] "GET / HTTP/1.1" 500 1148 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"

Debian Etch AMD64, ispCP 1.0.0, PHP 5.2.9, Apache 2.2.3
(This post was last modified: 03-19-2009 05:46 PM by DaSilva.)
03-19-2009 05:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: "Error 500" bei nur einer Domain
Wir brauchen einmal die
Code:
/var/log/apache2/users/default-error.log
Und dann noch die
Code:
/var/log/apache2/users/diedomain-error.log

Greez BeNe
03-19-2009 06:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #5
RE: "Error 500" bei nur einer Domain
OK, was ich in der default-error.log finden konnte:

Quote:[Wed Mar 18 22:47:08 2009] [error] [client 12.34.56.78] Premature end of script headers: index.php
[Wed Mar 18 22:47:11 2009] [notice] mod_fcgid: process 32749 going graceful shutdown, sending SIGTERM

domain.de-error.log:

Quote:[Wed Mar 18 22:47:59 2009] [notice] mod_fcgid: process /var/www/virtual/domain.de/htdocs/index.php(32745) exit(communication error), terminated by calling exit(), return code: 0
[Wed Mar 18 22:48:07 2009] [notice] mod_fcgid: call /var/www/virtual/domain.de/htdocs/index.php with wrapper /var/www/fcgi/domain.de/php5-fcgi-starter
[Wed Mar 18 22:48:07 2009] [notice] mod_fcgid: server /var/www/virtual/domain.de/htdocs/index.php(10885) started
(This post was last modified: 03-19-2009 08:33 PM by DaSilva.)
03-19-2009 08:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xxo Offline
Junior Member
*

Posts: 38
Joined: Sep 2008
Reputation: 0
Post: #6
RE: "Error 500" bei nur einer Domain
"Premature end of script headers: index.php"

Da hast du es doch schon. Schmeiss mal die suchmaschine an. oft fehlt ein crlf am ende oder du hast einen komischen editor verwendet.
03-19-2009 10:36 PM
Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #7
RE: "Error 500" bei nur einer Domain
Hmm, habe mal bei Google danach gesucht und verschiedene Mutmaßungen gefunden. Leider gab es dabei auch immer unterschiedliche Lösungen.
Eine Vermutung dabei ist die Rechtevergabe.
Sollten Dateien und Ordner ab /var/www/virtual/domain.de vuXXXX:www-data oder vuXXXX:vuXXXX gehören?
Reicht für eine *.php Datei 644 als Recht oder ist 744 besser? Die index.php hat nämlich derzeit 644.
Leider (oder zum Glück?) kommt der Fehler derzeit nicht mehr. Deswegen kann ich nur etwas ändern und alle paar Stunden / Tage ins Log gucken...
03-20-2009 01:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #8
RE: "Error 500" bei nur einer Domain
(03-20-2009 01:36 AM)DaSilva Wrote:  Hmm, habe mal bei Google danach gesucht und verschiedene Mutmaßungen gefunden. Leider gab es dabei auch immer unterschiedliche Lösungen.
Eine Vermutung dabei ist die Rechtevergabe.
Sollten Dateien und Ordner ab /var/www/virtual/domain.de vuXXXX:www-data oder vuXXXX:vuXXXX gehören?
Reicht für eine *.php Datei 644 als Recht oder ist 744 besser? Die index.php hat nämlich derzeit 644.
Leider (oder zum Glück?) kommt der Fehler derzeit nicht mehr. Deswegen kann ich nur etwas ändern und alle paar Stunden / Tage ins Log gucken...

644 reicht in der Regel vollkommen aus.

Aber mal ne Frage am Rand.
Ist das eine selber erstellte index.php oder gehört die zu nem System Komplettscript (Joomla, OSCommerce u.s.w.)? Evtl. ist der Bug ja da drin.
03-20-2009 03:40 AM
Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #9
RE: "Error 500" bei nur einer Domain
Gehört zu Joomla (1.5.9).
Habe dort aber nichts drin verändert und bei dieser fortgeschrittenen Version in der wichtigsten Datei von Joomla dürfte sonst auch kein Fehler drin sein.
Wenn man den Fehler bei Google eingibt findet man auch sehr unterschiedliche Systeme und Lösungsvorschläge. Allerdings ist keiner dabei der gehen könnte.
Was ist denn mit "Sollten Dateien und Ordner ab /var/www/virtual/domain.de vuXXXX:www-data oder vuXXXX:vuXXXX gehören?"?
03-20-2009 04:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #10
RE: "Error 500" bei nur einer Domain
Ich habe vor ein paar Tagen mal ein Joomla auf meinem Testserver installiert.
Die Dateien gehören bei mir vuXXXX:vuXXXX... Bis jetzt konnte ich Dein Problem aber auch noch feststellen...
Ist auch nur eine Grundinstallation...
Werde morgen mal ein paar Module und Komponenten installieren.
Oder sag Du mir was Du bei Dir schon in Joomla an Komponenten und Module drin hast, dann würde ich die auch mal drauf machen.
03-20-2009 05:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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