Current time: 07-07-2024, 09:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
paar Fehler
Author Message
sKaya Offline
Junior Member
*

Posts: 19
Joined: Feb 2012
Reputation: 0
Post: #21
RE: paar Fehler
dpkg -l | grep cgi
Code:
grep PHP /etc/ispcp/ispcp.conf
ii  libapache2-mod-fastcgi             2.4.6-1                      Apache 2 FastCGI module for long-running CGI scripts
ii  libapache2-mod-fcgid               1:2.3.6-1                    an alternative module compat with mod_fastcgi
ii  php5-cgi                           5.3.3-7+squeeze8             server-side, HTML-embedded scripting language (CGI binary)

grep PHP /etc/ispcp/ispcp.conf
Code:
CMD_PHP = /usr/bin/php5
PHP_STARTER_DIR = /var/www/fcgi
# PHP FastCGI data
PHP_FASTCGI = fcgid
PHP5_FASTCGI_BIN = /usr/bin/php5-cgi
PHP_VERSION = 5
PHP_TIMEZONE = Europe/Berlin

Evtl. etwas falsch?

mail.info
Code:
...
...
...
Feb 23 03:23:14 sk imapd: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], port=[48567], protocol=IMAP
Feb 23 03:23:15 sk imapd: DISCONNECTED, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=0, sent=173, time=0
Feb 23 03:23:15 sk imapd: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=545, time=0
Feb 23 03:23:15 sk imapd: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], port=[48571], protocol=IMAP
Feb 23 03:23:15 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:78.111.75.31], port=[46186]
Feb 23 03:23:15 sk imapd: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], port=[48574], protocol=IMAP
Feb 23 03:23:15 sk imapd: DISCONNECTED, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=0, sent=173, time=0
Feb 23 03:23:15 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:78.111.75.31], port=[46186], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:23:15 sk imapd: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=545, time=0
Feb 23 03:23:17 sk postfix/anvil[1636]: statistics: max connection rate 1/60s for (smtp:178.63.55.7) at Feb 23 03:13:17
Feb 23 03:23:17 sk postfix/anvil[1636]: statistics: max connection count 1 for (smtp:178.63.55.7) at Feb 23 03:13:17
Feb 23 03:23:17 sk postfix/anvil[1636]: statistics: max cache size 2 at Feb 23 03:17:07
Feb 23 03:23:29 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50365]
Feb 23 03:23:29 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50365], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:24:47 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50402]
Feb 23 03:24:48 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50402], top=0, retr=0, rcvd=12, sent=39, time=1
Feb 23 03:25:50 sk postfix/qmgr[11838]: D60FC5FD00A4: from=<info@MEINEDOMAIN.de>, size=1109, nrcpt=1 (queue active)
Feb 23 03:25:52 sk postfix/smtp[16242]: D60FC5FD00A4: to=<info@exclusive-one.de>, relay=mail.exclusive-one.de[178.63.55.7]:25, delay=601, delays=600/1.3/0.06/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A58EE1A1E914)
Feb 23 03:25:52 sk postfix/qmgr[11838]: D60FC5FD00A4: removed
Feb 23 03:25:55 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50421]
Feb 23 03:25:55 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50421], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:27:07 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50469]
Feb 23 03:27:07 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50469], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:28:08 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50475]
Feb 23 03:28:08 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50475], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:29:09 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50478]
Feb 23 03:29:09 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50478], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:30:10 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50495]
Feb 23 03:30:10 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50495], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:31:11 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50519]
Feb 23 03:31:11 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50519], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:32:12 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50645]
Feb 23 03:32:12 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50645], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 03:33:29 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50960]
Feb 23 03:33:30 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[50960], top=0, retr=0, rcvd=12, sent=39, time=1
Feb 23 03:34:30 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51036]
Feb 23 03:34:30 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51036], top=0, retr=0, rcvd=12, sent=39, time=0
...
...
...
02-23-2012 11:48 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #22
RE: paar Fehler
mail.info - ja, ist viel, musst halt die Zeit eingrenzen...
und die Zeilen mit pop3d ignorieren etc etc....
zB. mitlaufen lassen mit "tail -f /var/log/mail.info" und dann von extern eine Mail senden. Am besten von einer bisher nicht benutzten Adresse.

php - also du machst es mit fcgid - das kenn ich nicht so gut, aber mal sehen.
nächster Befehl: "apache2ctl -M"
02-24-2012 12:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sKaya Offline
Junior Member
*

Posts: 19
Joined: Feb 2012
Reputation: 0
Post: #23
RE: paar Fehler
tail -f /var/log/mail.info
E-Mail gesendet und es kam:
Code:
Feb 23 15:22:41 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51919]
Feb 23 15:22:41 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51919], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 23 15:23:21 sk postfix/smtpd[1770]: connect from srv3.ns-domain-hosting.de[178.63.55.7]
Feb 23 15:23:24 sk postfix/policyd-weight[21778]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 IN_IPv6_RBL=4.25 CL_IP_EQ_FROM_MX=-3.1; <client=178.63.55.7> <helo=srv3.ns-domain-hosting.de> <from=meinname@absenderdomain.de> <to=info@MEINEDOMAIN.de>; rate: -3.35
Feb 23 15:23:24 sk postfix/policyd-weight[21778]: decided action=PREPEND X-policyd-weight:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 IN_IPv6_RBL=4.25 CL_IP_EQ_FROM_MX=-3.1; rate: -3.35; <client=178.63.55.7> <helo=srv3.ns-domain-hosting.de> <from=meinname@absenderdomain.de> <to=info@MEINEDOMAIN.de>; delay: 3s
Feb 23 15:23:24 sk postgrey[1939]: action=pass, reason=triplet found, client_name=srv3.ns-domain-hosting.de, client_address=178.63.55.7, sender=meinname@absenderdomain.de, recipient=info@MEINEDOMAIN.de
Feb 23 15:23:24 sk postgrey[1939]: cleaning up old logs...
Feb 23 15:23:24 sk postfix/smtpd[1770]: 874845FD00A3: client=srv3.ns-domain-hosting.de[178.63.55.7]
Feb 23 15:23:24 sk postfix/cleanup[1785]: 874845FD00A3: message-id=<BF99DDEAB61141DFBC8C0A3A07AFCD89@KAYAPC>
Feb 23 15:23:24 sk postfix/qmgr[11838]: 874845FD00A3: from=<meinname@absenderdomain.de>, size=1187, nrcpt=1 (queue active)
Feb 23 15:23:24 sk postfix/smtpd[1770]: disconnect from srv3.ns-domain-hosting.de[178.63.55.7]
Feb 23 15:23:24 sk postfix/virtual[1786]: 874845FD00A3: to=<info@MEINEDOMAIN.de>, relay=virtual, delay=3.2, delays=3.2/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Feb 23 15:23:24 sk postfix/qmgr[11838]: 874845FD00A3: removed
Feb 23 15:23:42 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51923]
Feb 23 15:23:43 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51923], top=0, retr=1268, rcvd=40, sent=1474, time=1
Feb 23 15:23:43 sk pop3d: LOGIN, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51926]
Feb 23 15:23:43 sk pop3d: LOGOUT, user=info@MEINEDOMAIN.de, ip=[::ffff:88.67.178.155], port=[51926], top=0, retr=0, rcvd=12, sent=39, time=0
E-Mail ist diesmal wieder angekommen;

tail -f /var/log/mail.info
E-Mail beantwortet und es kam:
Code:
Feb 23 15:25:45 sk postfix/smtpd[3605]: connect from dslb-088-067-178-155.pools.arcor-ip.net[88.67.178.155]
Feb 23 15:25:45 sk postfix/smtpd[3605]: EC4975FD00A3: client=dslb-088-067-178-155.pools.arcor-ip.net[88.67.178.155], sasl_method=LOGIN, sasl_username=info@MEINEDOMAIN.de
Feb 23 15:25:46 sk postfix/cleanup[3613]: EC4975FD00A3: message-id=<11B5F522DCE740A6BC32F83C5E0C47E8@KAYAPC>
Feb 23 15:25:46 sk postfix/qmgr[11838]: EC4975FD00A3: from=<info@MEINEDOMAIN.de>, size=1032, nrcpt=1 (queue active)
Feb 23 15:25:46 sk postfix/smtp[3615]: EC4975FD00A3: to=<meinname@absenderdomain.de>, relay=mail.absenderdomain.de[178.63.55.7]:25, delay=0.97, delays=0.16/0.18/0.41/0.22, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 816201A1E91B)
Feb 23 15:25:46 sk postfix/qmgr[11838]: EC4975FD00A3: removed
Feb 23 15:25:48 sk postfix/smtpd[3605]: disconnect from dslb-088-067-178-155.pools.arcor-ip.net[88.67.178.155]
E-Mail wurde zugestellt;

Komisch, jetzt aufeinmal gehts ohne das was dran gemacht wurde;

An den "Logs" ist jetzt nichts zu erkennen, wo auf ein Fehler deutet, oder?


Naja, ich würde mal sagen, dass ich das mit der E-Mail nun eine längere Zeit mal so teste, jetzt scheint es doch zu gehen und wenn was wäre, würde ich mich melden.

Nun kommen wir zum php Problem...
bei der Eingabe von "apache2ctl -M" kommt:
Code:
WARNING: MaxClients (10) must be at least as large
as ThreadsPerChild (25). Automatically
increasing MaxClients to 25.
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_worker_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)
cgid_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
fcgid_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)
suexec_module (shared)
Syntax OK
02-24-2012 12:28 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #24
RE: paar Fehler
ok, nächstes:
ls -la /etc/apache2/mods-enabled/ | grep cgi



mail: kannst ja mal nach postgrey greppen - in allen mail.info logs (auch den alten)
02-24-2012 12:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sKaya Offline
Junior Member
*

Posts: 19
Joined: Feb 2012
Reputation: 0
Post: #25
RE: paar Fehler
Code:
lrwxrwxrwx 1 root root   26 May 31  2011 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root   27 Feb 22 04:14 cgid.conf -> ../mods-available/cgid.conf
lrwxrwxrwx 1 root root   27 Feb 22 04:14 cgid.load -> ../mods-available/cgid.load
lrwxrwxrwx 1 root root   34 Feb 19 13:19 fcgid_ispcp.conf -> ../mods-available/fcgid_ispcp.conf
lrwxrwxrwx 1 root root   34 Feb 19 13:19 fcgid_ispcp.load -> ../mods-available/fcgid_ispcp.load
02-24-2012 12:49 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #26
RE: paar Fehler
hm - also soweit ok.

Also, wo sind die weissen Seiten? Bei ispcp selbst oder bei Kundenseiten?

phpinfo ist normal deaktivier - eine Check-Datei wäre eher sowas:

<?php echo 7*8; ?>

/J
02-24-2012 03:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sKaya Offline
Junior Member
*

Posts: 19
Joined: Feb 2012
Reputation: 0
Post: #27
RE: paar Fehler
ispCP funktioniert, wenn ich mit ispCP bei einer Domain einen FTP User erstelle und mich dann mit "filezilla" einlogge auf den Server mit dem von mir angelegten User, und dort php Sachen auflade und dann durch die Domain/Subdomain zugreifen will kommt nur weiß, wenn ich den von dir angegebenen Code drauf tu kommt und die Seite aufrufe kommt: 56

Jedoch wenn ich z.B. ein Webinterface für Teamspeak installieren will und die PHP Dateien alle auflade und die Ordner und dann die Domain aufrufe erscheint auch nur eine Weiße Seite;

Das Panel selbst funktioniert ja soweit;
02-24-2012 04:08 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #28
RE: paar Fehler
Also, PHP funktioniert grundsätzlich auch - sonst würde mein kleines Beispiel nicht klappen.

Nun gibt es für die weisse Seite also andere Gründe.

Schau mal in die Logs:

/var/log/apache2/problem-domain.tld-combined.log
/var/log/apache2/users/problem-domain.tld-error.log
/var/log/apache2/default-error.log
/var/log/apache2/suexec.log

in der Zeit, wo du die Seite aufgerufen hast....

/Joxi
02-24-2012 06:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sKaya Offline
Junior Member
*

Posts: 19
Joined: Feb 2012
Reputation: 0
Post: #29
RE: paar Fehler
/var/log/apache2/problem-domain.tld-combined.log
Code:
88.67.178.155 - - [23/Feb/2012:21:23:26 +0100] "GET / HTTP/1.1" 500 20 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
88.67.178.155 - - [23/Feb/2012:21:23:26 +0100] "GET /favicon.ico HTTP/1.1" 404 372 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
88.67.178.155 - - [23/Feb/2012:21:23:26 +0100] "GET /favicon.ico HTTP/1.1" 404 372 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
88.67.178.155 - - [23/Feb/2012:21:23:26 +0100] "GET /favicon.ico HTTP/1.1" 404 372 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"

/var/log/apache2/users/problem-domain.tld-error.log
samp.problem-domain... gab es nicht, es gab nur meinedomain.tld-error.log
Code:
[Thu Feb 23 21:23:26 2012] [error] [client 88.67.178.155] File does not exist: /var/www/virtual/meinedomain.de/samp/htdocs/favicon.ico
[Thu Feb 23 21:23:26 2012] [error] [client 88.67.178.155] File does not exist: /var/www/virtual/meinedomain.de/samp/htdocs/favicon.ico
[Thu Feb 23 21:23:26 2012] [error] [client 88.67.178.155] File does not exist: /var/www/virtual/meinedomain.de/samp/htdocs/favicon.ico
p.s. wegs dem "file does not exist" > habe nun in den pfad ein favicon.ico geladen, geht trotzdem nicht

/var/log/apache2/default-error.log
Code:
leer

/var/log/apache2/suexec.log
Code:
leer
(This post was last modified: 02-24-2012 06:37 AM by sKaya.)
02-24-2012 06:25 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #30
RE: paar Fehler
Also, du bekommst einen 500er (Fehlermledung 500):
> 88.67.178.155 - - [23/Feb/2012:21:23:26 +0100] "GET / HTTP/1.1" 500 20

Offenbar wird diese Meldung nicht korrekt angezeigt - wieder sehr seltsam, da normalerweise da ein fenster erscheint mit ispcp und "Fehler 500".

Nun sollten wir mehr Infos zu diesem 500er bekommen - und schön wäre, wenn die fehlermeldung wenigstens lesbar erscheint - und nicht einfach weiss...

Gibt's innerhalb /var/log/apache2 noch andere Dateien, die zur selben Zeit geändert wurden (also Seite nochmals aufrufen und dann direkt alle neuen Dateien nachschlagen...).

Dann der 500er - da wäre es gut, wenn PHP-Fehler geloggt werden... Aber ich kann hier nicht jeden Schritt im Detail erklären - In deiner Installatio stimmen Dinge nicht, die normalerweise ohne Probleme klappen - und es wird immer mehr....

Keine Ahnung, was da schief läuft.

/J
02-24-2012 09:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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