After protests, U.N. raps Peru on tribal rights

* U.N. report comes after deadly Amazon clashes

* Govt pushing foreign investment to lift energy output

* Rights groups worry about damage to environment, disease

LIMA, Sept 2 (Reuters) - Peru is violating the rights of indigenous people by failing to secure their consent before energy companies drill on their lands, the United Nations said on Wednesday, in the wake of deadly Amazon riots.

Its report was issued three months after clashes between police and indigenous groups, angered over plans to open their land to investment, left 34 people dead and sparked the biggest crisis of Alan Garcia's presidency.

"In practice, the right of indigenous people to be consulted and give their informed consent prior to the start of extractive work on their lands is not fully respected in some cases," the U.N. Committee for the Elimination of Racial Discrimination said.

The Peruvian Amazon has vast and still largely untapped oil and natural gas reserves. The government is encouraging companies to invest there as a way to spur economic growth and transform the country into a net energy exporter.

The United Nations called on Peru to seek communities' permission prior to allowing projects to move forward.

It also urged Peru to set up an independent commission to investigate the June clashes, which sparked the repeal of two controversial land laws. The government is under no obligation to follow U.N. recommendations.

Peru was one of the sponsors of the 2007 U.N. Declaration on Indigenous Rights but Garcia's government is frequently accused of not doing enough to protect tribal groups.

Peru's government is currently mulling the creation of five new reserve areas to protect the several thousand people who rights groups say live in voluntary isolation and says it is taking steps to improve relationships with indigenous groups.

But environmental and human rights organizations say energy operations in the jungle threaten to damage the environment and risk exposing remote tribes to new and deadly diseases.

"We urge President Garcia to put an end, once and for all, to its policy of carving up the Amazon without the consent of the people who actually live there," said Stephen Corry, director of the London-based rights group Survival International. (Reporting by Patricia Velez and Dana Ford; Editing by Terry Wade and Phil Stewart)