You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the issue that the docker container is stuck in restaring after docker-compose down and docker-compose up -d.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
44bf1c1e0fee osixia/openldap-backup:1.5.0 "/container/tool/run" 21 seconds ago Restarting (1) 2 seconds ago openldap
PS C:\Users\xgvnhow\Documents\Git-RD\docker-files-prod-B\openldap> docker logs openldap
*** INFO | 2022-07-14 15:18:50 | CONTAINER_LOG_LEVEL = 3 (info)
*** INFO | 2022-07-14 15:18:50 | Search service in CONTAINER_SERVICE_DIR = /container/service :
*** INFO | 2022-07-14 15:18:50 | link /container/service/:cron/startup.sh to /container/run/startup/:cron
*** INFO | 2022-07-14 15:18:50 | link /container/service/:cron/process.sh to /container/run/process/:cron/run
*** INFO | 2022-07-14 15:18:50 | link /container/service/:logrotate/startup.sh to /container/run/startup/:logrotate
*** INFO | 2022-07-14 15:18:50 | link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** INFO | 2022-07-14 15:18:50 | link /container/service/:syslog-ng-core/startup.sh to /container/run/startup/:syslog-ng-core
*** INFO | 2022-07-14 15:18:50 | link /container/service/:syslog-ng-core/process.sh to /container/run/process/:syslog-ng-core/run
*** INFO | 2022-07-14 15:18:50 | link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** INFO | 2022-07-14 15:18:50 | link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** INFO | 2022-07-14 15:18:50 | link /container/service/slapd-backup/startup.sh to /container/run/startup/slapd-backup
*** INFO | 2022-07-14 15:18:50 | Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/98-default/default.yaml
/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'
*** INFO | 2022-07-14 15:18:50 | Running /container/run/startup/:cron...
*** INFO | 2022-07-14 15:18:50 | Running /container/run/startup/:logrotate...
*** INFO | 2022-07-14 15:18:50 | Running /container/run/startup/:ssl-tools...
*** INFO | 2022-07-14 15:18:50 | Running /container/run/startup/:syslog-ng-core...
*** INFO | 2022-07-14 15:18:50 | Running /container/run/startup/slapd...
*** INFO | 2022-07-14 15:18:50 | openldap user and group adjustments
*** INFO | 2022-07-14 15:18:50 | get current openldap uid/gid info inside container
*** INFO | 2022-07-14 15:18:50 | CUR_USER_UID (911) does't match LDAP_OPENLDAP_UID (1012), adjusting...
*** INFO | 2022-07-14 15:18:50 | CUR_USER_GID (911) does't match LDAP_OPENLDAP_GID (1000), adjusting...
*** INFO | 2022-07-14 15:18:50 | -------------------------------------
*** INFO | 2022-07-14 15:18:50 | openldap GID/UID
*** INFO | 2022-07-14 15:18:50 | -------------------------------------
*** INFO | 2022-07-14 15:18:50 | User uid: 1012
*** INFO | 2022-07-14 15:18:50 | User gid: 1000
*** INFO | 2022-07-14 15:18:50 | uid/gid changed: true
*** INFO | 2022-07-14 15:18:50 | -------------------------------------
*** INFO | 2022-07-14 15:18:50 | updating file uid/gid ownership
*** INFO | 2022-07-14 15:18:51 | Start OpenLDAP...
*** ERROR | 2022-07-14 15:18:51 | /container/run/startup/slapd failed with status 1
*** INFO | 2022-07-14 15:18:51 | Killing all processes...
*** INFO | 2022-07-14 15:18:55 | CONTAINER_LOG_LEVEL = 3 (info)
*** INFO | 2022-07-14 15:18:55 | Search service in CONTAINER_SERVICE_DIR = /container/service :
*** INFO | 2022-07-14 15:18:55 | link /container/service/:cron/startup.sh to /container/run/startup/:cron
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:cron/startup.sh to /container/run/startup/:cron: [Errno 17] File exists: '/container/service/:cron/startup.sh' -> '/container/run/startup/:cron'
*** INFO | 2022-07-14 15:18:55 | link /container/service/:cron/process.sh to /container/run/process/:cron/run
*** WARNING | 2022-07-14 15:18:55 | directory /container/run/process/:cron already exists
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:cron/process.sh to /container/run/process/:cron/run : [Errno 17] File exists: '/container/service/:cron/process.sh' -> '/container/run/process/:cron/run'
*** INFO | 2022-07-14 15:18:55 | link /container/service/:logrotate/startup.sh to /container/run/startup/:logrotate
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:logrotate/startup.sh to /container/run/startup/:logrotate: [Errno 17] File exists: '/container/service/:logrotate/startup.sh' -> '/container/run/startup/:logrotate'
*** INFO | 2022-07-14 15:18:55 | link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools: [Errno 17] File exists: '/container/service/:ssl-tools/startup.sh' -> '/container/run/startup/:ssl-tools'
*** INFO | 2022-07-14 15:18:55 | link /container/service/:syslog-ng-core/startup.sh to /container/run/startup/:syslog-ng-core
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:syslog-ng-core/startup.sh to /container/run/startup/:syslog-ng-core: [Errno 17] File exists: '/container/service/:syslog-ng-core/startup.sh' -> '/container/run/startup/:syslog-ng-core'
*** INFO | 2022-07-14 15:18:55 | link /container/service/:syslog-ng-core/process.sh to /container/run/process/:syslog-ng-core/run
*** WARNING | 2022-07-14 15:18:55 | directory /container/run/process/:syslog-ng-core already exists
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/:syslog-ng-core/process.sh to /container/run/process/:syslog-ng-core/run : [Errno 17] File exists: '/container/service/:syslog-ng-core/process.sh' -> '/container/run/process/:syslog-ng-core/run'
*** INFO | 2022-07-14 15:18:55 | link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/slapd/startup.sh to /container/run/startup/slapd: [Errno 17] File exists: '/container/service/slapd/startup.sh' -> '/container/run/startup/slapd'
*** INFO | 2022-07-14 15:18:55 | link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** WARNING | 2022-07-14 15:18:55 | directory /container/run/process/slapd already exists
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/slapd/process.sh to /container/run/process/slapd/run : [Errno 17] File exists: '/container/service/slapd/process.sh' -> '/container/run/process/slapd/run'
*** INFO | 2022-07-14 15:18:55 | link /container/service/slapd-backup/startup.sh to /container/run/startup/slapd-backup
*** WARNING | 2022-07-14 15:18:55 | failed to link /container/service/slapd-backup/startup.sh to /container/run/startup/slapd-backup: [Errno 17] File exists: '/container/service/slapd-backup/startup.sh' -> '/container/run/startup/slapd-backup'
*** INFO | 2022-07-14 15:18:55 | Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/98-default/default.yaml
/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'
*** INFO | 2022-07-14 15:18:55 | Running /container/run/startup/:cron...
*** INFO | 2022-07-14 15:18:55 | Running /container/run/startup/:logrotate...
*** INFO | 2022-07-14 15:18:56 | Running /container/run/startup/:ssl-tools...
*** INFO | 2022-07-14 15:18:56 | Running /container/run/startup/:syslog-ng-core...
*** INFO | 2022-07-14 15:18:56 | Running /container/run/startup/slapd...
*** INFO | 2022-07-14 15:18:56 | openldap user and group adjustments
*** INFO | 2022-07-14 15:18:56 | get current openldap uid/gid info inside container
*** INFO | 2022-07-14 15:18:56 | -------------------------------------
*** INFO | 2022-07-14 15:18:56 | openldap GID/UID
*** INFO | 2022-07-14 15:18:56 | -------------------------------------
*** INFO | 2022-07-14 15:18:56 | User uid: 1012
*** INFO | 2022-07-14 15:18:56 | User gid: 1000
*** INFO | 2022-07-14 15:18:56 | uid/gid changed: false
*** INFO | 2022-07-14 15:18:56 | -------------------------------------
*** INFO | 2022-07-14 15:18:56 | updating file uid/gid ownership
*** INFO | 2022-07-14 15:18:57 | Start OpenLDAP...
*** ERROR | 2022-07-14 15:18:57 | /container/run/startup/slapd failed with status 1
*** INFO | 2022-07-14 15:18:57 | Killing all processes...
The text was updated successfully, but these errors were encountered:
I have the issue that the docker container is stuck in
restaring
afterdocker-compose down
anddocker-compose up -d
.CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 44bf1c1e0fee osixia/openldap-backup:1.5.0 "/container/tool/run" 21 seconds ago Restarting (1) 2 seconds ago openldap
The compose file looks like:
And the logs look like
The text was updated successfully, but these errors were encountered: