All technological notes.
Listener is down, because it use password file, but not Listener.Login using /

# using OS authentication
sqlplus / as sysdba # using password file for authentication
# login using database auth and tnsname
sqlplus sys@tns_name as sysdba
sqlplus user_name@tns_name as sysdba
Easy Connect:
At its simplest, an Easy Connect string includes a host name, an optional port, and the database service name:
Listener up and running.alter system register;.# syntax
CONNECT user_name/password@host_name:1521/service_name
# example
CONNECT sys/pwd@test.com:1521/orcl.com as sysdba # orcl.com is the service name of root
CONNECT sys/pwd@test.com:1521/orclpdb.com as sysdba # orclpdb.com is the service name of pluggable database



# syntax
CONNECT user_name/password@tns_name
# Example
CONNECT sys/pwd@orcl AS SYSDBA;
