# Is rabbitmq service down?

**URL:** <https://travis-ci.community/t/is-rabbitmq-service-down/4362>\
**Category:** Environments\
**Created:** [July 24, 2019, 8:59am UTC](https://travis-ci.community/t/is-rabbitmq-service-down/4362 "2019-07-24T08:59:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bluefissure](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/bluefissure/32/2329_2.png) [@Bluefissure](https://travis-ci.community/u/Bluefissure)\
**Post date:** [July 24, 2019, 8:59am UTC](https://travis-ci.community/t/is-rabbitmq-service-down/4362/1 "2019-07-24T08:59:39Z")

</div>

As the log shows [here](https://api.travis-ci.org/v3/job/562975591/log.txt), the `rabbitmq` service cannot be started:

```auto
e[0Ktravis_fold:start:services
e[0Ktravis_time:start:0088e906
e[0K$ sudo systemctl start redis-server
travis_time:end:0088e906:start=1563958140869165696,finish=1563958140935211880,duration=66046184
e[0Ktravis_time:start:0572c1fc
e[0K$ sudo systemctl start rabbitmq-server
Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.
travis_time:end:0572c1fc:start=1563958140939145809,finish=1563958140951256738,duration=12110929

```

I have my `.travis.yml` as:

```auto
branches:
  only:
  - master
language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
services:
  - redis-server
  - rabbitmq
  - mysql
# command to install dependencies
install: "pip install -r requirements.txt"
before_script:
  - mysql -e 'CREATE DATABASE FFXIV_DEV;'
  - mysql -u root -e "CREATE USER 'FFXIV_DEV'@'localhost' IDENTIFIED BY 'PASSWORD';"
  - mysql -u root -e "GRANT ALL ON *.* TO 'FFXIV_DEV'@'localhost';"
  - mv FFXIV/settings_example.py FFXIV/settings.py
  - python manage.py makemigrations ffxivbot
  - python manage.py makemigrations
  - python manage.py migrate
# command to run tests
script:
  - python manage.py test

after_success:
  - bash <(curl -s https://codecov.io/bash)

```

---

<div class="post-metadata">

**Author:** ![dominic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dominic/32/14_2.png) [@dominic](https://travis-ci.community/u/dominic)\
**Post date:** [July 24, 2019, 2:11pm UTC](https://travis-ci.community/t/is-rabbitmq-service-down/4362/2 "2019-07-24T14:11:50Z")

</div>

Sorry for the troubles.

Since you aren’t specifying a `dist:` in your .travis.yml file, this is a side-effect of [our migration to change the default distribution from Trusty to Xenial](https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment). Unfortunately, rabbitmq isn’t available on Xenial at this time.

The workaround would be to add `dist: trusty` to your .travis.yml file or install rabbitmq “manually”.

Hope this helps!
