From: Orlandinei Vujanski [mailto:[email protected]] 
Sent: Wednesday, October 22, 2014 5:13 AM
To: Shorewall Users
Subject: [Shorewall-users] error - The firewall will not be started / stopped 
the unless it is configured

People, good morning.
Could you help me? 

I installed Debian after Jessie and configure shorewall is giving the error 
below. 
Already do not know what to do. 

Thank you 

oot @ EMPVL0114254: / etc / shorewall # systemctl status shorewall.service 
● shorewall.service - LSB: Configure the firewall at boot time 
    Loaded: loaded (/etc/init.d/shorewall) 
    Active: active (exited) since Tue 22/10/2014 10:07:32 EST; 1min 29s in 
August 

Oct 22 10:07:32 EMPVL0114254 shorewall [10916]: WARNING #### #### 
Oct 22 10:07:32 EMPVL0114254 shorewall [10916]: The firewall will not be 
started / stopped the unless it is configured 
Oct 22 10:07:32 EMPVL0114254 shorewall [10916]: Please read about Debian 
specific customization in 
Oct 22 10:07:32 EMPVL0114254 shorewall [10916]: 
/usr/share/doc/shorewall/README.Debian.gz. 
Oct 22 10:07:32 EMPVL0114254 shorewall [10916]: #################
---------------------------------------------------------------------------------------------------------------------------
From the Debian SysV init script:

   ...
   not_configured () {
           echo "#### WARNING ####"
           echo "The firewall won't be started/stopped unless it is configured"
           if [ "$1" != "stop" ]
           then
                echo ""
                echo "Please read about Debian specific customization in"
                echo "/usr/share/doc/shorewall/README.Debian.gz."
           fi
           echo "#################"
           exit 0
   }
   #
   # The installer may alter this
   #
   . /usr/share/shorewall/shorewallrc

   # check if shorewall is configured or not
   if [ -f "${SYSCONFDIR}/shorewall" ]
   then
           . ${SYSCONFDIR}/shorewall
           SRWL_OPTS="$SRWL_OPTS $OPTIONS"
           if [ "$startup" != "1" ]
           then
                   not_configured
           fi
   else
           not_configured
   fi

The Debian /usr/share/Shorewall/shorewallrc file sets

   SYSCONFDIR=/etc/default

So the message indicates that either /etc/default/shorewall
does not exist (unlikely), or that you have failed to set
startup=1 in that file.

Tom
[email protected]
http://www.shorewall.org



------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to