I am trying to reconfigure the db control for a 2 node RAC.

I am using the below command:

emca -config dbcontrol db -repos create -cluster

But emca is not accepting the sys password.

I get the below error:
Enter the following information:
Database unique name: ARCHDB
Listener port number: 1521
Password for SYS user:
Invalid username/password.

But the same password works fine when i try to connect to sqlplus as sys.

Can anyone please suggest on this, its really urgent.

Thanks & Regards,