Hi Arun,
I analysed your problem and simulated the same in my environment. The use of —auth while starting the new instance and -u u -p p —authenticationDatabase admin while running the mongorestore has resulted into this error. This is because you’ve provided username/password when there is no auth configured yet. You can think of MongoDB’s auth as always enabled but not configured, which means that if you provided user/password it will try to validate it. Please read Enable Client Access Control for more information regarding the use of —auth for enabling access control on MongoDB.
Here is what you can do:
Start the new mongod instance (in your case on port 27019) without using —auth
Then restore the previously taken mongodump to this instance without any username/password
Once done, restart the mongod with —auth enabled
You should now be able to use your previously authenticated user.
For upgrade recommendations and checklists from 2.6 to 3.0 please see Upgrade Recommendations and Checklists v3.0
Regards
Ankur