Comments (15)
2016-04-06T10:58:29.524Z pid:263 worker:0 INFO supervisor started worker 4926 (pid 2739)
2016-04-06T10:58:29.727Z pid:2739 worker:4926 INFO strong-agent v2.0.2 profiling app 'MemberHive' pid '2739'
2016-04-06T10:58:29.731Z pid:2739 worker:4926 INFO strong-agent[2739] started profiling agent
2016-04-06T10:58:30.392Z pid:2739 worker:4926 INFO strong-agent not profiling, agent metrics requires a valid license.
2016-04-06T10:58:30.392Z pid:2739 worker:4926 Please contact [email protected] for assistance.
2016-04-06T10:58:30.395Z pid:2739 worker:4926 Run `npm install loopback-explorer` to enable the LoopBack explorer
2016-04-06T10:58:30.395Z pid:2739 worker:4926 Web server listening at: http://localhost:3994/
2016-04-06T10:58:30.406Z pid:2739 worker:4926 Connection fails: { [MongoError: connect ECONNREFUSED 172.17.0.3:27017]
2016-04-06T10:58:30.406Z pid:2739 worker:4926 name: 'MongoError',
2016-04-06T10:58:30.406Z pid:2739 worker:4926 message: 'connect ECONNREFUSED 172.17.0.3:27017' }
2016-04-06T10:58:30.406Z pid:2739 worker:4926 It will be retried for the next request.
2016-04-06T10:58:30.414Z pid:2739 worker:4926 /home/strong-pm/svc/1/work/4b6347fff228a53519c59bdb3d12853e07f31f00.1459933886977/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/server.js:236
2016-04-06T10:58:30.415Z pid:2739 worker:4926 process.nextTick(function() { throw err; })
2016-04-06T10:58:30.416Z pid:2739 worker:4926 ^
2016-04-06T10:58:30.416Z pid:2739 worker:4926 Error: connect ECONNREFUSED 172.17.0.3:27017
2016-04-06T10:58:30.416Z pid:2739 worker:4926 at Object.exports._errnoException (util.js:874:11)
2016-04-06T10:58:30.416Z pid:2739 worker:4926 at exports._exceptionWithHostPort (util.js:897:20)
2016-04-06T10:58:30.416Z pid:2739 worker:4926 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
2016-04-06T10:58:30.420Z pid:263 worker:0 ERROR supervisor worker id 4926 (pid 2739) accidental exit with 1
2016-04-06T10:58:31.581Z pid:263 worker:0 INFO supervisor started worker 4927 (pid 2746)
from hives.
It also happens to others!
Good: mh-server-ecg
Bad: mh-server-ecg-wartenberg
docker inspect mh-server-ecg
[
{
"Id": "5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c",
"Created": "2016-04-28T13:15:49.158164547Z",
"Path": "/usr/local/bin/sl-pm",
"Args": [
"--base",
".",
"--listen",
"8701"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 29741,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-04-28T13:15:52.581168887Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:09d53031a0e4ad98feb3eb5e0000888f1438f49784fe3ff409c69322a26ff88b",
"ResolvConfPath": "/var/lib/docker/containers/5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c/hostname",
"HostsPath": "/var/lib/docker/containers/5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c/hosts",
"LogPath": "/var/lib/docker/containers/5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c/5f07676573b12e655e9d9c2a3e314e3df35cfd6ee6b7ab44eebfb2f0607cca0c-json.log",
"Name": "/mh-server-ecg",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/www/vhosts/memberhive.com/hives/data/clients/ecg/files:/usr/local/files"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"3001/tcp": [
{
"HostIp": "",
"HostPort": "10000"
}
],
"8701/tcp": [
{
"HostIp": "",
"HostPort": "8701"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": [
"/mh-db-ecg:/mh-server-ecg/db"
],
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/var/www/vhosts/memberhive.com/hives/data/clients/ecg/files",
"Destination": "/usr/local/files",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "5f07676573b1",
"Domainname": "",
"User": "strong-pm",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3001/tcp": {},
"8701/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NPM_CONFIG_LOGLEVEL=info",
"NODE_VERSION=4.2.3",
"HOME=/home/strong-pm",
"PORT=3000"
],
"Cmd": null,
"Image": "mh-strong-pm",
"Volumes": null,
"WorkingDir": "/home/strong-pm",
"Entrypoint": [
"/usr/local/bin/sl-pm",
"--base",
".",
"--listen",
"8701"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "f76f82accf7b8f00b09a47eb05a41854e1ebf3368654c5eb3f824bc0de553184",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"3001/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "10000"
}
],
"8701/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8701"
}
]
},
"SandboxKey": "/var/run/docker/netns/f76f82accf7b",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "909348e4024771d0ad9a55ff1154aa5bb9620ef646a3428cd3b28fa1654022f5",
"Gateway": "172.17.42.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "a229dc5a08f24ea98de8537cba844d814915f084d50c1835c6dfcfc386e22b5f",
"EndpointID": "909348e4024771d0ad9a55ff1154aa5bb9620ef646a3428cd3b28fa1654022f5",
"Gateway": "172.17.42.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]
docker inspect mh-server-ecg-wartenberg
[
{
"Id": "b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65",
"Created": "2016-04-28T13:18:34.088300011Z",
"Path": "/usr/local/bin/sl-pm",
"Args": [
"--base",
".",
"--listen",
"8701"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 30487,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-04-28T13:18:37.171362121Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:09d53031a0e4ad98feb3eb5e0000888f1438f49784fe3ff409c69322a26ff88b",
"ResolvConfPath": "/var/lib/docker/containers/b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65/hostname",
"HostsPath": "/var/lib/docker/containers/b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65/hosts",
"LogPath": "/var/lib/docker/containers/b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65/b96e77b80f752b73044966341d69f439838642728e79c0562fdfd2b6bc476f65-json.log",
"Name": "/mh-server-ecg-wartenberg",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": [
"9fe2eca842b9fb4e94f5983a12207e313e33cf19edb38b30554b2660acff5523",
"71fbde156e22bb48731ff0c897bf191d6a4c1b1ea5f2fe52b5fb38ada0d70471"
],
"HostConfig": {
"Binds": [
"/var/www/vhosts/memberhive.com/hives/data/clients/ecg-wartenberg/files:/usr/local/files"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"3001/tcp": [
{
"HostIp": "",
"HostPort": "10009"
}
],
"8701/tcp": [
{
"HostIp": "",
"HostPort": "8710"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": [
"/mh-db-ecg-wartenberg:/mh-server-ecg-wartenberg/db"
],
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/var/www/vhosts/memberhive.com/hives/data/clients/ecg-wartenberg/files",
"Destination": "/usr/local/files",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "b96e77b80f75",
"Domainname": "",
"User": "strong-pm",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3001/tcp": {},
"8701/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NPM_CONFIG_LOGLEVEL=info",
"NODE_VERSION=4.2.3",
"HOME=/home/strong-pm",
"PORT=3000"
],
"Cmd": null,
"Image": "mh-strong-pm",
"Volumes": null,
"WorkingDir": "/home/strong-pm",
"Entrypoint": [
"/usr/local/bin/sl-pm",
"--base",
".",
"--listen",
"8701"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "8f33efe4d248c133fd6f4a711f83d415dc848eab530c6fd08572182eb9d702a7",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"3001/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "10009"
}
],
"8701/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8710"
}
]
},
"SandboxKey": "/var/run/docker/netns/8f33efe4d248",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "15ee0bb19b536444698d496e8ee144d0fc8272fb6d7a56ec83087b610e8ab6fa",
"Gateway": "172.17.42.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.4",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:04",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "a229dc5a08f24ea98de8537cba844d814915f084d50c1835c6dfcfc386e22b5f",
"EndpointID": "15ee0bb19b536444698d496e8ee144d0fc8272fb6d7a56ec83087b610e8ab6fa",
"Gateway": "172.17.42.1",
"IPAddress": "172.17.0.4",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:04"
}
}
}
}
]
from hives.
in mh-server-ecg
declare -x DB_ENV_GOSU_VERSION="1.7"
declare -x DB_ENV_MONGO_VERSION="2.4.14"
declare -x DB_NAME="/mh-server-ecg/db"
declare -x DB_PORT="tcp://172.17.0.1:27017"
declare -x DB_PORT_27017_TCP="tcp://172.17.0.1:27017"
declare -x DB_PORT_27017_TCP_ADDR="172.17.0.1"
declare -x DB_PORT_27017_TCP_PORT="27017"
declare -x DB_PORT_27017_TCP_PROTO="tcp"
in mh-server-ecg-wartenberg
declare -x DB_ENV_GOSU_VERSION="1.7"
declare -x DB_ENV_MONGO_VERSION="2.4.14"
declare -x DB_NAME="/mh-server-ecg-wartenberg/db"
declare -x DB_PORT="tcp://172.17.0.3:27017"
declare -x DB_PORT_27017_TCP="tcp://172.17.0.3:27017"
declare -x DB_PORT_27017_TCP_ADDR="172.17.0.3"
declare -x DB_PORT_27017_TCP_PORT="27017"
declare -x DB_PORT_27017_TCP_PROTO="tcp"
from hives.
mh-db-ecg
[
{
"Id": "6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a",
"Created": "2016-04-28T13:15:46.647235937Z",
"Path": "/entrypoint.sh",
"Args": [
"--smallfiles"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 29633,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-04-28T13:15:49.142812348Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:2affaf1f84e073f1bbbfc320c345eb7d4f3be44ba75961862e700ca17ad66418",
"ResolvConfPath": "/var/lib/docker/containers/6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a/hostname",
"HostsPath": "/var/lib/docker/containers/6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a/hosts",
"LogPath": "/var/lib/docker/containers/6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a/6e2eed7c471f51175b2f5acc270cf026d20b14f58d7cbd181ef3eaba3e632b3a-json.log",
"Name": "/mh-db-ecg",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/www/vhosts/memberhive.com/hives/data/clients/ecg/db:/data/db"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/var/www/vhosts/memberhive.com/hives/data/clients/ecg/db",
"Destination": "/data/db",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Name": "0739a29e24003d26d6301eff70f01649b22298e73ca05548318af27569c58732",
"Source": "/var/lib/docker/volumes/0739a29e24003d26d6301eff70f01649b22298e73ca05548318af27569c58732/_data",
"Destination": "/data/configdb",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "6e2eed7c471f",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"27017/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOSU_VERSION=1.7",
"MONGO_VERSION=2.4.14"
],
"Cmd": [
"--smallfiles"
],
"Image": "mongo:2.4",
"Volumes": {
"/data/configdb": {},
"/data/db": {}
},
"WorkingDir": "",
"Entrypoint": [
"/entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "b95567d862fdee98ca66e3efe0468254967f09896f8856f0090d158cc887c5fa",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"27017/tcp": null
},
"SandboxKey": "/var/run/docker/netns/b95567d862fd",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "ba1be65770e290da7928d996a38f210d67139cbee35573525ef5edd9c2799e19",
"Gateway": "172.17.42.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.1",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:01",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "a229dc5a08f24ea98de8537cba844d814915f084d50c1835c6dfcfc386e22b5f",
"EndpointID": "ba1be65770e290da7928d996a38f210d67139cbee35573525ef5edd9c2799e19",
"Gateway": "172.17.42.1",
"IPAddress": "172.17.0.1",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:01"
}
}
}
}
]
mh-db-ecg-wartenberg
[
{
"Id": "0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b",
"Created": "2016-04-28T13:18:30.046484106Z",
"Path": "/entrypoint.sh",
"Args": [
"--smallfiles"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 30389,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-04-28T13:18:34.076792042Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:2affaf1f84e073f1bbbfc320c345eb7d4f3be44ba75961862e700ca17ad66418",
"ResolvConfPath": "/var/lib/docker/containers/0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b/hostname",
"HostsPath": "/var/lib/docker/containers/0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b/hosts",
"LogPath": "/var/lib/docker/containers/0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b/0e8c229a3b0bb2054c601a54605640220ceda3671377a35dc3b61fe572a6710b-json.log",
"Name": "/mh-db-ecg-wartenberg",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/www/vhosts/memberhive.com/hives/data/clients/ecg-wartenberg/db:/data/db"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/var/www/vhosts/memberhive.com/hives/data/clients/ecg-wartenberg/db",
"Destination": "/data/db",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Name": "385a97b4fea1042c80f009fbe1dbd54d1aed332ef5b7745e9630c518809d1970",
"Source": "/var/lib/docker/volumes/385a97b4fea1042c80f009fbe1dbd54d1aed332ef5b7745e9630c518809d1970/_data",
"Destination": "/data/configdb",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "0e8c229a3b0b",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"27017/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOSU_VERSION=1.7",
"MONGO_VERSION=2.4.14"
],
"Cmd": [
"--smallfiles"
],
"Image": "mongo:2.4",
"Volumes": {
"/data/configdb": {},
"/data/db": {}
},
"WorkingDir": "",
"Entrypoint": [
"/entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "4d1f5da968cb0ff0e32074a9eae6c3bca403af28e0b2c96c9c424b4f8ca6e839",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"27017/tcp": null
},
"SandboxKey": "/var/run/docker/netns/4d1f5da968cb",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "a2aaf11e661d79f47eedf55b534a0e0423d60dac6970a28208a991ce14e57c36",
"Gateway": "172.17.42.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:03",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "a229dc5a08f24ea98de8537cba844d814915f084d50c1835c6dfcfc386e22b5f",
"EndpointID": "a2aaf11e661d79f47eedf55b534a0e0423d60dac6970a28208a991ce14e57c36",
"Gateway": "172.17.42.1",
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:03"
}
}
}
}
]
from hives.
Chain DOCKER (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.2 tcp dpt:8701
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.2 tcp dpt:3001
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.4 tcp dpt:3001
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.4 tcp dpt:8701
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.5 tcp dpt:27017
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.6 tcp dpt:8701
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.6 tcp dpt:3001
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.8 tcp dpt:3001
0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.8 tcp dpt:8701
from hives.
So it not the server instances that causes the problems.
I can access mh-db-demo from mh-server-ecg-wartenberg and mh-server-demo. But i cannot access mh-db-ecg-wartenberg from mh-server-demo or mh-server-ecg-wartenberg.
from hives.
But i can access the mh-server-ecg-wartenberg from the host via mongo.
from hives.
mh-db-ecg-wartenberg: 172.17.0.3
mh-db-ecg: 172.17.0.1
mh-server-ecg-wartenberg: 172.17.0.4
mh-server-ecg: 172.17.0.2
from hives.
tcpdump -i docker0
10:26:35.904795 IP 172.17.0.8.34224 > 172.17.0.7.27017: Flags [S], seq 2511289769, win 29200, options [mss 1460,sackOK,TS val 682835104 ecr 0,nop,wscale 7], length 0
10:26:35.904830 IP 172.17.0.7.27017 > 172.17.0.8.34224: Flags [R.], seq 0, ack 2511289770, win 0, length 0
10:26:35.904927 IP 172.17.0.8.34225 > 172.17.0.7.27017: Flags [S], seq 2214325924, win 29200, options [mss 1460,sackOK,TS val 682835104 ecr 0,nop,wscale 7], length 0
10:26:35.904943 IP 172.17.0.7.27017 > 172.17.0.8.34225: Flags [R.], seq 0, ack 2214325925, win 0, length 0
10:26:35.913449 IP 172.17.0.8.34226 > 172.17.0.7.27017: Flags [S], seq 1746714753, win 29200, options [mss 1460,sackOK,TS val 682835106 ecr 0,nop,wscale 7], length 0
10:26:35.913483 IP 172.17.0.7.27017 > 172.17.0.8.34226: Flags [R.], seq 0, ack 1746714754, win 0, length 0
10:26:35.914064 IP 172.17.0.8.34227 > 172.17.0.7.27017: Flags [S], seq 2293434486, win 29200, options [mss 1460,sackOK,TS val 682835106 ecr 0,nop,wscale 7], length 0
10:26:35.914088 IP 172.17.0.7.27017 > 172.17.0.8.34227: Flags [R.], seq 0, ack 2293434487, win 0, length 0
10:26:36.693820 IP 172.17.0.4.46825 > 172.17.0.3.27017: Flags [S], seq 1826209823, win 29200, options [mss 1460,sackOK,TS val 682835301 ecr 0,nop,wscale 7], length 0
10:26:36.693855 IP 172.17.0.3.27017 > 172.17.0.4.46825: Flags [R.], seq 0, ack 1826209824, win 0, length 0
10:26:36.693940 IP 172.17.0.4.46826 > 172.17.0.3.27017: Flags [S], seq 4252867341, win 29200, options [mss 1460,sackOK,TS val 682835301 ecr 0,nop,wscale 7], length 0
10:26:36.693952 IP 172.17.0.3.27017 > 172.17.0.4.46826: Flags [R.], seq 0, ack 4252867342, win 0, length 0
10:26:36.702686 IP 172.17.0.4.46827 > 172.17.0.3.27017: Flags [S], seq 1820926581, win 29200, options [mss 1460,sackOK,TS val 682835303 ecr 0,nop,wscale 7], length 0
10:26:36.702720 IP 172.17.0.3.27017 > 172.17.0.4.46827: Flags [R.], seq 0, ack 1820926582, win 0, length 0
10:26:36.703267 IP 172.17.0.4.46828 > 172.17.0.3.27017: Flags [S], seq 667354125, win 29200, options [mss 1460,sackOK,TS val 682835303 ecr 0,nop,wscale 7], length 0
10:26:36.703282 IP 172.17.0.3.27017 > 172.17.0.4.46828: Flags [R.], seq 0, ack 667354126, win 0, length 0
10:26:37.850928 IP 172.17.0.8.34236 > 172.17.0.7.27017: Flags [S], seq 2899126744, win 29200, options [mss 1460,sackOK,TS val 682835590 ecr 0,nop,wscale 7], length 0
10:26:37.850968 IP 172.17.0.7.27017 > 172.17.0.8.34236: Flags [R.], seq 0, ack 2899126745, win 0, length 0
10:26:37.851077 IP 172.17.0.8.34237 > 172.17.0.7.27017: Flags [S], seq 4259373698, win 29200, options [mss 1460,sackOK,TS val 682835590 ecr 0,nop,wscale 7], length 0
10:26:37.851091 IP 172.17.0.7.27017 > 172.17.0.8.34237: Flags [R.], seq 0, ack 4259373699, win 0, length 0
10:26:37.860287 IP 172.17.0.8.34239 > 172.17.0.7.27017: Flags [S], seq 3545312711, win 29200, options [mss 1460,sackOK,TS val 682835593 ecr 0,nop,wscale 7], length 0
10:26:37.860319 IP 172.17.0.7.27017 > 172.17.0.8.34239: Flags [R.], seq 0, ack 3545312712, win 0, length 0
10:26:37.860376 IP 172.17.0.8.34240 > 172.17.0.7.27017: Flags [S], seq 377082122, win 29200, options [mss 1460,sackOK,TS val 682835593 ecr 0,nop,wscale 7], length 0
10:26:37.860390 IP 172.17.0.7.27017 > 172.17.0.8.34240: Flags [R.], seq 0, ack 377082123, win 0, length 0
10:26:39.100861 IP 172.17.0.4.46839 > 172.17.0.3.27017: Flags [S], seq 3012956734, win 29200, options [mss 1460,sackOK,TS val 682835903 ecr 0,nop,wscale 7], length 0
10:26:39.100908 IP 172.17.0.3.27017 > 172.17.0.4.46839: Flags [R.], seq 0, ack 3012956735, win 0, length 0
10:26:39.101022 IP 172.17.0.4.46840 > 172.17.0.3.27017: Flags [S], seq 1698027859, win 29200, options [mss 1460,sackOK,TS val 682835903 ecr 0,nop,wscale 7], length 0
10:26:39.101051 IP 172.17.0.3.27017 > 172.17.0.4.46840: Flags [R.], seq 0, ack 1698027860, win 0, length 0
10:26:39.110471 IP 172.17.0.4.46841 > 172.17.0.3.27017: Flags [S], seq 4241454664, win 29200, options [mss 1460,sackOK,TS val 682835905 ecr 0,nop,wscale 7], length 0
10:26:39.110511 IP 172.17.0.3.27017 > 172.17.0.4.46841: Flags [R.], seq 0, ack 4241454665, win 0, length 0
10:26:39.111401 IP 172.17.0.4.46842 > 172.17.0.3.27017: Flags [S], seq 2562867647, win 29200, options [mss 1460,sackOK,TS val 682835905 ecr 0,nop,wscale 7], length 0
10:26:39.111433 IP 172.17.0.3.27017 > 172.17.0.4.46842: Flags [R.], seq 0, ack 2562867648, win 0, length 0
10:26:39.821797 IP 172.17.0.8.34249 > 172.17.0.7.27017: Flags [S], seq 2090284561, win 29200, options [mss 1460,sackOK,TS val 682836083 ecr 0,nop,wscale 7], length 0
10:26:39.821831 IP 172.17.0.7.27017 > 172.17.0.8.34249: Flags [R.], seq 0, ack 2090284562, win 0, length 0
10:26:39.821957 IP 172.17.0.8.34250 > 172.17.0.7.27017: Flags [S], seq 1770428511, win 29200, options [mss 1460,sackOK,TS val 682836083 ecr 0,nop,wscale 7], length 0
10:26:39.821975 IP 172.17.0.7.27017 > 172.17.0.8.34250: Flags [R.], seq 0, ack 1770428512, win 0, length 0
10:26:39.830840 IP 172.17.0.8.34251 > 172.17.0.7.27017: Flags [S], seq 1653971176, win 29200, options [mss 1460,sackOK,TS val 682836085 ecr 0,nop,wscale 7], length 0
10:26:39.830898 IP 172.17.0.7.27017 > 172.17.0.8.34251: Flags [R.], seq 0, ack 1653971177, win 0, length 0
10:26:39.831503 IP 172.17.0.8.34252 > 172.17.0.7.27017: Flags [S], seq 548816299, win 29200, options [mss 1460,sackOK,TS val 682836085 ecr 0,nop,wscale 7], length 0
10:26:39.831529 IP 172.17.0.7.27017 > 172.17.0.8.34252: Flags [R.], seq 0, ack 548816300, win 0, length 0
10:26:40.786324 IP 172.17.0.4.46852 > 172.17.0.3.27017: Flags [S], seq 2844515687, win 29200, options [mss 1460,sackOK,TS val 682836324 ecr 0,nop,wscale 7], length 0
10:26:40.786360 IP 172.17.0.3.27017 > 172.17.0.4.46852: Flags [R.], seq 0, ack 2844515688, win 0, length 0
10:26:40.786493 IP 172.17.0.4.46853 > 172.17.0.3.27017: Flags [S], seq 1685132496, win 29200, options [mss 1460,sackOK,TS val 682836324 ecr 0,nop,wscale 7], length 0
10:26:40.786514 IP 172.17.0.3.27017 > 172.17.0.4.46853: Flags [R.], seq 0, ack 1685132497, win 0, length 0
10:26:40.795619 IP 172.17.0.4.46854 > 172.17.0.3.27017: Flags [S], seq 2797067558, win 29200, options [mss 1460,sackOK,TS val 682836326 ecr 0,nop,wscale 7], length 0
10:26:40.795660 IP 172.17.0.3.27017 > 172.17.0.4.46854: Flags [R.], seq 0, ack 2797067559, win 0, length 0
10:26:40.796323 IP 172.17.0.4.46855 > 172.17.0.3.27017: Flags [S], seq 1446444466, win 29200, options [mss 1460,sackOK,TS val 682836327 ecr 0,nop,wscale 7], length 0
10:26:40.796352 IP 172.17.0.3.27017 > 172.17.0.4.46855: Flags [R.], seq 0, ack 1446444467, win 0, length 0
So there is a connection between 172.17.0.4(mh-server-ecg-wartenberg) and mh-db-ecg-wartenberg(172.17.0.3)
from hives.
Thats how a successfull connection looks like:
10:34:51.944764 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [S], seq 3857224691, win 29200, options [mss 1460,sackOK,TS val 682959114 ecr 0,nop,wscale 7], length 0
10:34:51.944791 IP 172.17.0.1.27017 > 172.17.0.4.38819: Flags [S.], seq 3467190939, ack 3857224692, win 28960, options [mss 1460,sackOK,TS val 682959114 ecr 682959114,nop,wscale 7], length 0
10:34:51.944804 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [.], ack 1, win 229, options [nop,nop,TS val 682959114 ecr 682959114], length 0
10:34:51.944869 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [P.], seq 1:61, ack 1, win 229, options [nop,nop,TS val 682959114 ecr 682959114], length 60
10:34:51.944888 IP 172.17.0.1.27017 > 172.17.0.4.38819: Flags [.], ack 61, win 227, options [nop,nop,TS val 682959114 ecr 682959114], length 0
10:34:51.945073 IP 172.17.0.1.27017 > 172.17.0.4.38819: Flags [P.], seq 1:80, ack 61, win 227, options [nop,nop,TS val 682959114 ecr 682959114], length 79
10:34:51.945090 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [.], ack 80, win 229, options [nop,nop,TS val 682959114 ecr 682959114], length 0
10:34:51.946968 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [P.], seq 61:133, ack 80, win 229, options [nop,nop,TS val 682959114 ecr 682959114], length 72
10:34:51.947018 IP 172.17.0.1.27017 > 172.17.0.4.38819: Flags [P.], seq 80:166, ack 133, win 227, options [nop,nop,TS val 682959114 ecr 682959114], length 86
10:34:51.947504 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [P.], seq 133:221, ack 166, win 229, options [nop,nop,TS val 682959114 ecr 682959114], length 88
10:34:51.947537 IP 172.17.0.1.27017 > 172.17.0.4.38819: Flags [P.], seq 166:258, ack 221, win 227, options [nop,nop,TS val 682959114 ecr 682959114], length 92
10:34:51.983938 IP 172.17.0.4.38819 > 172.17.0.1.27017: Flags [.], ack 258, win 229, options [nop,nop,TS val 682959124 ecr 682959114], length 0
from hives.
10:26:40.796352 IP 172.17.0.3.27017 > 172.17.0.4.46855: Flags [R.], seq 0, ack 1446444467, win 0, length 0
means that it is a reset package(RST). That means that the port is closed.
I have to look into:
from hives.
docker daemon --userland-proxy=false
does not help.
from hives.
running in the db container this command apt-get update
fixes all problems !?!?
from hives.
hmm, a docker exec -u 0 mh-db-ecg-wartenberg apt-get update
does not fix it but a docker exec -it -u 0 mh-db-ecg-wartenberg bash
and inside the bash a apt-get update
or running something else does fix it. 😕
from hives.
I think it have something to do with the fact, that the data folder for the newly created containters were owned by root. Only ecg and demo were owned by memberhive.
from hives.
Related Issues (18)
- Multipile pushes cause errors. HOT 1
- Expose WebUrl as a env variable. HOT 1
- Utilize Lets Encrypt.
- Update Docker to Node.js 5 HOT 1
- Expose Backend as subdomain HOT 1
- Backups of all Data HOT 1
- Add posibility to remove an instance HOT 1
- Move to ngnix as the reverse proxy HOT 1
- Provide API
- Docker Update breaks a lot
- Measure time from restarting docker to running service.
- Deploy after restart.rb
- Is mongo secure?
- Use docker compose
- Correct rights
- Certificate renewal
- Restore Demo to default values after a period of time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hives.