[php-maint] Bug#619546: php5-fpm init script failing with error code 1 regardless of failure
Eusebi Giampaolo
giampaolo.eusebi at yahoo.it
Wed Mar 30 22:06:20 UTC 2011
I haven't read all the thread but /etc/init.d/php5-fpm doesn't start
php5-fpm on boot (while it start it if called from the shell)..
I resolved the problem swapping the first two lines of the "start" case
in /etc/init.d/php5-fpm.. something like:
[patch]
*** php5-fpm 2011-03-30 23:57:31.989484928 +0200
--- /etc/init.d/php5-fpm 2011-03-30 23:58:21.073525751 +0200
***************
*** 109,116 ****
case "$1" in
start)
- do_check $VERBOSE
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
case "$?" in
0)
do_start
--- 109,116 ----
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+ do_check $VERBOSE
case "$?" in
0)
do_start
[/patch]
I think php5-fpm isn't starting because you're testing the return value
of the wrong line..
Am i right?
Sorry for my english,
by the way thanks for your work.
Eusebi Giampaolo
More information about the pkg-php-maint
mailing list