-
Notifications
You must be signed in to change notification settings - Fork 974
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
container bootlooping #98
Comments
hello, can you post docker inspect for this container ? |
When I use the docker-compose file in the example you provide and try to run it, sort of works but when you go to the webui u get something like: Parse error: syntax error, unexpected '}' in /container/service/phpldapadmin/assets/config.php on line 68 I hope this helps |
@scornea thanks for your feedback, i think your facing this error: osixia/docker-phpLDAPadmin#23 from the phpldapadmin image. If you remove phpldapadmin from the docker-compose file is openldap working ? @typia error seems to be linked to openldap container only. It would be greate to have more logs to see whats happens with rancher :) |
@osixia it worked the way you recommended locally (on my machine), however, if I do the same thing on another machine using Rancher, I will get the same error as @typia reported and I've also reported (and u've closed it as being the same as this one) I've also run the container using --loglevel trace but as it is on my local machine wouldn't show any problems with it |
@osixia oki so i've run the container in Rancher and I've used the --loglevel command and i've discovered this by the end of the initialisation proc: 13/12/2016 10:33:01584fce5d daemon: getaddrinfo() failed: No address associated with hostname |
Hi all, thanks a lot for your feedback, sorry did not have time to answer. I also raised an issue on rancher github rancher/rancher#7015 |
@typia i've resolved the problem by having a internal service link from the openldap container to the "hostname" i want such as: openldap -> ldap.example.com |
@scornea I connect my openldap container by using it as an external service in another stack so I don't want to get an hostname .. |
running this image with rancher for over a year now, no issues involved at all: https://github.com/EugenMayer/docker-rancher-extra-catalogs/tree/master/templates/openldap .. pretty sure this one can be closed |
thanks for the feedback |
Hello, i have the same issue in 1.2.3 and i just pass it some environment variabes, and i get the same issue: docker run -p 389:389 -p 636:636 $ docker logs openldap To see how this files are processed and environment variables values, *** Killing all processes... What am i doing wrong? |
@alexandracretu did you ever resolve this issue? I'm having it now |
@alexandracretu @ilovemysillybanana seems related to the usage of LDAP_READONLY_USER="true" Using this option, OpenLDAP container startup fails with the following trace:
|
In fact another piece of the error is due to this line of the startup script which implies that your environment variable
should be
as But this seems also related to the following issues #307, #172 and the corresponding PR #238 |
Hi,
I can't start the container.
My container is started with rancher 1.2.
here are the logs
` *** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** failed to link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools: [Errno 17] File exists
*** link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** failed to link /container/service/slapd/startup.sh to /container/run/startup/slapd: [Errno 17] File exists
*** link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** directory /container/run/process/slapd already exists
*** failed to link /container/service/slapd/process.sh to /container/run/process/slapd/run : [Errno 17] File exists
*** Set environment for startup files
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.startup.yaml
/container/environment/99-default/default.yaml
To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/startup/:ssl-tools...
*** Running /container/run/startup/slapd...
Start OpenLDAP...
*** /container/run/startup/slapd failed with status 1
*** Killing all processes... `
Could you please help ?
The text was updated successfully, but these errors were encountered: