Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. cluster.sh
  2.  
  3. #!/bin/sh
  4. export master_ip='192.168.1.115'
  5. export slave_ip="192.168.1.86"
  6. export node_type='master'
  7. export database_password='upwLXcHCnyIrlEiVsk6U5az2c4'
  8. export xml_cdr_username='mBDA2Rpn8jcmGpZB'
  9. export xml_cdr_password='31yfu2ReILD8S1l'
  10.  
  11.  
  12. The main script runs:
  13. . ./resources/cluster.sh
  14. iptables -A INPUT -s "${master_ip}" -j ACCEPT
  15. iptables -A INPUT -s "${slave_ip}" -j ACCEPT
  16.  
  17. The error is:
  18.  
  19. Configure IPTables
  20. ' not found.4.21: host/network `192.168.1.115
  21. Try `iptables -h' or 'iptables --help' for more information.
  22. ' not found.4.21: host/network `192.168.1.86
  23. Try `iptables -h' or 'iptables --help' for more information.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement