AP source: Pearl Harbor gunman was unhappy with commanders

Security stand outside the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii. A shooting at Pearl Harbor naval shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. (AP Photo/Caleb Jones)
A U.S. naval ship can been seen from Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. Joint Base Pearl Harbor-Hickam, one of the Navy's major installations, said the shooting began around 2:30 p.m. at Pearl Harbor Naval Shipyard. (AP Photo/Caleb Jones)
Security stands guard outside the main gate at Joint Base Pearl Harbor-Hickam, in Hawaii, Wednesday, Dec. 4, 2019. A shooting at Pearl Harbor Naval Shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. Joint Base Pearl Harbor-Hickam spokesman Charles Anthony confirmed that there was an active shooting at Pearl Harbor Naval Shipyard. (AP Photo/Caleb Jones)

HONOLULU — The U.S. Navy sailor who fatally shot two people at Pearl Harbor before killing himself was unhappy with his commanders and had been undergoing counseling, a U.S. military official said Friday.