I am running version 3.0.7 of Shorewall on a Debian Sarge system, but when I start Shorewall I get this: /usr/share/shorewall/firewall: line 204: 4: command not found I looked there and found this: # Run ip and if an error occurs, stop the firewall and quit # run_ip() { if ! ip $@ ; then if [ -z "$STOPPING" ]; then error_message "ERROR: Command \"ip $@\" Failed" stop_firewall exit 2 fi fi } I assume the error refers to the "ip" command, which is found on my system How can I fix this problem? The error does not seem to be fatal, the firewall does start. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Pollywog wrote:> > I assume the error refers to the "ip" command, which is found on my system > How can I fix this problem? The error does not seem to be fatal, the firewall > does start.You need to look at a trace of "shorewall start" to see where the error is actually occurring. See http://www.shorewall.net/troubleshoot.htm -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
On Monday 23 October 2006 21:12, Tom Eastep wrote:> Pollywog wrote: > > I assume the error refers to the "ip" command, which is found on my > > system How can I fix this problem? The error does not seem to be fatal, > > the firewall does start. > > You need to look at a trace of "shorewall start" to see where the error is > actually occurring. > > See http://www.shorewall.net/troubleshoot.htm > > -Tom/sbin/shorewall: line 204: 6: command not found + shift + nolock+ ''['' 1 -gt 1 '']'' + trap ''my_mutex_off; exit 2'' 1 2 3 4 5 6 9 + COMMAND=start + ''['' 1 -ne 1 '']'' + do_initialize + export LC_ALL=C + LC_ALL=C + umask 177 + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin + TERMINATOR=startup_error + version+ IPTABLES+ FW+ SUBSYSLOCK+ ALLOWRELATED=Yes + LOGRATE+ LOGBURST+ LOGPARMS+ LOGLIMIT+ ADD_IP_ALIASES ..... ++ LOGRATE++ LOGBURST++ LOGALLNEW++ BLACKLIST_LOGLEVEL++ 6 /usr/share/shorewall/firewall: line 204: 6: command not found ++ MACLIST_LOG_LEVEL=info ++ TCP_FLAGS_LOG_LEVEL=info ++ RFC1918_LOG_LEVEL=info ++ SMURF_LOG_LEVEL=info ++ LOG_MARTIANS=No ++ IPTABLES=/usr/local/sbin/iptables Those are the two places where I see that error. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Pollywog wrote:> On Monday 23 October 2006 21:12, Tom Eastep wrote: >> Pollywog wrote: >>> I assume the error refers to the "ip" command, which is found on my >>> system How can I fix this problem? The error does not seem to be fatal, >>> the firewall does start. >> You need to look at a trace of "shorewall start" to see where the error is >> actually occurring. >> >> See http://www.shorewall.net/troubleshoot.htm >> >> -Tom > > /sbin/shorewall: line 204: 6: command not found > + shift > + nolock> + ''['' 1 -gt 1 '']'' > + trap ''my_mutex_off; exit 2'' 1 2 3 4 5 6 9 > + COMMAND=start > + ''['' 1 -ne 1 '']'' > + do_initialize > + export LC_ALL=C > + LC_ALL=C > + umask 177 > + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin > + TERMINATOR=startup_error > + version> + IPTABLES> + FW> + SUBSYSLOCK> + ALLOWRELATED=Yes > + LOGRATE> + LOGBURST> + LOGPARMS> + LOGLIMIT> + ADD_IP_ALIASES> > ..... > > ++ LOGRATE> ++ LOGBURST> ++ LOGALLNEW> ++ BLACKLIST_LOGLEVEL> ++ 6 > /usr/share/shorewall/firewall: line 204: 6: command not found > ++ MACLIST_LOG_LEVEL=info > ++ TCP_FLAGS_LOG_LEVEL=info > ++ RFC1918_LOG_LEVEL=info > ++ SMURF_LOG_LEVEL=info > ++ LOG_MARTIANS=No > ++ IPTABLES=/usr/local/sbin/iptables > > > Those are the two places where I see that error. >You have garbage in your /etc/shorewall/shorewall.conf file -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642