Security officials in Pakistan say shots were fired at the plane of Pakistan President Pervez Musharraf after the craft took off from a military base in Rawalpindi .