I am trying to create a new repos and configure dbconsole with this command :

emca -config dbcontrol db -repos create

I enter the SID of the database and hit enter. It does not ask for password

But i got ORA-01017 error username/password invalid connexion refused.

If i only enter emca -repos create it works and after i try emca -config dbcontrol db

i got the same error.

What can i do nest to get dbconsole working ?

Thank you