terminated by calling exit with status '0'

Apache, Lighttpd, nginx, Cherokee
tomgrill
Posts: 17
Joined: 2002-09-24 09:53

terminated by calling exit with status '0'

Post by tomgrill » 2007-06-15 15:15

ich hab einen neuen server nach diesem tutorial aufgesetzt:
http://www.debianhowto.de/doku.php/de:h ... 2_php-fcgi

mittlerweile mit dem tutorial habe ich 4 server ohne größere probleme zum laufen gebraucht, aber die nummer 5 will einfach nicht, obwohl ich nichts anders gemacht habe wie zuvor. außer das es diesmal kein strato server ist. und mittlerweile php 5.2.3 angesagt ist statt 5.2.2

os: debian 4 etch

im 5 sekunden takt kommt folgende meldung im /var/log/apache2/error.log

Code: Select all

[Fri Jun 15 03:26:23 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4228) terminated by calling exit with status '0'
[Fri Jun 15 03:26:28 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4229)
[Fri Jun 15 03:26:28 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4229) terminated by calling exit with status '0'
[Fri Jun 15 03:26:33 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4230)
[Fri Jun 15 03:26:33 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4230) terminated by calling exit with status '0'
[Fri Jun 15 03:26:38 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4231)
[Fri Jun 15 03:26:38 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4231) terminated by calling exit with status '0'
[Fri Jun 15 03:26:43 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4232)
[Fri Jun 15 03:26:43 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4232) terminated by calling exit with status '0'
[Fri Jun 15 03:26:48 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4233)
[Fri Jun 15 03:26:48 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4233) terminated by calling exit with status '0'
[Fri Jun 15 03:26:53 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4234)
[Fri Jun 15 03:26:53 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4234) terminated by calling exit with status '0'
[Fri Jun 15 03:26:58 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (uid 1005, gid 1005) restarted (pid 4235)
[Fri Jun 15 03:26:58 2007] [warn] FastCGI: server "/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter" (pid 4235) terminated by calling exit with status '0'
/var/log/apache2/suexec.log haut dazu schön parralel diese meldungen raus:

Code: Select all

[2007-06-15 03:32:27]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:32]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:37]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:42]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:47]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:52]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:32:57]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter
[2007-06-15 03:33:02]: uid: (wuadmin/wuadmin) gid: (wuadmin/wuadmin) cmd: php-fcgi-starter

rechte und verzeichnisse stimmen. hab den vorgang zweimal schon durchgeführt, half aber nichts.

Code: Select all

FastCgiWrapper /usr/lib/apache2/suexec2
FastCgiServer /var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter -user wuadmin -group wuadmin

AddHandler php-fastcgi .php

<Location /cgi-bin/php-fcgi-starter>
        SetHandler fastcgi-script
        Options +ExecCGI
</Location>

Action php-fastcgi /cgi-bin/php-fcgi-starter

AddType application/x-httpd-php .php

/var/www/php-fcgi-scripts/wuadmin/php-fcgi-starter

Code: Select all

#!/bin/sh
PHPRC="/var/www/wuadmin/conf"
export PHPRC
#PHP_FCGI_CHILDREN=4
#export PHP_FCGI_CHILDREN
exec /home/php/fast-cgis/php-5.2.3/bin/php-fcgi
php -v

Code: Select all

PHP 5.2.3 (cli) (built: Jun 14 2007 23:50:14)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
vhost: (auch wenn ich ihn nicht enable selbes problem, aber zu vollständigkeit halber)

Code: Select all

<VirtualHost *:80>
        ServerAdmin me@domain.de
        ServerName domain.com
        ServerAlias www.domain

        DocumentRoot /var/www/wuadmin/htdocs
        DirectoryIndex index.php index.html index.htm

        SuexecUserGroup wuadmin wuadmin

        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        <Directory /var/www/wuadmin>
                Options FollowSymLinks
                AllowOverride AuthConfig
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/wuadmin/
        <Directory "/var/www/php-fcgi-scripts/wuadmin">
                AllowOverride None
                Options +ExecCGI -MultiViews -Indexes
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

        Alias /icons/ "/usr/share/apache2/icons/"
        <Directory "/usr/share/apache2/icons">
            Options Indexes MultiViews
            AllowOverride None
            Order allow,deny
            Allow from all
        </Directory>
</VirtualHost>

tomgrill
Posts: 17
Joined: 2002-09-24 09:53

Re: terminated by calling exit with status '0'

Post by tomgrill » 2007-06-15 15:32

danke hat sich soeben erledigt. es liegt an version 5.2.3, hab gerade mal 5.2.2

habe beide mal mit selben configure laufen lassen. ich werd das wiki anpassen sobald ich weis warum 5.2.3 nicht geht oder was man anders machen muss

rootsvr
Posts: 538
Joined: 2005-09-02 11:12

Re: terminated by calling exit with status '0'

Post by rootsvr » 2007-06-15 21:01

Dein php kann ke9in fastcgi.. zumindest bei mir war es nach dem bauen nicht mehr "php" sondern "php-cgi" welches ich nach dem Build-Prozeß nehmen mußte. guck mal ob Du auch eins hast.