Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: calvin on May 19, 2003, 09:31:01 PM

Title: Masq Fail
Post by: calvin on May 19, 2003, 09:31:01 PM
I use SME server 5.6 and after update4 i received this error

/etc/init.d/masq: line 434: syntax error near unexpected token "done"'
/etc/init.d/masq: line 434:     echo "done"'


what is wrong ?
Title: Re: Masq Fail
Post by: calvin on May 19, 2003, 09:54:49 PM
when i try to eliminate the error on script
and run

/etc/init.d/masq stop

get this error :

hutting down IP masquerade and firewall rules:ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Incompatible with this kernel
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Incompatible with this kernel
Title: Re: Masq Fail
Post by: calvin on May 19, 2003, 10:28:02 PM
/lib/modules/2.4.18-5/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
Title: Re: Masq Fail
Post by: calvin on May 19, 2003, 11:23:04 PM
[root@gateway root]# /sbin/iptables --flush
/lib/modules/2.4.18-5/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-5/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.18-5/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-5/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.5: can't initialize iptables table filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded
Title: Re: Masq Fail
Post by: Charlie Brady on May 20, 2003, 04:55:26 AM
calvin wrote:

> when i try to eliminate the error on script
> and run
>
> /etc/init.d/masq stop
>
> get this error :
>
> hutting down IP masquerade and firewall rules:ipchains:
> Protocol not available
> ipchains: Protocol not available

For some reason you have an ipchains command. Remove any custom templates or non 5.6 compatible port-forwarding add-ons.

Charlie