-
Notifications
You must be signed in to change notification settings - Fork 16
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
On Ubuntu 16.04, Bootstrap fails #23
Comments
It looks like it was working before my series of PRs, but I can't find where it broke. |
I've had that happen on the Chef cookbook as well. I think I got around it by waiting for the service to come up. I call the info endpoint on the api until I get a request, I retry 5 times and give up if I don't get anything back. |
It looks like zend-server service is stopped completely somehow. I don't know why it's OK on RHEL... |
We'll need to execute with higher verbosity or review the logs. It's just not restarting after install it would seem. |
Already looked at the logs. Didn't find anything except that a |
@mkherlakian please add the Ubuntu label to this ticket please |
Everything looks like it's doing fine...
Notice: /Stage[main]/Zendserver::Service/Service[zend-server]/ensure: ensure changed 'stopped' to 'running'
But...
Notice: /Stage[main]/Zendserver::Bootstrap::Exec/Exec[zend-server-init]/returns: Error: API error: Unable to Connect to tcp://localhost:10081. Error #111: Connection refused Error: /usr/local/zend/bin/zs-bootstrap-puppet.sh returned 1 instead of one of [0] Error: /Stage[main]/Zendserver::Bootstrap::Exec/Exec[zend-server-init]/returns: change from notrun to 0 failed: /usr/local/zend/bin/zs-bootstrap-puppet.sh returned 1 instead of one of [0]
If I look in the logs, it looks like the service has been stopped.
Notice: /Stage[main]/Zendserver::Service/Service[zend-server]/ensure: ensure changed 'stopped' to 'running' Notice: /Stage[main]/Zendserver::Bootstrap::Exec/Exec[zend-server-init]/returns: Error: API error: Unable to Connect to tcp://localhost:10081. Error #111: Connection refused Error: /usr/local/zend/bin/zs-bootstrap-puppet.sh returned 1 instead of one of [0] Error: /Stage[main]/Zendserver::Bootstrap::Exec/Exec[zend-server-init]/returns: change from notrun to 0 failed: /usr/local/zend/bin/zs-bootstrap-puppet.sh returned 1 instead of one of [0]
If I start the service manually, then run the bootstrap, it works.
The text was updated successfully, but these errors were encountered: