Hi ,
there are 2 options:
1. all packets needs to be captured.
if you want to capture all the packets on the interface says ge-0/0/1 then you need to enable sampling on that interface;
set interfaces ge-0/0/1 unit 0 family inet sampling input output.
2. selective packet capture:
You need to enable create firewall filter and apply on an interface to capture the packets.
only then you will see the file getting created.
http://kb.juniper.net/InfoCenter/index?page=content&id=KB11709
Regards
rparthi
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too