Unsolved Salt Minion Problems
-
@scottalanmiller said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@scottalanmiller yes.. but it wont let me said permission denied
What said that?
-
@WrCombs you need a text editor to open the file
-
@Romo said in Salt Minion Problems:
@WrCombs you need a text editor to open the file
a text editor? -
@WrCombs said in Salt Minion Problems:
@scottalanmiller said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@scottalanmiller yes.. but it wont let me said permission denied
What said that?
If you get permission denied, you don't just ignore it and think things will work. You stop and address the issue at the time. You attempted to run the hosts file as a command, which it is not, it is a text file that is not executable. Where in my directions did it say to "run" the file that you are to edit?
-
@Romo said in Salt Minion Problems:
@WrCombs you need a text editor to open the file
Not from my directions. If he just used what I provided, he didn't even need that...
echo '192.168.1.92 salt' >> /etc/hosts
-
@scottalanmiller OK i said i followed your instructions, yes. because i did the first time. thats what I put when i was doing the install, at that point, thats what i put in the box
-
@scottalanmiller said in Salt Minion Problems:
@Romo said in Salt Minion Problems:
@WrCombs you need a text editor to open the file
Not from my directions. If he just used what I provided, he didn't even need that...
echo '192.168.1.92 salt' >> /etc/hosts
Indeed no need to use a text editor directly when using that method
-
@scottalanmiller https://i.imgur.com/b9ewd2H.png
and this is what i get
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller OK i said i followed your instructions, yes. because i did the first time. thats what I put when i was doing the install, at that point, thats what i put in the box
Check your hosts file content
cat /etc/hosts
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller OK i said i followed your instructions, yes. because i did the first time. thats what I put when i was doing the install, at that point, thats what i put in the box
Did you remember to update the IP address that you echo'd in with the real one, not one from a generic sample? I see the sample IP address in the hosts file, but not your IP address. When using examples, you can't use the specific addresses shown, they will always be specific to your setup.
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller https://i.imgur.com/b9ewd2H.png
and this is what i get
What this command means is, insert 192.168.1.92 into the end of the file /etc/hosts'. Every time you run it it will just append whatever you have in quotations into the file.
Also remember to first check if that ip is really the ip of the salt master.
-
@WrCombs said in Salt Minion Problems:
@scottalanmiller OK i said i followed your instructions, yes. because i did the first time. thats what I put when i was doing the install, at that point, thats what i put in the box
Are you sure you did that on the right box? I don't see any echo command in the command history.
-
This is really a great crash course in linux commands
-
@Romo said in Salt Minion Problems:
@WrCombs said in Salt Minion Problems:
@scottalanmiller https://i.imgur.com/b9ewd2H.png
and this is what i get
What this command means is, insert 192.168.1.92 into the end of the file /etc/hosts'. Every time you run it it will just append whatever you have in quotations into the file.
Also remember to first check if that ip is really the ip of the salt master.
That one is, in the source, it was not. I modified it when I put it here.
-
How do i find the IP address of the master?
I tried and ifconfig command and it didnt work.
is it supposed to my person ip?
-
@WrCombs said in Salt Minion Problems:
How do i find the IP address of the master?
I tried and ifconfig command and it didnt work.
is it supposed to my person ip?
ifconfig is the command from the olden days (like many months ago), the current command is...
ip addr
-
-
@WrCombs on the master, run
ip addr
-
so iget it and it still tells me "permission denied"
-
GOT IT