kraken-php / framework

Asynchronous & Fault-tolerant PHP Framework for Distributed Applications.
http://kraken-php.com
MIT License
1.12k stars 59 forks source link

Kraken project:create throws an exception #45

Closed abshammeri closed 8 years ago

abshammeri commented 8 years ago

I executed the following:

as a root:

> composer create-project --prefer-dist kraken-php/kraken .
> php kraken.server
> php kraken server:ping 
> php kraken project:create

the last command throws this:

Executing : project:create ... failure!
Response  : "fwrite(): send of 159 bytes failed with errno=32 Broken pipe" in /home/vagrant/github/epp-client/vendor/kraken-php/util/Isolate/Isolate.php:73
Reason    : Kraken\Throwable\Error\NoticeError

PHP 5.6.17 (cli) (built: Jan 9 2016 10:31:18) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

Note that the following command works fine:

> php ./data/autorun/kraken.process undefined Main Main

Your help is appreciated. Thanks.

khelle commented 8 years ago

It seems like isolation mechanism did not spawn its subprocess. There is some things you can check / try :

tsdarky commented 8 years ago

Restart kraken.server helped me

khelle commented 8 years ago

This problem occurs due the same reasons as #49 .