I am bit new to MongoDb and I am using MongoDb v.2.4.Here the problem is that when I run the mongod with --auth parameter, even after authenticating I am not able to perform
I think your admin user has not been configured as mongo says.
I have just answer a question in another thread with explanation step by step : Not authorized for query on admin.system.namespaces on mongodb
try it.