wa0x6e / Fresque

A command line tool to manage your php-resque workers
MIT License
128 stars 56 forks source link

Starting worker ..................... Fail #49

Closed welcoMattic closed 9 years ago

welcoMattic commented 9 years ago

I just had this problem while Fresque worked perfectly. I stopped jobs, to restart (not through the command restart, but manually).

Then impossible to restart Fresque.

sudo fresque start -q backend --debug output :

[DEBUG] Will start 2 workers
[DEBUG] Starting worker (1)
[DEBUG] Running command :
    nohup sudo -u '_www' \
    bash -c "cd '/workspace/api/lib/Fresque/vendor/kamisama/php-resque-ex';  \
    VERBOSE=true  \
    QUEUE='default' \
    PIDFILE='/workspace/api/lib/Fresque/tmp/14266092016169' \
    APP_INCLUDE='/workspace/api/lib/Fresque/vendor/autoload.php' \
    RESQUE_PHP='/workspace/api/lib/Fresque/vendor/kamisama/php-resque-ex/lib/Resque.php' \
    INTERVAL='2' \
    REDIS_BACKEND='localhost:6379' \
    REDIS_DATABASE='0' \
    REDIS_NAMESPACE='resque' \
    COUNT=1 \
    LOGHANDLER='MongoDB' \
    LOGHANDLERTARGET='' \
    php './bin/resque' \
     >> '/var/log/Fresque/fresque.log' 2>&1" >/dev/null 2>&1 &
Starting worker ..................... Fail

Do you have an idea of the problem?

welcoMattic commented 9 years ago

Some write right issue causes this bug. My bad.