1 Reply Latest reply on Apr 17, 2019 1:37 PM by 3210795

    How can I unstall ORDS if SYS password is not recognized?

    study-feng

      Hello,

       

       

      from SQLPLUS I can connect with SYS.

      -----

      [oracle@pdb~]$ sqlplus /nolog

      SQL*Plus: Release 12.2.0.1.0 Production on 4/5 13:27:15 2019
      Copyright (c) 1982, 2016, Oracle.  All rights reserved.

      SQL> connect sys@"<ip>:1521/<service name>" as sysdba
      Please enter your password:
      It is connected.
      -----

       

      But when I try to uninstall ORDS, the SYS password can not be recognized although I can connect with SQLPLUS.

      What should I do to install ORDS?

      -----   

      java -jar ords.war uninstall   

      Enter the name of the database server [localhost]:<localhost>   

      Enter the database listen port [1521]:1521   

      Enter 1 to specify the database service name, or 2 to specify the
            database SID [1]:1   

      Enter the database service name:<service name>   

      Please login with SYSDBA privileges to verify Oracle REST Data
            Services schema.   

      Enter the username with SYSDBA privileges to verify the
            installation [SYS]:sys   

      Enter the database password for sys:   

      Confirm password:   

      ORA-01017: invalid username/password; logon denied   

      Try again. Enter the database password for sys:   

      Confirm password:   

      ORA-01017: invalid username/password; logon denied   

      Try again. Enter the database password for sys:

      -----

       

       

      Thank you and best regards,

      Nancy