Re: iptables/ip6tables unit error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Nov 04, 2012 at 12:07:59AM -0300, Martín Cigorraga wrote:
> Hi all,
> 
> today I found this error with the iptables/ip6tables units, does anybody
> know what is happening?
> 
> ~ $ su root
> /home/msx # systemctl enable iptables.service
> ln -s '/usr/lib/systemd/system/iptables.service'
> '/etc/systemd/system/multi-user.target.wants/iptables.service'
> /home/msx # systemctl start iptables.service
> Job for iptables.service failed. See 'systemctl status iptables.service'
> and 'journalctl -n' for details.
> /home/msx # systemctl status iptables.service
> iptables.service - Packet Filtering Framework
>           Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled)
>           Active: failed (Result: exit-code) since Sun, 2012-11-04 00:00:01
> ART; 11s ago
>          Process: 5442 ExecStart=/usr/sbin/iptables-restore
> /etc/iptables/iptables.rules (code=exited, status=1/FAILURE)
>           CGroup: name=systemd:/system/iptables.service
> 
> Nov 04 00:00:01 heybeavis systemd[1]: Starting Packet Filtering Framework...
> Nov 04 00:00:01 heybeavis iptables-restore[5442]: Can't open
> /etc/iptables/iptables.rules: No such file or directory

Perhaps you want to pay attention to this line right here. There is only
a sample config shipped with iptables.

> Nov 04 00:00:01 heybeavis systemd[1]: iptables.service: main process
> exited, code=exited, status=1/FAILURE
> Nov 04 00:00:01 heybeavis systemd[1]: Failed to start Packet Filtering
> Framework.
> Nov 04 00:00:01 heybeavis systemd[1]: Unit iptables.service entered failed
> state
> 
> This have me a little disoriented since iptables are built in the stock
> kernel, the one I'm using o_0

Some day people will read their own error messages.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux