Trying to load any service with brew services start x yields above error. E.g.
sh: 1: list: not found
Error: Failure while executing: load -w /home/tmo/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
brew update&& brew doctor returns Your system is ready to brew.. If I run the service from terminal, e.g. by calling elasticsearch boots up fine, and a subsequent brew services list shows that elasticsearch is running. However, brew services stop elasticsearch does not work (same error as above).
Permission on /Library/LaunchAgents is drwxrwxr-x to the correct user.
I am on Ubuntu 16.04.4 LTS.
HOMEBREW_VERSION: 1.6.9
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: 3ba4c2ed9b0587040949a4a9a95b576f520bae84
Last commit: 7 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: c631bfd9435e9ab01b6d7be016188bdff36921ac
Core tap last commit: 16 hours ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_REPOSITORY: /home/linuxbrew/.linuxbrew/Homebrew
HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar
HOMEBREW_CACHE: /home/tmo/.cache/Homebrew
CPU: 16-core 64-bit broadwell
Homebrew Ruby: 2.3.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby
Clang: N/A
Git: 2.7.4 => /usr/bin/git
Curl: 7.47.0 => /usr/bin/curl
Java: N/A
Kernel: Linux 4.15.0-1013-azure x86_64 GNU/Linux
OS: Ubuntu 16.04.4 LTS (xenial)
Host glibc: 2.23
/usr/bin/gcc: 5.4.0
glibc: N/A
gcc: N/A
xorg: N/
Trying to load any service with
brew services start x
yields above error. E.g.brew update
&&brew doctor
returnsYour system is ready to brew.
. If I run the service from terminal, e.g. by callingelasticsearch
boots up fine, and a subsequentbrew services list
shows that elasticsearch is running. However,brew services stop elasticsearch
does not work (same error as above).Permission on
/Library/LaunchAgents
isdrwxrwxr-x
to the correct user.I am on
Ubuntu 16.04.4 LTS
.