-
Notifications
You must be signed in to change notification settings - Fork 29
Can't get an FPM pool running #71
Comments
Tried a different version. But it also looks like phpenv isnt installing the executables before its starts to get it running: Error: Execution of '/bin/launchctl start dev.php-fpm.5.3.23' returned 3:
Error: /Stage[main]/Projects::Api/Php::Project[api]/Php::Fpm::Pool[api-5.3.23]/Php::Fpm[5.3.23]/Php::Fpm::Service[5.3.23]/Service[dev.php-fpm.5.3.23]/ensure: change from stopped to running failed: Execution of '/bin/launchctl start dev.php-fpm.5.3.23' returned 3: This file does not exist: <key>ProgramArguments</key>
<array>
<string>/opt/boxen/phpenv/versions/5.3.23/sbin/php-fpm</string>
<string>--fpm-config</string>
<string>/opt/boxen/config/php/5.3.23/php-fpm.conf</string>
</array> |
Hmm. Seems to me phpenv does not work at all... It fails miserably. I can't figure out why. + [config.source:55] '[' -n '' ']'
+ [phpenv-install:667] trap build_error ERR EXIT
+ [phpenv-install:670] install_release
[Fetching] |1| latest code from Github repo
BUILD ERROR: STATUS is 1
The script aborted unexpectedly when a command returned a non zero exit code.
Last 10 linens from the error log file may shed some light
-------------------------------------------------------------------------------------
+ [phpenv-install:193] /opt/boxen/homebrew/bin/git fetch --tags
+ [phpenv-install:188] build_error
+ [phpenv-install:213] [[ 1 -eq 0 ]]
+ [phpenv-install:214] echo
+ [phpenv-install:215] echo 'BUILD ERROR: STATUS is 1'
+ [phpenv-install:216] echo 'The script aborted unexpectedly when a command returned a non zero exit code.'
+ [phpenv-install:217] awk 'END{exit NR == 0};' /tmp/phpenv-install-php-5.4.24.20150529130531.log.err
+ [phpenv-install:218] echo 'Last 10 linens from the error log file may shed some light'
+ [phpenv-install:219] echo -------------------------------------------------------------------------------------
++ [phpenv-install:220] tail -n10 /tmp/phpenv-install-php-5.4.24.20150529130531.log.err
-------------------------------------------------------------------------------------
|
Looks like a permissions issue in the .git folder... Continuing to investigate |
Which leads me to phpenv... Which is a nightmare of bugs and problems... Build paths are incorrect on versions, directories are not created properly causing it to fail... How has this package ever worked?... Is there something other than phpenv? |
phpenv/phpenv does not work. I would advise possibly moving to this: https://github.com/CHH/phpenv travisCI use it seemingly effectively... |
Hi @outrunthewolf. In your further testing (after it not initially working) are you trying to use phpenv to install php? I found installation via phpenv didn't work reliably at all, so much so that this module uses a custom puppet provider to provide
The |
Thanks @mattheath I've had a terrible 7 hours with this. I kind of started to figure thats how you were using phpenv, seen as there is zero way it would work without you doing some manipulation somewhere. Anyway, i've had my hissy fit, cleaned up my config as suggested. I'm still getting this problem. Error: Execution of '/bin/launchctl start dev.php-fpm.5.3.23' returned 3:
Error: /Stage[main]/Projects::Api/Php::Project[api]/Php::Fpm::Pool[api-5.3.23]/Php::Fpm[5.3.23]/Php::Fpm::Service[5.3.23]/Service[dev.php-fpm.5.3.23]/ensure: change from stopped to running failed: Execution of '/bin/launchctl start dev.php-fpm.5.3.23' returned 3: I've got to be missing something somewhere. |
|
Yes "/Library/LaunchDaemons/dev.php-fpm.${version}.plist" exists What is the output of /bin/launchctl start dev.php-fpm.5.3.23 when you run it manually? The output is 3, which I think is file not found. When I look at the launchdaemon file, its shows fpm as being here: <key>ProgramArguments</key>
<array>
<string>/opt/boxen/phpenv/versions/5.3.23/sbin/php-fpm</string>
<string>--fpm-config</string>
<string>/opt/boxen/config/php/5.3.23/php-fpm.conf</string>
</array> None of those files exist... |
I don't think we are supporting 5.3.X versions at all, only 5.4 or higher. |
Excuse my stupidity. I can't seem to get an FPM pool running. Here is my config:
I get various errors with whatever I try, here is my error for this configuration:
I would be happy to contribute to the docs if I could figure out how it all worked. Thanks.
The text was updated successfully, but these errors were encountered: