uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
7.98k stars 775 forks source link

ERROR: for prometheus Cannot start service prometheus: driver failed programming external connectivity on endpoint cadence_prometheus_1 (911c5725dff7f8d0009242c87d6583e2da60e0502d5d16d78bde48145d29f797): Bind for 0.0.0.0:9090 failed: port is already allocated #5834

Open cubxxw opened 3 months ago

cubxxw commented 3 months ago

can u help me?

details:

openim@openim-System-Product-Name:/data/cubxxw/cadence$ docker-compose up
Creating network "cadence_default" with the default driver
Pulling cassandra (cassandra:4.1.1)...
4.1.1: Pulling from library/cassandra
99803d4b97f3: Pull complete
7affba4c9a33: Pull complete
272204ded759: Pull complete
1bd3d9ca0baf: Pull complete
378262bde537: Pull complete
248d11231fdc: Pull complete
b5291296f116: Pull complete
96f9824d6a59: Pull complete
17164d712a2d: Pull complete
Digest: sha256:7772bea61223cc87843af5ba37e7ee37ad7fe757e61333d2670b1c6f0c75b0e6
Status: Downloaded newer image for cassandra:4.1.1
Pulling prometheus (prom/prometheus:latest)...
latest: Pulling from prom/prometheus
9fa9226be034: Pull complete
1617e25568b2: Pull complete
616271298139: Pull complete
22b75fce0d82: Pull complete
df5039e50a2f: Pull complete
3abeb9b58fb3: Pull complete
522eeeb14c34: Pull complete
99db042242da: Pull complete
a90ec1a82317: Pull complete
34a1c7d70b0a: Pull complete
44ea7bc5d07d: Pull complete
1c73ad46425f: Pull complete
Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016
Status: Downloaded newer image for prom/prometheus:latest
Pulling node-exporter (prom/node-exporter:)...
latest: Pulling from prom/node-exporter
2abcce694348: Already exists
455fd88e5221: Pull complete
324153f2810a: Pull complete
Digest: sha256:4cb2b9019f1757be8482419002cb7afe028fdba35d47958829e4cfeaf6246d80
Status: Downloaded newer image for prom/node-exporter:latest
Pulling cadence (ubercadence/server:master-auto-setup)...
master-auto-setup: Pulling from ubercadence/server
619be1103602: Pull complete
594ebe87f637: Pull complete
8ad8fbbcc0a6: Pull complete
a136dabb3d8a: Pull complete
85ba4869264f: Pull complete
1926349f71ba: Pull complete
bbba913444ed: Pull complete
da2c49d34810: Pull complete
eb2c342dae53: Pull complete
bc71433a07d7: Pull complete
b3bb76532ed1: Pull complete
0fb3ef2575dd: Pull complete
44b24f453c7e: Pull complete
4c7962c91b3f: Pull complete
2c4fe5a90f05: Pull complete
4f4fb700ef54: Pull complete
17ff1068643f: Pull complete
83bfe8183c0a: Pull complete
7a79183ca7aa: Pull complete
Digest: sha256:caf6904fab3ddbf3d378bcfcf2e02610eb6e50274c6b4387ce6aed0bb1f6af0c
Status: Downloaded newer image for ubercadence/server:master-auto-setup
Pulling cadence-web (ubercadence/web:latest)...
latest: Pulling from ubercadence/web
26c5c85e47da: Pull complete
96da4c1974ec: Pull complete
286584c9c618: Pull complete
ec51043fad6b: Pull complete
10845595c672: Pull complete
4bc66d07162f: Pull complete
d2872fe50046: Pull complete
2d6a11ceddba: Pull complete
33fbca2bf06d: Pull complete
8688dfb67dfe: Pull complete
40456e044088: Pull complete
Digest: sha256:17f1bbf803c48cd0163f692abea8c77ac72d2bc94b44132b02dfecb58d440f3d
Status: Downloaded newer image for ubercadence/web:latest
Pulling grafana (grafana/grafana:)...

latest: Pulling from grafana/grafana
4abcf2066143: Already exists
b56d275ef537: Pull complete
bf064887a9c7: Pull complete
b706854df8e9: Pull complete
69ef7069416c: Pull complete
04edff225a62: Pull complete
3e634c55be4d: Pull complete
c8f00c165a37: Pull complete
481ee4744cbf: Pull complete
1bcf66605cd1: Pull complete
Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0
Status: Downloaded newer image for grafana/grafana:latest
Creating cadence_node-exporter_1 ... 
Creating cadence_node-exporter_1 ... error
Creating cadence_cassandra_1     ... 
WARNING: Host is already in use by another container

ERROR: for cadence_node-exporter_1  Cannot start service node-exporter: driver failed programming external connectivity on endpoint cadence_node-exporter_1 (1f2cabc17c306903b6f5f7fd487ce2ed8e8d17b8c395398531539d8885abc9da): Bind for 0.0.0.0:9100 failed: port is alreCreating cadence_prometheus_1    ... error
WARNING: Host is already in use by another container

ERROR: for cadence_prometheus_1  Cannot start service prometheus: driver failed programming external connectivity on endpoint cadence_prometheus_1 (911c5725dff7f8d0009242c87d6583e2da60e0502d5d16d78bde48145d29f797): Bind for 0.0.0.0:9090 failed: port is already allocCreating cadence_cassandra_1     ... done

ERROR: for node-exporter  Cannot start service node-exporter: driver failed programming external connectivity on endpoint cadence_node-exporter_1 (1f2cabc17c306903b6f5f7fd487ce2ed8e8d17b8c395398531539d8885abc9da): Bind for 0.0.0.0:9100 failed: port is already allocated

ERROR: for prometheus  Cannot start service prometheus: driver failed programming external connectivity on endpoint cadence_prometheus_1 (911c5725dff7f8d0009242c87d6583e2da60e0502d5d16d78bde48145d29f797): Bind for 0.0.0.0:9090 failed: port is already allocated
osho-20 commented 1 week ago

You are having another container running which is occupying the current port and unable to start a new service at same port u can stop the previous service running and start a new one.