Skip to content

Instantly share code, notes, and snippets.

@drewdeponte
Created July 10, 2015 16:33
Show Gist options
  • Save drewdeponte/a2a49abb932d3d277bff to your computer and use it in GitHub Desktop.
Save drewdeponte/a2a49abb932d3d277bff to your computer and use it in GitHub Desktop.
Travis Container Service Sudo Errors
0.03s$ sudo service redis-server start
redis-server start/running, process 1810
0.07s$ sudo service elasticsearch start
* Starting Elasticsearch Server it: error setting limit (Operation not permitted)
error: permission denied on key 'vm.max_map_count'
postgresql
Starting PostgreSQL v9.3
2.17s$ sudo service postgresql stop
* Stopping PostgreSQL 9.4 database server 2.46s$ sudo service postgresql start 9.3
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment