Socialist leader Franois Hollande has been sworn in at a solemn ceremony overshadowed by the catastrophic debt crisis threatening the eurozone.