The shots were heard just hours after national television broadcast a ceremony in which a soldier presented as a spokesman for 8,400 former rebels, many of them based in Bouake, said they wished to apologise to President Alassane Ouattara for the mutiny.
In January, former rebels integrated into army ranks staged a mutiny that paralysed activity in several towns of the west African country while they pressed their demands for bonuses.
In meeting the demands of the ex-rebels, who controlled the northern half of Africa's biggest cocoa producer between 2002 and 2011, the authorities provoked a fresh mutiny by other troops and paramilitary gendarmes.
The mutineers, who demanded 12 million CFA francs (18,000 euros) in payments for each soldier, obtained five million francs (7,500 euros) in January and had been due to receive the rest of the sum this month, according to the rebels.
More From This Section
The government had refused to give details of the negotiations.
An AFP journalist said gunfire was heard throughout the night at the 3rd infantry battalion's Bouake barracks, and soldiers also fired in the air at the northern entrance to the city.
There was no immediate indication as to the reasons for the gunfire.
Organised without the knowledge of the press, the orchestrated ceremony -- broadcast after it took place at the presidential palace -- appeared to signal a dramatic end to the protest movement.
As well as apologising the rebel spokesman, named as Sergeant Fofana, said they were giving up all their financial demands.
Ouattara said of the rebels that he "believed their words were sincere" and they would now be "exemplary soldiers".
Fofana said: "We apologise for the various situations we know we have caused. We definitively renounce all our financial demands."
Ouattara said yesterday the country was going through a "very, very difficult time" after a fall in the price of cocoa led to a net loss of 150 billion francs CFA (230 million euros) to the state budget.
The mutiny had "scared Ivorians, as well as those who want to invest in and visit the country," he said.