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

how to reach the parent from vagrant/libvirt/qemu vm?
Is it possible to trigger Packer's post-processor skipping the build step?
Is it possible to nest synced folders in vagrant?
Vagrant network collides with a non-hostonly network
Is it possible to enable WinRM in a Modern.ie VM or Vagrant Box by repackaging it with Packer?
How do I change the ips of Kubernetes cluster
Vagrant Up loads with Hyper-v provider in Windows 10
setting up a synced folder that may not exist
How do I know which vagrantfile is in use?
Bundler error whilst trying to install Varying Vagrant Vagrants and Vagrant plug-ins
Running polymer serve to serve publically in a virtual machine (VM)
File provisioner upload error
update IP Address in Vagrant VMs
vagrant box SSL error “suddenly” (Windows 10 + 7)
Unable to install Aerospike with the default vagrant image
Vagrant chef provisioning fails with: Getting information for chef stable for el

Categories

HOME
webview
ontouchlistener
facebook-messenger
exchange-server
add-on
loopbackjs
ios-simulator
slider
dronekit-python
greasemonkey
kurento
cocotb
msmq
bellman-ford
yeoman-generator-angular
game-maker
chromecast
fullcalendar-scheduler
ex
bundler
sonicwall
async-await
fresco
uima
gravity
xsl-fo
cpu-usage
kamailio
device
perfino
pdf.js
oracleforms
react-bootstrap-table
sales
dnsmasq
social-networking
intune
location-services
vcenter
commonsware-cwac
fotorama
microsoft-certifications
adminer
xerces-c
subclassing
nanogallery
ng-repeat
django-smart-selects
resampling
spooler
jqgrid-asp.net
linq-to-excel
palindrome
mongodb-aggregation
gnome-terminal
polymaps
swiperefreshlayout
rustdoc
fitbit
android-4.2-jelly-bean
wolfram-language
piping
maximize
frame-grab
gridbaglayout
psd
management-studio-express
miniconda
juniper-network-connect
featuretoggle
hmisc
espresso
org-babel
physicsjs
text-align
python-curses
android-audiomanager
zend-mail
nesper
igor
two.js
csslint
senchatouch-2.4
redpitaya
neo4jphp
reference-counting
miglayout
preorder
accountmanager
mod-perl
django-sites
code39
hyphen
disjoint-union
sly-scroller
web-frameworks
asp.net-mvc-3-areas
tfs-sdk
office-app
red-system
lynx
multiple-dispatch
first-class
jdom
navigationcontroller
nsrangeexception
jquery-1.4
django-pagination
channelfactory
index.dat
prism-2

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App