# Trusty environment: redis-server not starting with redis-tools installed

**URL:** <https://travis-ci.community/t/trusty-environment-redis-server-not-starting-with-redis-tools-installed/650>\
**Category:** Linux\
**Tags:** redis\
**Created:** [November 4, 2018, 6:47pm UTC](https://travis-ci.community/t/trusty-environment-redis-server-not-starting-with-redis-tools-installed/650 "2018-11-04T18:47:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [November 5, 2018, 1:54pm UTC](https://travis-ci.community/t/trusty-environment-redis-server-not-starting-with-redis-tools-installed/650/2 "2018-11-05T13:54:05Z")

</div>

I dug into this a little bit, and it appears to me that the newer package now tries to bind to IPv6 `::1` as well as `127.0.0.1`. IPv6 is not available on our images, so the server fails to start. You’ll have to remove `::1` from `/etc/redis/redis.conf` after the new package has been installed, and start the service after that.

```auto
before_install:
  - sudo sed -e 's/^bind.*/bind 127.0.0.1/' /etc/redis/redis.conf > redis.conf
  - sudo mv redis.conf /etc/redis
  - sudo service redis-server start
  - echo PING | nc localhost 6379

```

---

_[View the full topic](https://travis-ci.community/t/trusty-environment-redis-server-not-starting-with-redis-tools-installed/650)._
