Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kraken project:create throws an exception #45

Closed
abshammeri opened this issue Oct 12, 2016 · 3 comments
Closed

Kraken project:create throws an exception #45

abshammeri opened this issue Oct 12, 2016 · 3 comments

Comments

@abshammeri
Copy link

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
Copy link
Member

khelle commented Oct 12, 2016

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

  • Are there any errors in logs?
  • If not, what is the reason that sub-processed returned with fail ?
  • You could try to restore default data settings as something might be configured wrongly.
  • Does the Kraken have proper chmod set for data directory ?

@khelle khelle changed the title kraken project:create throws an exception Kraken project:create throws an exception Oct 12, 2016
@tsdarky
Copy link

tsdarky commented Oct 15, 2016

Restart kraken.server helped me

@khelle
Copy link
Member

khelle commented Oct 18, 2016

This problem occurs due the same reasons as #49 .

@khelle khelle closed this as completed Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants