Hi Christian, mask=255.255.255.255 is not correct.
Regards Fabrice Le 2015-02-07 14:36, Christian Hanster a écrit : > Good evening everybody, > > perhaps you can help me with my little problem. Since this morning. Our pf > server does not want to start anymore. It only gives the following message: > Fatal error preventing configuration to load. Please review your > configuration. Error: Missing mandatory element ip or netmask on interface > eth2 at /usr/local/pf/lib/pf/config.pm line 604. at > /usr/local/pf/lib/pf/config.pm line 403 > Compilation failed in require at /usr/local/pf/bin/pfcmd.pl line 84. > BEGIN failed--compilation aborted at /usr/local/pf/bin/pfcmd.pl line 84. > > My problem is that I have passed all parameters to pf (pf.conf is at the > end). For me it seems that pf is not reading the file any more and is using a > cache. When delete all the interfaces I get the same error message, what I > did not understand. > > Regards > Christian Hanster > > [general] > # > # general.domain > # > # Domain name of PacketFence system. > domain=endoo.eu > # > # general.hostname > # > # Hostname of PacketFence system. This is concatenated with the domain in > Apache rewriting rules and therefore must be resolvable by clients. > hostname=packetfence2 > > [alerting] > # > # alerting.emailaddr > # > # Email address to which notifications of rogue DHCP servers, violations with > an action of "email", or any other > # PacketFence-related message goes to. > [email protected] > > [database] > # > # database.pass > # > # Password for the mysql database used by PacketFence. > pass=packetfence > > #[interface eth2] > #ip=185.48.119.53 > #type=management > #mask=255.255.255.255 > #gateway=185.48.119.1 > > [interface eth2] > ip=185.48.119.53 > type=management > mask=255.255.255.255 > > [interface eth1] > enforcement=inlinel3 > ip=192.168.1.254 > type=internal > mask=255.255.255.0 > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
