Current time: 11-15-2024, 07:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
In Unterordnern wir kein php.Script ausgeführt
Author Message
frankroeske Offline


Posts: 3
Joined: Nov 2007
Reputation: 0
Post: #1
In Unterordnern wir kein php.Script ausgeführt
Hallo ich habe mir gestern ganz frisch ispCP auf meinem Vserver installiert. So weit läuft das System auch sehr gut.

Nun habe ich meine alte moodle installation in den htdocs-Ordner kopiert und die moodle-Datenbank wieder angelegt. Nun wollt ich moodle aufrufen (example.de/moodle/). Doch statt die index.php auszuführen, stelle mein Server die Datei zum Download bereit.

Ist das Problem schon bekannt?
Welche Einstellungen müsste ich ändern?


Gruß
Frank
11-01-2007 08:39 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: In Unterordnern wir kein php.Script ausgeführt
Es scheint so als ob dein PHP nicht ordentlich läuft - kannst du dich ins ispcp einloggen ?
laufen php-cgi Prozesse unter der userid der von dir angelegten domain ?
11-01-2007 08:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
frankroeske Offline


Posts: 3
Joined: Nov 2007
Reputation: 0
Post: #3
RE: In Unterordnern wir kein php.Script ausgeführt
Danke für die Antwort.

Die ispcp-Oberfläche funktioniert alles einwandfrei.
Ich habe jetzt mal ausprobiert für meine Domain CGI zu deaktivieren. Und siehe da alles klappt. Gibt es einen Grund dafür warum es mit CGI nicht funktioniert?

Ich habe mal in den log-Files mal nachgeschaut. Und die error.log hatte sehr viele Eintragungen mit FasCGI:

Quote:[Wed Oct 31 23:28:54 2007] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations
[Wed Oct 31 23:37:52 2007] [notice] caught SIGTERM, shutting down
[Wed Oct 31 23:37:58 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 31 23:37:58 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 31 23:37:58 2007] [notice] FastCGI: process manager initialized (pid 11051)
[Wed Oct 31 23:37:58 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 11052)
[Wed Oct 31 23:37:58 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Wed Oct 31 23:48:36 2007] [notice] SIGHUP received. Attempting to restart
[Wed Oct 31 23:48:36 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 31 23:48:36 2007] [notice] FastCGI: process manager initialized (pid 25895)
[Wed Oct 31 23:48:36 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 25896)
[Wed Oct 31 23:48:36 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Wed Oct 31 23:55:39 2007] [notice] SIGHUP received. Attempting to restart
[Wed Oct 31 23:55:39 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 31 23:55:39 2007] [notice] FastCGI: process manager initialized (pid 26228)
[Wed Oct 31 23:55:39 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 26229)
[Wed Oct 31 23:55:39 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 09:11:35 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXX.de/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 31488)
[Thu Nov 01 09:20:41 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXX.de/php5-fcgi-starter" (pid 31488) termination signaled
[Thu Nov 01 09:20:41 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXX.de/php5-fcgi-starter" (pid 31488) terminated by calling exit with status '0'
[Thu Nov 01 09:33:55 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 09:33:55 2007] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Thu Nov 01 09:33:55 2007] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Thu Nov 01 09:34:23 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 09:34:23 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 09:34:23 2007] [notice] FastCGI: process manager initialized (pid 2307)
[Thu Nov 01 09:34:23 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 09:34:23 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 2364)
[Thu Nov 01 10:55:09 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 10:56:06 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 10:56:06 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 10:56:06 2007] [notice] FastCGI: process manager initialized (pid 1459)
[Thu Nov 01 10:56:06 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 10:56:06 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1517)
[Thu Nov 01 10:57:38 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/frankroeske.de/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 1596)
[Thu Nov 01 11:02:27 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 11:02:27 2007] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Thu Nov 01 11:02:27 2007] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Thu Nov 01 11:02:51 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:02:51 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:02:51 2007] [notice] FastCGI: process manager initialized (pid 1451)
[Thu Nov 01 11:02:51 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 11:02:51 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1452)
[Thu Nov 01 11:48:35 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 11:48:59 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:48:59 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:48:59 2007] [notice] FastCGI: process manager initialized (pid 1462)
[Thu Nov 01 11:48:59 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 11:48:59 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1466)
[Thu Nov 01 11:50:21 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 11:50:48 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:50:48 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 11:50:48 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 11:50:48 2007] [notice] FastCGI: process manager initialized (pid 1450)
[Thu Nov 01 11:50:48 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1508)
[Thu Nov 01 14:50:01 2007] [notice] SIGHUP received. Attempting to restart
apache2: apr_sockaddr_info_get() failed for XXXXXXX\XXXXXX\nXXXXXXXXXXXX.de
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Nov 01 14:50:01 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 14:50:01 2007] [notice] FastCGI: process manager initialized (pid 15394)
[Thu Nov 01 14:50:01 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 15395)
[Thu Nov 01 14:50:01 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 14:50:10 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXXX.de/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 15464)
[Thu Nov 01 14:54:05 2007] [notice] caught SIGTERM, shutting down
[Thu Nov 01 14:54:05 2007] [alert] FastCGI: read() from pipe failed (0)
[Thu Nov 01 14:54:05 2007] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Thu Nov 01 14:54:30 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 14:54:30 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 14:54:30 2007] [notice] FastCGI: process manager initialized (pid 1450)
[Thu Nov 01 14:54:30 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 14:54:30 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1508)
[Thu Nov 01 14:54:54 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXX.de/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 1585)
[Thu Nov 01 14:57:35 2007] [notice] SIGHUP received. Attempting to restart
[Thu Nov 01 14:57:35 2007] [alert] FastCGI: read() from pipe failed (0)
[Thu Nov 01 14:57:35 2007] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
apache2: apr_sockaddr_info_get() failed for XXXX.XXXX\XXXXXX\XXXXX.XXXXXX.de
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Nov 01 14:57:35 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Nov 01 14:57:35 2007] [notice] FastCGI: process manager initialized (pid 1814)
[Thu Nov 01 14:57:35 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1815)
[Thu Nov 01 14:57:35 2007] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Thu Nov 01 15:11:54 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXXX.de/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 1997)
[Thu Nov 01 15:12:35 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXXXX.de/php5-fcgi-starter" (pid 1997) termination signaled
[Thu Nov 01 15:12:35 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/XXXXXXXXXXXX.de/php5-fcgi-starter" (pid 1997) terminated by calling exit with status '0'


Gruß Frank[/quote]
(This post was last modified: 11-02-2007 12:21 AM by frankroeske.)
11-02-2007 12:16 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #4
RE: In Unterordnern wir kein php.Script ausgeführt
sieht eigentlich alles soweit normal aus - der php5-fcgi-starter für deine 1ste domain abseits des panels startet ordnungsgemäß (vu2001) interessant wäre mal ein log, wenn du CGI enabled hast - dann sollten ja ein paar Fehlerchen sichtbar sein ...
11-02-2007 12:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
frankroeske Offline


Posts: 3
Joined: Nov 2007
Reputation: 0
Post: #5
RE: In Unterordnern wir kein php.Script ausgeführt
Hallo!

Danke für di Hilfe.
Ich habe jetzt CGI wieder angeschaltet um ein paar Ergebnisse mit FastCGI zu bekommen.
Und plötzlich hat trotz dem noch alles funktioniert.

Sehr eigenartig?!

Gruß Frank
11-02-2007 01:15 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)