This means the safety switch is not engaged. Make sure the rug nozzle is connected securely. If that's not working, then you will need to remove the motor cover and make sure the linkage connecting the lever on the front to the switch is intact.
The light is to let you know there is power going to the vacuum, and it comes on even if nothing is on the front.