vagrant


Starting salt-master on Vagrant: [Errno 98]


Trying to run salt-master on Vagrant running Ubuntu,
no edits to /etc/salt/master
I get:
vagrant#markvagrant:/etc/salt$ sudo salt-master -l all
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Configuration file path: /etc/salt/master
[TRACE ] Trying pysss.getgrouplist for 'root'
[TRACE ] Trying generic group list for 'root'
[TRACE ] Group list for user 'root': []
[INFO ] Setting up the Salt Master
[WARNING ] Unable to bind socket, error: [Errno 98] Address already in use
The ports are not available to bind
My Vagrantfile:
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.2.2"
config.vm.network "public_network"
config.vm.hostname = "markvagrant"
config.vm.synced_folder "./data", "/vagrant_data"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
The error you got there:
[WARNING ] Unable to bind socket, error: [Errno 98] Address already in use
The ports are not available to bind
is indicating that the salt-master daemon is already running. That's why when you're executing sudo salt-master -l all it's failing.
If you want to run the salt-master in the foreground in your terminal like in your example, then stop the salt-master daemon first like this:
sudo service salt-master stop
Then you can start it up like you wanted to:
sudo salt-master -l all

Related Links

NoMethodError when doing vagrant up
How to build libvirt box from scratch
Using pyenv in Ansible
an established connection was aborted by the software in your host machine vagrant
Preferred method to daemonize vagrant plugin
config-custom.yaml not loading on vagrant / puppet VM
Vagrant - The host path of the shared folder is missing: ../keys
Vagrant: missing file id_rsa
Vagrant box after rebooting itself doesn't mount synced folders
Convert vhd to vagrant box?
Configure PyCharm interpreter with docker-compose inside Vagrant
Vagrant plugin: How to capture machine.action output
Unable to launch vagrant-lxc
Chef Solo in Vagrant: How to create RabbitMQ virtual host nad bind it to given username
Errors on kitchen converge step
Failed to mount folders in Linux guest (Vagrant)

Categories

HOME
hpoo
flask
webview
gaming
jms
workflow
activemq
autocomplete
twitter-fabric
liferay-7
azure-mobile-services
impala
position
gprs
cdi
telegraf
mailing-list
bellman-ford
hystrix
alljoyn
cname
stimulsoft
mailgun
orange-api
supervisord
async-await
fosuserbundle
jest
social-tables
unity-container
kamailio
function-points
window-managers
history.js
code-climate
microprocessors
fusion
dotcms
publishing
buildforge
landscape
pdfnet
aurelia-cli
cloudera-sentry
flipkart
word-cloud
viewmodel
webalizer
1010
xcode6.4
logical
perforce-integrate
qpixmap
android-syncadapter
processor
jsr363
smart-tv
lowercase
fanotify
algebraixlib
relational-model
phpredis
flow-js
scala-macros
python-c-extension
sql-processor
adhoc-polymorphism
storing-data
webautomation
code-complexity
neo4jphp
wso2bam
hotswap
mod-perl
hints
sly-scroller
semicolon
jbox2d
viewpagerindicator
coordinate
dropshadow
radscheduler
firefly-mv
ognl
nsconnection
chunking

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App