Media scanner running constantly I recently bought one new Samsung Galaxy S 2. (Ice Cream Sandwich)

I am getting "media scanner running" message each time I try to open the camera.

How can I get rid of this issue? Do I need to replace the phone?
Go to the Settings app, select the "All" tab, find Media Storage or Media and force stop it. Then reboot and the problem should be fixed.