Hello, I started APF but I got the following error.

Code:
[root@***** /]# /usr/local/sbin/apf -s
: command not foundline 13:
: command not foundline 21:
: command not foundline 24:
: command not foundline 28:
: command not foundline 30:
: command not foundline 34:
: command not foundline 40:
: command not foundline 52:
: command not foundline 58:
: command not foundline 66:
: command not foundline 72:
: command not foundline 78:
: command not foundline 83:
: command not foundline 89:
: command not foundline 93:
: command not foundline 100:
: command not foundline 113:
: command not foundline 118:
: command not foundline 127:
: command not foundline 132:
: command not foundline 136:
: command not foundline 140:
: command not foundline 144:
: command not foundline 149:
: command not foundline 159:
: command not foundline 167:
: command not foundline 173:
: command not foundline 181:
: command not foundline 187:
: command not foundline 191:
: command not foundline 195:
: command not foundline 200:
: command not foundline 206:
: command not foundline 209:
: command not foundline 212:
: command not foundline 215:
: command not foundline 218:
: command not foundline 221:
: command not foundline 224:
: command not foundline 229:
: command not foundline 235:
: command not foundline 241:
: command not foundline 247:
: command not foundline 255:
: command not foundline 262:
: command not foundline 268:
: command not foundline 275:
: command not foundline 282:
: command not foundline 288:
: command not foundline 295:
: command not foundline 300:
: command not foundline 304:
: command not foundline 309:
: command not foundline 314:
: command not foundline 321:
: command not foundline 333:
: command not foundline 342:
: command not foundline 351:
: command not foundline 355:
: command not foundline 365:
: command not foundline 368:
: command not foundline 371:
: command not foundline 375:
: command not foundline 389:
: command not foundline 392:
: command not foundline 395:
: command not foundline 398:
: command not foundline 402:
: command not foundline 414:
: command not foundline 417:
: command not foundline 420:
: command not foundline 431:
: command not foundline 434:
: command not foundline 443:
: command not foundline 444:
: command not foundline 445:
: command not foundline 446:
: command not foundline 452:
: command not foundline 453:
: command not foundline 454:
: command not foundline 455:
: command not foundline 461:
: command not foundline 462:
: command not foundline 463:
: command not foundline 464:
: command not foundline 472:
: command not foundline 474:
: command not foundline 475:
: command not foundline 484:
: command not foundline 485:
: command not foundline 486:
: command not foundline 487:
: command not foundline 497:
: command not foundline 498:
: command not foundline 499:
: command not foundline 500:
: command not foundline 501:
: command not foundline 502:
: command not foundline 503:
: command not foundline 509:
: command not foundline 513:
: command not foundline 518:
: command not foundline 522:
: command not foundline 525:
: command not foundline 529:
: command not foundline 533:
: command not foundline 537:
: No such file or directory: /etc/apf
/usr/local/sbin/apf: line 136: eout: command not found
/internals/.last.full: No such file or directory
touch: missing file operand
Try `touch --help' for more information.
chmod: missing operand after `600'
Try `chmod --help' for more information.
touch: missing file operand
Try `touch --help' for more information.
chmod: missing operand after `600'
Try `chmod --help' for more information.
touch: missing file operand
Try `touch --help' for more information.
chmod: missing operand after `600'
Try `chmod --help' for more information.
/usr/local/sbin/apf: line 152: devm: command not found
/vnet/vnetgen: No such file or directory
/firewall: No such file or directoryapf
/usr/local/sbin/apf: line 160: bandmin: command not found
/usr/local/sbin/apf: line 162: eout: command not found
[root@bacroot /]#
What directories/files should I chmod for APF to work?