# How to resolve Pups exec errors during Discourse bootstrap

**URL:** https://meta.discourse.org/t/how-to-resolve-pups-exec-errors-during-discourse-bootstrap/362619
**Category:** Support
**Created:** [April 18, 2025, 12:38pm UTC](https://meta.discourse.org/t/how-to-resolve-pups-exec-errors-during-discourse-bootstrap/362619 "2025-04-18T12:38:46Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [April 20, 2025, 8:11am UTC](https://meta.discourse.org/t/how-to-resolve-pups-exec-errors-during-discourse-bootstrap/362619/11 "2025-04-20T08:11:22Z")

</div>

Thanks for the diagram. That’s quite a sophisticated setup - you’d do that if you had a good reason and knew the territory.

If you’re still seeing the following, I think that’s the indication of what’s wrong. Redis can’t open the port it needs to be listening on.

> [@Thomas\_Rother](#):
>
> ```plaintext
> 999:C 19 Apr 2025 16:39:59.006 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
> 999:C 19 Apr 2025 16:39:59.006 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=999, just started
> 999:C 19 Apr 2025 16:39:59.006 # Configuration loaded
> 999:M 19 Apr 2025 16:39:59.006 * monotonic clock: POSIX clock_gettime
> 999:M 19 Apr 2025 16:39:59.006 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
> 999:M 19 Apr 2025 16:39:59.006 # Failed listening on port 6379 (TCP), aborting.
> 18:signal-handler (1745080813) Received SIGTERM scheduling shutdown...
> 
> ```

So the questions are about whether redis should be doing that, in this container, and if so, where else on the machine is another redis running. lsof might be a useful tool here.

> [@Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727/715):
>
> Is it running on the classic port number that Discourse is expecting?
> 
> try `lsof -wni | grep redis`

> [@Test installation on aarch64 - Failed to report error: Error connecting to Redis on localhost:6379](https://meta.discourse.org/t/test-installation-on-aarch64-failed-to-report-error-error-connecting-to-redis-on-localhost-6379/212763/4):
>
> Can you run `sudo lsof -i -P -n | grep LISTEN` on your host and share the output here?

---

_[View the full topic](https://meta.discourse.org/t/how-to-resolve-pups-exec-errors-during-discourse-bootstrap/362619)._
