LINUX.ORG.RU
ФорумAdmin

Что за ошибка??


0

0

Делаю /etc/rc.d/init.d/iptables stop выдаёт мне: /etc/rc.d/init.d/iptables: line 2: *nat: command not found /etc/rc.d/init.d/iptables: line 3: :PREROUTING: command not found /etc/rc.d/init.d/iptables: line 4: :POSTROUTING: command not found /etc/rc.d/init.d/iptables: line 5: :OUTPUT: command not found /etc/rc.d/init.d/iptables: line 6: -A: command not found /etc/rc.d/init.d/iptables: line 7: -A: command not found /etc/rc.d/init.d/iptables: line 8: COMMIT: command not found /etc/rc.d/init.d/iptables: line 11: *filter: command not found /etc/rc.d/init.d/iptables: line 12: :INPUT: command not found /etc/rc.d/init.d/iptables: line 13: :FORWARD: command not found /etc/rc.d/init.d/iptables: line 14: :OUTPUT: command not found /etc/rc.d/init.d/iptables: line 15: :DenyHN: command not found /etc/rc.d/init.d/iptables: line 16: :inet: command not found /etc/rc.d/init.d/iptables: line 17: :unspoof: command not found /etc/rc.d/init.d/iptables: line 18: -A: command not found /etc/rc.d/init.d/iptables: line 19: -A: command not found /etc/rc.d/init.d/iptables: line 20: -A: command not found /etc/rc.d/init.d/iptables: line 21: -A: command not found /etc/rc.d/init.d/iptables: line 22: -A: command not found /etc/rc.d/init.d/iptables: line 23: -A: command not found /etc/rc.d/init.d/iptables: line 24: -A: command not found /etc/rc.d/init.d/iptables: line 25: -A: command not found /etc/rc.d/init.d/iptables: line 26: -A: command not found /etc/rc.d/init.d/iptables: line 27: -A: command not found /etc/rc.d/init.d/iptables: line 28: -A: command not found /etc/rc.d/init.d/iptables: line 29: -A: command not found /etc/rc.d/init.d/iptables: line 30: -A: command not found /etc/rc.d/init.d/iptables: line 31: -A: command not found /etc/rc.d/init.d/iptables: line 32: -A: command not found /etc/rc.d/init.d/iptables: line 33: -A: command not found /etc/rc.d/init.d/iptables: line 34: -A: command not found /etc/rc.d/init.d/iptables: line 35: -A: command not found /etc/rc.d/init.d/iptables: line 36: -A: command not found /etc/rc.d/init.d/iptables: line 37: -A: command not found /etc/rc.d/init.d/iptables: line 38: -A: command not found /etc/rc.d/init.d/iptables: line 39: -A: command not found /etc/rc.d/init.d/iptables: line 40: -A: command not found /etc/rc.d/init.d/iptables: line 41: -A: command not found /etc/rc.d/init.d/iptables: line 42: -A: command not found /etc/rc.d/init.d/iptables: line 43: -A: command not found /etc/rc.d/init.d/iptables: line 44: -A: command not found /etc/rc.d/init.d/iptables: line 45: -A: command not found /etc/rc.d/init.d/iptables: line 46: -A: command not found /etc/rc.d/init.d/iptables: line 47: -A: command not found /etc/rc.d/init.d/iptables: line 48: -A: command not found /etc/rc.d/init.d/iptables: line 49: COMMIT: command not found

Из-за чего это???

anonymous
Ответ на: комментарий от anonymous

PS: а вообще приведи, к примеру, строку 45 скрипта /etc/init.d/iptables ибо в разных дистрибутивах могут быть разные вещи туда записаны

anonymous
()
Ответ на: комментарий от anonymous

Очень похоже, что кто-то сделал "iptables-save > /etc/rc.d/init.d/iptables". Это не правильно, попробуйте восстановить этот скрипт из соответствующего для вашего дистрибутива пакета. И сохраняйте в другое место, к примеру в /etc/sysconfig/iptables.

spirit ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.