-
Notifications
You must be signed in to change notification settings - Fork 4
Unable to start php7.0-fpm service, wabash crashes. #10
Comments
Same here. I noticed that the same error comes up for a service that doesn't exist (php7.0-fpm does exist, and works when started in the terminal). |
Just a note: I am going to look into this, but I may not be able to get to it particularly soon as I've been up against some pretty tight deadlines this last month and it doesn't look like they're going away soon. Sorry, folks. In the meantime... pull requests gratefully accepted? :) |
I would take a stab at it but I was not able to get all the postsharp stuff to work. Its not something I use. However, I would guess the issue is in the DaemonManager.cs. When the php service starts it only has output if start up fails. Most services will exit and output something like [OK] but php just starts silently. In your switch statement if you can't find a valid message after startup you default to unknown and Die. I would consider creating a configurable list of services that do not exit have and use alternate behavior where you accept a non exit, no output as success and any thing else as a failure. I would try to test this idea out but I can't build the project because of the postsharp stuff. |
I think this is relevant to this issue. http://askubuntu.com/questions/792940/no-output-from-service-start-stop-restart-command It states that the no output is/should be the normal operation of most services. |
Unfortunately, I'm also pretty useless on the pull request front as I'm mainly a Javascript guy. But I think valeryan is on to something, and that the behavior of the status messages is different with the php service (non existent) for some reason. As a user, that would seem like a bug in Ubuntu, but that's for another place. Thanks for your work. Aside from this minor issue, Wabash for me the difference of using WLS or not. I tend to be very close happy on my windows (which meant bye bye webserver, database, etc. every time :/) Side note: one nice feature for a rainy day would be to add an option to the task icon to suppress notifications (only thing stopping me from checking "start with windows"). |
By the looks of things, the issue comes from here. Would it be destructive to change
to:
? I'd mess around with it but I don't know how to compile. |
this might be related to php-fpm in Ubuntu trying to create its pid file in |
@heldchen I will give that a try, however php7 starts fine. The problem is that wabash can't start it. |
@valeryan I've created a replacement in this version, the response to the Wabash |
I am trying to use wabash to setup my WSL instance for web development. I was able to startup nginx and mysql without problem but I get an error when I try to add php to the config.
I get an error dialog that states
Error, unknown message, or garbled channel: serror php7.0-fpm
.This is my config:
The text was updated successfully, but these errors were encountered: