Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: abluesongbird on May 15, 2010, 03:29:41 am

Title: Firewall appears to fail on boot
Post by: abluesongbird on May 15, 2010, 03:29:41 am
During its boot sequence my eBox (1.4 on Ubuntu LTS 8.04.4) machine reports

Code: [Select]
Starting eBox module: firewall                     [fail]
but afterward a call to

Code: [Select]
sudo iptables -L
reveals that the rules were loaded properly during boot.  There is nothing in the eBox logs reporting the failure and restarting the firewall with

Code: [Select]
sudo /etc/init.d/ebox firewall restart
reports success.

Any ideas?
Title: Re: Firewall appears to fail on boot
Post by: J. A. Calvo on May 15, 2010, 11:34:26 am
Could you give us the exact version of your firewall module? (apt-cache policy ebox-firewall)
Title: Re: Firewall appears to fail on boot
Post by: abluesongbird on May 16, 2010, 01:24:11 pm
Sure, the output of the apt-get call is

Code: [Select]
ebox-firewall:
  Installed: 1.4.3-0ubuntu1~ppa1~hardy1
  Candidate: 1.4.3-0ubuntu1~ppa1~hardy1
  Version table:
 *** 1.4.3-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     0.11.99-0ubuntu2 0
        500 http://ca.archive.ubuntu.com hardy/universe Packages
Title: Re: Firewall appears to fail on boot
Post by: J. A. Calvo on May 16, 2010, 10:26:53 pm
Look at the /var/log/ebox/ebox.log file while you execute "/etc/init.d/ebox firewall restart" to see if any error appears there.
Title: Re: Firewall appears to fail on boot
Post by: abluesongbird on May 18, 2010, 10:01:27 pm
Everything looks good...

Code: [Select]
2010/05/18 16:59:59 INFO> Service.pm:625 EBox::Module::Service::restartService - Restarting service for module: firewall
2010/05/18 17:00:02 INFO> Base.pm:781 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1