Błąd ładowania iptables do autostartu
: 08 lutego 2011, 22:11
Mam problem z załadowaniem iptables do autostartu, robię to tak:
W czym może być problem, w jaki sposób mogę dodać iptables do autostartu jeszcze? Pozdrawiam.
Wcześniej oczywisćie utworzyłem skrypt iptables i skopiowałem go do /etc/init.d.
- Skrypt o nazwie skrypt.sh przenoszę do katalogu /etc/init.d/
Kod: Zaznacz cały
cd /etc/init.d/
-
Kod: Zaznacz cały
chmod +x skrypt.sh
Kod: Zaznacz cały
update-rc.d skrypt.sh defaults
Kod: Zaznacz cały
root@debian:/etc/init.d# update-rc.d iptables.sh defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K50iptables' missing LSB tags and overrides
insserv: warning: script 'iptables.sh' missing LSB tags and overrides
insserv: warning: script 'iptables' missing LSB tags and overrides
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting iptables depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: There is a loop between service iptables and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service nfs-common at depth 5
insserv: There is a loop between service iptables and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service keyboard-setup at depth 2
insserv: loop involving service fuse at depth 10
insserv: There is a loop between service rmnologin and mountall if started
insserv: loop involving service mountall at depth 6
insserv: loop involving service checkfs at depth 5
insserv: loop involving service mtab at depth 4
insserv: There is a loop between service iptables and checkroot if started
insserv: loop involving service hdparm at depth 3
insserv: loop involving service hostname at depth 4
insserv: loop involving service portmap at depth 9
insserv: There is a loop between service rmnologin and ifupdown if started
insserv: loop involving service ifupdown at depth 7
insserv: loop involving service ifupdown-clean at depth 6
insserv: loop involving service module-init-tools at depth 6
insserv: There is a loop between service rmnologin and udev if started
insserv: loop involving service udev at depth 1
insserv: There is a loop at service rmnologin if started
insserv: loop involving service iptables at depth 1
insserv: loop involving service mountkernfs at depth 1
insserv: loop involving service networking at depth 9
insserv: There is a loop between service iptables and mountall-bootclean if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
root@debian:/etc/init.d#
Wcześniej oczywisćie utworzyłem skrypt iptables i skopiowałem go do /etc/init.d.