Hello,
Not commenting on validity of Your config, just syntax - You are missing a closing bracket for "security {".
Namely:
pp0.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } } } }}<==== this is missing bracket
FYI, Notepad++ has language plugin for JUNOS Configure that can help You capture such simple errors, please use it.
HTH
Thx
Alex