One thing you can try is the old "P-Cancel" routine.
With the main power on and the front panel power off hold down the "P" and "Can" buttons together and turn on the front panel power. Continue holding those buttons down till the system comes up. This should clear out some problems on Fanuc systems (funny you don't mention your controller make). Oh, and make sure your "E-stop" button is not on.