sipcapture / homer5-docker

HOMER 5 Docker Containers (OBSOLETE)
http://sipcapture.org
40 stars 61 forks source link

mysql is broken, will not build #50

Closed ghost closed 7 years ago

ghost commented 7 years ago

Cloning the repo and running the following fails to build the stack, MySQL errors out:

docker-compose build; docker-compose up; docker-compose logs

Docker-compose logs output:

Creating mysql
Creating homer-webapp
Creating homer-cron
Creating homer-kamailio
Creating bootstrap-mysql
Attaching to mysql, homer-kamailio, homer-cron, homer-webapp, bootstrap-mysql
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
homer-kamailio | Kamailio, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Checking if mysql is alive...
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 0 seconds so far
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
mysql exited with code 137
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 2 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 4 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
mysql exited with code 137
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 6 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 8 seconds so far
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
homer-kamailio | Kamailio, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 10 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 12 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 14 seconds so far
mysql exited with code 137
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 16 seconds so far
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 18 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 20 seconds so far
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 22 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 24 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 26 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 28 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 30 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 32 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 34 seconds so far
homer-webapp | Homer web app, waiting for MySQL
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 36 seconds so far
mysql exited with code 137
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 38 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 40 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 42 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 44 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 46 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 48 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 50 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 52 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 54 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 56 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 58 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 60 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
mysql        | /run.sh: line 15:     6 Killed                  ./entrypoint.sh mysqld
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 62 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
mysql        | /run.sh: line 15:     5 Killed                  ./entrypoint.sh mysqld
homer-webapp | Homer web app, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 64 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 66 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 68 seconds so far
homer-kamailio | Kamailio, waiting for MySQL
homer-cron   | Homer cron container, waiting for MySQL
homer-webapp | Homer web app, waiting for MySQL
^CGracefully stopping... (press Ctrl+C again to force)
Stopping bootstrap-mysql ... done

System information:

Client:
 Version:      17.06.0-ce
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Fri Jun 23 21:17:22 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.06.0-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Fri Jun 23 21:16:12 2017
 OS/Arch:      linux/amd64
 Experimental: false

root@docker:~/homer-docker# cat /proc/version
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)

root@docker:~/homer-docker# cat /etc/issue
Debian GNU/Linux 9 \n \l

root@docker:~/homer-docker# systemctl 
UNIT                                                              LOAD   ACTIVE SUB       DESCRIPTION                                         
proc-sys-fs-binfmt_misc.automount                                 loaded active waiting   Arbitrary Executable File Formats File System Automo
sys-devices-pci0000:00-0000:00:03.0-virtio0-net-eth0.device       loaded active plugged   Virtio network device                               
sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda-vda1.device loaded active plugged   /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v
sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda.device      loaded active plugged   /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v
sys-devices-pci0000:00-0000:00:06.0-virtio3-block-vdb.device      loaded active plugged   /sys/devices/pci0000:00/0000:00:06.0/virtio3/block/v
sys-devices-platform-serial8250-tty-ttyS1.device                  loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1          
sys-devices-platform-serial8250-tty-ttyS2.device                  loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2          
sys-devices-platform-serial8250-tty-ttyS3.device                  loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3          
sys-devices-pnp0-00:04-tty-ttyS0.device                           loaded active plugged   /sys/devices/pnp0/00:04/tty/ttyS0                   
sys-devices-virtual-net-docker0.device                            loaded active plugged   /sys/devices/virtual/net/docker0                    
sys-subsystem-net-devices-docker0.device                          loaded active plugged   /sys/subsystem/net/devices/docker0                  
sys-subsystem-net-devices-eth0.device                             loaded active plugged   Virtio network device                               
-.mount                                                           loaded active mounted   Root Mount                                          
dev-hugepages.mount                                               loaded active mounted   Huge Pages File System                              
dev-mqueue.mount                                                  loaded active mounted   POSIX Message Queue File System                     
run-user-0.mount                                                  loaded active mounted   /run/user/0                                         
sys-kernel-debug.mount                                            loaded active mounted   Debug File System                                   
var-lib-docker-overlay2.mount                                     loaded active mounted   /var/lib/docker/overlay2                            
systemd-ask-password-console.path                                 loaded active waiting   Dispatch Password Requests to Console Directory Watc
systemd-ask-password-wall.path                                    loaded active waiting   Forward Password Requests to Wall Directory Watch   
init.scope                                                        loaded active running   System and Service Manager                          
session-1.scope                                                   loaded active running   Session 1 of user root                              
cloud-config.service                                              loaded active exited    Apply the settings specified in cloud-config        
cloud-final.service                                               loaded active exited    Execute cloud user/final scripts                    
cloud-init-local.service                                          loaded active exited    Initial cloud-init job (pre-networking)             
cloud-init.service                                                loaded active exited    Initial cloud-init job (metadata service crawler)   
cron.service                                                      loaded active running   Regular background program processing daemon        
dbus.service                                                      loaded active running   D-Bus System Message Bus                            
docker.service                                                    loaded active running   Docker Application Container Engine                 
getty@tty1.service                                                loaded active running   Getty on tty1                                       
kmod-static-nodes.service                                         loaded active exited    Create list of required static device nodes for the 
netfilter-persistent.service                                      loaded active exited    netfilter persistent configuration                  
networking.service                                                loaded active exited    Raise network interfaces                            
ntp.service                                                       loaded active running   LSB: Start NTP daemon                               
rsyslog.service                                                   loaded active running   System Logging Service                              
serial-getty@ttyS0.service                                        loaded active running   Serial Getty on ttyS0                               
ssh.service                                                       loaded active running   OpenBSD Secure Shell server                         
systemd-journal-flush.service                                     loaded active exited    Flush Journal to Persistent Storage                 
systemd-journald.service                                          loaded active running   Journal Service                                     
systemd-logind.service                                            loaded active running   Login Service                                       
systemd-modules-load.service                                      loaded active exited    Load Kernel Modules                                 
systemd-random-seed.service                                       loaded active exited    Load/Save Random Seed                               
systemd-remount-fs.service                                        loaded active exited    Remount Root and Kernel File Systems                
systemd-sysctl.service                                            loaded active exited    Apply Kernel Variables                              
systemd-tmpfiles-setup-dev.service                                loaded active exited    Create Static Device Nodes in /dev                  
systemd-tmpfiles-setup.service                                    loaded active exited    Create Volatile Files and Directories               
systemd-udev-trigger.service                                      loaded active exited    udev Coldplug all Devices                           
systemd-udevd.service                                             loaded active running   udev Kernel Device Manager                          
systemd-update-utmp.service                                       loaded active exited    Update UTMP about System Boot/Shutdown              
systemd-user-sessions.service                                     loaded active exited    Permit User Sessions                                
unattended-upgrades.service                                       loaded active exited    Unattended Upgrades Shutdown                        
unscd.service                                                     loaded active running   Name Service Cache Daemon                           
user@0.service                                                    loaded active running   User Manager for UID 0                              
-.slice                                                           loaded active active    Root Slice                                          
system-getty.slice                                                loaded active active    system-getty.slice                                  
system-serial\x2dgetty.slice                                      loaded active active    system-serial\x2dgetty.slice                        
system.slice                                                      loaded active active    System Slice                                        
user-0.slice                                                      loaded active active    User Slice of root                                  
user.slice                                                        loaded active active    User and Session Slice                              
dbus.socket                                                       loaded active running   D-Bus System Message Bus Socket                     
docker.socket                                                     loaded active running   Docker Socket for the API                           
syslog.socket                                                     loaded active running   Syslog Socket                                       
systemd-fsckd.socket                                              loaded active listening fsck to fsckd communication Socket                  
systemd-initctl.socket                                            loaded active listening /dev/initctl Compatibility Named Pipe               
systemd-journald-audit.socket                                     loaded active running   Journal Audit Socket                                
systemd-journald-dev-log.socket                                   loaded active running   Journal Socket (/dev/log)                           
systemd-journald.socket                                           loaded active running   Journal Socket                                      
systemd-udevd-control.socket                                      loaded active running   udev Control Socket                                 
systemd-udevd-kernel.socket                                       loaded active running   udev Kernel Socket                                  
basic.target                                                      loaded active active    Basic System                                        
cloud-config.target                                               loaded active active    Cloud-config availability                           
cloud-init.target                                                 loaded active active    Cloud-init target                                   
cryptsetup.target                                                 loaded active active    Encrypted Volumes                                   
getty.target                                                      loaded active active    Login Prompts                                       
graphical.target                                                  loaded active active    Graphical Interface                                 
local-fs-pre.target                                               loaded active active    Local File Systems (Pre)                            
local-fs.target                                                   loaded active active    Local File Systems                                  
multi-user.target                                                 loaded active active    Multi-User System                                   
network-online.target                                             loaded active active    Network is Online                                   
network-pre.target                                                loaded active active    Network (Pre)                                       
network.target                                                    loaded active active    Network                                             
paths.target                                                      loaded active active    Paths                                               
remote-fs.target                                                  loaded active active    Remote File Systems                                 
slices.target                                                     loaded active active    Slices                                              
sockets.target                                                    loaded active active    Sockets                                             
swap.target                                                       loaded active active    Swap                                                
sysinit.target                                                    loaded active active    System Initialization                               
time-sync.target                                                  loaded active active    System Time Synchronized                            
timers.target                                                     loaded active active    Timers                                              
apt-daily-upgrade.timer                                           loaded active waiting   Daily apt upgrade and clean activities              
apt-daily.timer                                                   loaded active waiting   Daily apt download activities                       
systemd-tmpfiles-clean.timer                                      loaded active waiting   Daily Cleanup of Temporary Directories              

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

92 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
dougbtv commented 7 years ago

Thanks for the heads up, I'll try to replicate and come up with a fix. Appreciate the log output​, too.

On Mon, Jul 17, 2017, 8:48 PM Sean Brady notifications@github.com wrote:

Cloning the repo and running the following fails to build the stack, MySQL errors out:

docker-compose build; docker-compose up; docker-compose logs

Docker-compose logs output:

Creating mysql Creating homer-webapp Creating homer-cron Creating homer-kamailio Creating bootstrap-mysql Attaching to mysql, homer-kamailio, homer-cron, homer-webapp, bootstrap-mysql mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-kamailio | Kamailio, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Checking if mysql is alive... bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 0 seconds so far homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL mysql exited with code 137 mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 2 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 4 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL mysql exited with code 137 bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 6 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 8 seconds so far mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 10 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 12 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 14 seconds so far mysql exited with code 137 homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 16 seconds so far homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 18 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 20 seconds so far mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 22 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 24 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 26 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 28 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 30 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 32 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 34 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 36 seconds so far mysql exited with code 137 homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 38 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 40 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 42 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 44 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 46 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 48 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 50 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 52 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 54 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 56 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 58 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 60 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 6 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 62 seconds so far homer-kamailio | Kamailio, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 64 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 66 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 68 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL ^CGracefully stopping... (press Ctrl+C again to force) Stopping bootstrap-mysql ... done

System information:

Client: Version: 17.06.0-ce API version: 1.30 Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:17:22 2017 OS/Arch: linux/amd64

Server: Version: 17.06.0-ce API version: 1.30 (minimum version 1.12) Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:16:12 2017 OS/Arch: linux/amd64 Experimental: false

root@docker:~/homer-docker# cat /proc/version Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)

root@docker:~/homer-docker# cat /etc/issue Debian GNU/Linux 9 \n \l

root@docker:~/homer-docker# systemctl UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo sys-devices-pci0000:00-0000:00:03.0-virtio0-net-eth0.device loaded active plugged Virtio network device sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda-vda1.device loaded active plugged /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda.device loaded active plugged /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v sys-devices-pci0000:00-0000:00:06.0-virtio3-block-vdb.device loaded active plugged /sys/devices/pci0000:00/0000:00:06.0/virtio3/block/v sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2 sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3 sys-devices-pnp0-00:04-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:04/tty/ttyS0 sys-devices-virtual-net-docker0.device loaded active plugged /sys/devices/virtual/net/docker0 sys-subsystem-net-devices-docker0.device loaded active plugged /sys/subsystem/net/devices/docker0 sys-subsystem-net-devices-eth0.device loaded active plugged Virtio network device -.mount loaded active mounted Root Mount dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File System run-user-0.mount loaded active mounted /run/user/0 sys-kernel-debug.mount loaded active mounted Debug File System var-lib-docker-overlay2.mount loaded active mounted /var/lib/docker/overlay2 systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch init.scope loaded active running System and Service Manager session-1.scope loaded active running Session 1 of user root cloud-config.service loaded active exited Apply the settings specified in cloud-config cloud-final.service loaded active exited Execute cloud user/final scripts cloud-init-local.service loaded active exited Initial cloud-init job (pre-networking) cloud-init.service loaded active exited Initial cloud-init job (metadata service crawler) cron.service loaded active running Regular background program processing daemon dbus.service loaded active running D-Bus System Message Bus docker.service loaded active running Docker Application Container Engine getty@tty1.service loaded active running Getty on tty1 kmod-static-nodes.service loaded active exited Create list of required static device nodes for the netfilter-persistent.service loaded active exited netfilter persistent configuration networking.service loaded active exited Raise network interfaces ntp.service loaded active running LSB: Start NTP daemon rsyslog.service loaded active running System Logging Service serial-getty@ttyS0.service loaded active running Serial Getty on ttyS0 ssh.service loaded active running OpenBSD Secure Shell server systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-modules-load.service loaded active exited Load Kernel Modules systemd-random-seed.service loaded active exited Load/Save Random Seed systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories systemd-udev-trigger.service loaded active exited udev Coldplug all Devices systemd-udevd.service loaded active running udev Kernel Device Manager systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown systemd-user-sessions.service loaded active exited Permit User Sessions unattended-upgrades.service loaded active exited Unattended Upgrades Shutdown unscd.service loaded active running Name Service Cache Daemon user@0.service loaded active running User Manager for UID 0 -.slice loaded active active Root Slice system-getty.slice loaded active active system-getty.slice system-serial\x2dgetty.slice loaded active active system-serial\x2dgetty.slice system.slice loaded active active System Slice user-0.slice loaded active active User Slice of root user.slice loaded active active User and Session Slice dbus.socket loaded active running D-Bus System Message Bus Socket docker.socket loaded active running Docker Socket for the API syslog.socket loaded active running Syslog Socket systemd-fsckd.socket loaded active listening fsck to fsckd communication Socket systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe systemd-journald-audit.socket loaded active running Journal Audit Socket systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log) systemd-journald.socket loaded active running Journal Socket systemd-udevd-control.socket loaded active running udev Control Socket systemd-udevd-kernel.socket loaded active running udev Kernel Socket basic.target loaded active active Basic System cloud-config.target loaded active active Cloud-config availability cloud-init.target loaded active active Cloud-init target cryptsetup.target loaded active active Encrypted Volumes getty.target loaded active active Login Prompts graphical.target loaded active active Graphical Interface local-fs-pre.target loaded active active Local File Systems (Pre) local-fs.target loaded active active Local File Systems multi-user.target loaded active active Multi-User System network-online.target loaded active active Network is Online network-pre.target loaded active active Network (Pre) network.target loaded active active Network paths.target loaded active active Paths remote-fs.target loaded active active Remote File Systems slices.target loaded active active Slices sockets.target loaded active active Sockets swap.target loaded active active Swap sysinit.target loaded active active System Initialization time-sync.target loaded active active System Time Synchronized timers.target loaded active active Timers apt-daily-upgrade.timer loaded active waiting Daily apt upgrade and clean activities apt-daily.timer loaded active waiting Daily apt download activities systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories

LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type.

92 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sipcapture/homer-docker/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/AFN_vQM--EoOo4k49nUHoVT7BuN-GDpfks5sPADkgaJpZM4OatdO .

ghost commented 7 years ago

I'm doing the same here. Not sure what the underlying issue is yet, figured I'd just dump into the bug report until we got it figured. Interestingly it works on my machine but not on a Debian server. I'm still looking for my human error but thus far I haven't found it. On Tue, Jul 18, 2017 at 5:59 AM Doug Smith notifications@github.com wrote:

Thanks for the heads up, I'll try to replicate and come up with a fix. Appreciate the log output​, too.

On Mon, Jul 17, 2017, 8:48 PM Sean Brady notifications@github.com wrote:

Cloning the repo and running the following fails to build the stack, MySQL errors out:

docker-compose build; docker-compose up; docker-compose logs

Docker-compose logs output:

Creating mysql Creating homer-webapp Creating homer-cron Creating homer-kamailio Creating bootstrap-mysql Attaching to mysql, homer-kamailio, homer-cron, homer-webapp, bootstrap-mysql mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-kamailio | Kamailio, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Checking if mysql is alive... bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 0 seconds so far homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL mysql exited with code 137 mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 2 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 4 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL mysql exited with code 137 bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 6 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 8 seconds so far mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 10 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 12 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 14 seconds so far mysql exited with code 137 homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 16 seconds so far homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 18 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 20 seconds so far mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 22 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 24 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 26 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 28 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 30 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 32 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 34 seconds so far homer-webapp | Homer web app, waiting for MySQL homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 36 seconds so far mysql exited with code 137 homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 38 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 40 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 42 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 44 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 46 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 48 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 50 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 52 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 54 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 56 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 58 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 60 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld mysql | /run.sh: line 15: 6 Killed ./entrypoint.sh mysqld bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 62 seconds so far homer-kamailio | Kamailio, waiting for MySQL mysql | /run.sh: line 15: 5 Killed ./entrypoint.sh mysqld homer-webapp | Homer web app, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 64 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 66 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited 68 seconds so far homer-kamailio | Kamailio, waiting for MySQL homer-cron | Homer cron container, waiting for MySQL homer-webapp | Homer web app, waiting for MySQL ^CGracefully stopping... (press Ctrl+C again to force) Stopping bootstrap-mysql ... done

System information:

Client: Version: 17.06.0-ce API version: 1.30 Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:17:22 2017 OS/Arch: linux/amd64

Server: Version: 17.06.0-ce API version: 1.30 (minimum version 1.12) Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:16:12 2017 OS/Arch: linux/amd64 Experimental: false

root@docker:~/homer-docker# cat /proc/version Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)

root@docker:~/homer-docker# cat /etc/issue Debian GNU/Linux 9 \n \l

root@docker:~/homer-docker# systemctl UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo sys-devices-pci0000:00-0000:00:03.0-virtio0-net-eth0.device loaded active plugged Virtio network device sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda-vda1.device loaded active plugged /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v sys-devices-pci0000:00-0000:00:05.0-virtio2-block-vda.device loaded active plugged /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/v sys-devices-pci0000:00-0000:00:06.0-virtio3-block-vdb.device loaded active plugged /sys/devices/pci0000:00/0000:00:06.0/virtio3/block/v sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2 sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3 sys-devices-pnp0-00:04-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:04/tty/ttyS0 sys-devices-virtual-net-docker0.device loaded active plugged /sys/devices/virtual/net/docker0 sys-subsystem-net-devices-docker0.device loaded active plugged /sys/subsystem/net/devices/docker0 sys-subsystem-net-devices-eth0.device loaded active plugged Virtio network device -.mount loaded active mounted Root Mount dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File System run-user-0.mount loaded active mounted /run/user/0 sys-kernel-debug.mount loaded active mounted Debug File System var-lib-docker-overlay2.mount loaded active mounted /var/lib/docker/overlay2 systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch init.scope loaded active running System and Service Manager session-1.scope loaded active running Session 1 of user root cloud-config.service loaded active exited Apply the settings specified in cloud-config cloud-final.service loaded active exited Execute cloud user/final scripts cloud-init-local.service loaded active exited Initial cloud-init job (pre-networking) cloud-init.service loaded active exited Initial cloud-init job (metadata service crawler) cron.service loaded active running Regular background program processing daemon dbus.service loaded active running D-Bus System Message Bus docker.service loaded active running Docker Application Container Engine getty@tty1.service loaded active running Getty on tty1 kmod-static-nodes.service loaded active exited Create list of required static device nodes for the netfilter-persistent.service loaded active exited netfilter persistent configuration networking.service loaded active exited Raise network interfaces ntp.service loaded active running LSB: Start NTP daemon rsyslog.service loaded active running System Logging Service serial-getty@ttyS0.service loaded active running Serial Getty on ttyS0 ssh.service loaded active running OpenBSD Secure Shell server systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-modules-load.service loaded active exited Load Kernel Modules systemd-random-seed.service loaded active exited Load/Save Random Seed systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories systemd-udev-trigger.service loaded active exited udev Coldplug all Devices systemd-udevd.service loaded active running udev Kernel Device Manager systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown systemd-user-sessions.service loaded active exited Permit User Sessions unattended-upgrades.service loaded active exited Unattended Upgrades Shutdown unscd.service loaded active running Name Service Cache Daemon user@0.service loaded active running User Manager for UID 0 -.slice loaded active active Root Slice system-getty.slice loaded active active system-getty.slice system-serial\x2dgetty.slice loaded active active system-serial\x2dgetty.slice system.slice loaded active active System Slice user-0.slice loaded active active User Slice of root user.slice loaded active active User and Session Slice dbus.socket loaded active running D-Bus System Message Bus Socket docker.socket loaded active running Docker Socket for the API syslog.socket loaded active running Syslog Socket systemd-fsckd.socket loaded active listening fsck to fsckd communication Socket systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe systemd-journald-audit.socket loaded active running Journal Audit Socket systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log) systemd-journald.socket loaded active running Journal Socket systemd-udevd-control.socket loaded active running udev Control Socket systemd-udevd-kernel.socket loaded active running udev Kernel Socket basic.target loaded active active Basic System cloud-config.target loaded active active Cloud-config availability cloud-init.target loaded active active Cloud-init target cryptsetup.target loaded active active Encrypted Volumes getty.target loaded active active Login Prompts graphical.target loaded active active Graphical Interface local-fs-pre.target loaded active active Local File Systems (Pre) local-fs.target loaded active active Local File Systems multi-user.target loaded active active Multi-User System network-online.target loaded active active Network is Online network-pre.target loaded active active Network (Pre) network.target loaded active active Network paths.target loaded active active Paths remote-fs.target loaded active active Remote File Systems slices.target loaded active active Slices sockets.target loaded active active Sockets swap.target loaded active active Swap sysinit.target loaded active active System Initialization time-sync.target loaded active active System Time Synchronized timers.target loaded active active Timers apt-daily-upgrade.timer loaded active waiting Daily apt upgrade and clean activities apt-daily.timer loaded active waiting Daily apt download activities systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories

LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type.

92 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sipcapture/homer-docker/issues/50, or mute the thread < https://github.com/notifications/unsubscribe-auth/AFN_vQM--EoOo4k49nUHoVT7BuN-GDpfks5sPADkgaJpZM4OatdO

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sipcapture/homer-docker/issues/50#issuecomment-316042265, or mute the thread https://github.com/notifications/unsubscribe-auth/ABxbKeDQlvvVRkhZ1hLjDNcatO6Kk5Qoks5sPJ4RgaJpZM4OatdO .

lmangani commented 7 years ago

Could this be an out of memory issue simply?

ghost commented 7 years ago

Bingo!! Thanks so much, really appreciated, and I apologize for spamming the bug tracker.