Page 1 of 1

APF (from repo) strangeness

Posted: Thu Jul 01, 2010 10:05 am
by Highland
I've always installed APF from the gzip but I was pleased to see the atomic repo had it in there so I figured I'd run with that. All I've ever had to do is edit /etc/apf/conf.apf and the allow and deny files. But when attempting to start APF I get this

Code: Select all

# apf -s
/etc/apf/internals/internals.conf: line 59: /internals/rab.ports: No such file or directory
/etc/apf/internals/internals.conf: line 61: /internals/functions.apf: No such file or directory
/usr/sbin/apf: line 136: eout: command not found
/usr/sbin/apf: line 138: /internals/.last.full: No such file or directory
/usr/sbin/apf: line 152: devm: command not found
/usr/sbin/apf: line 154: /vnet/vnetgen: No such file or directory
/usr/sbin/apf: line 156: /firewall: No such file or directory
/usr/sbin/apf: line 160: bandmin: command not found
/usr/sbin/apf: line 162: eout: command not found
Any ideas what's going on?

Re: APF (from repo) strangeness

Posted: Thu Jul 01, 2010 2:16 pm
by Highland
For some reason it was looking for INSTALL_PATH, which was not set. I set it and it still didn't want to work right. Threw another similar error after I fixed that one.

Code: Select all

# apf -s
/etc/apf/internals/functions.apf: line 27: $LOG_APF: ambiguous redirect
grep: 127.0.0.1: No such file or directory
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
/etc/apf/internals/functions.apf: line 27: $LOG_APF: ambiguous redirect (repeated about 20 times)
I finally just bit the bullet and went with the tarball.
Is this not ready for prime time?