My Ps3 turns off while rebuilding the database

When I turn on my ps3 it asks me to plug my controller in and to rebuild the database it gets stuck on 0% I hear a click and then the ps3 Tripple beeps and turns off with a flashing red light

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0