A statement from the base said the shooting occurred at around 5:30 p.m. Tuesday. The base provost marshal says the shooting isn't considered an act of terrorism and the gunman isn't still active.
The identity of the two guards is being withheld until relatives are notified.
Naval Criminal Investigative Service is looking into the shooting.