C:\> lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-AUG-2016 14:19:47
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
Related
Sysdba not logging other users are logging below, how to
fix it, able to login to other users successfully, please find below, only with sysdba not working
[oracle#dztupbin]$ ./sqlplus SYSTEM/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:09 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 11:05:00 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
[oracle#dztup bin]$ ./sqlplus SYSTEM/"oracle" as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
sqlplus / as sysdba also giving same result:-
./sqlplus / as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
[oracle#dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
I connected to sys user now:-
[oracle#dztup bin]$ ./sqlplus system/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 13:25:51 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 13:25:15 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL>
SQL> show user
USER is "SYS"
granted sysdba privilige to system user now able to connect:
but still sqlplus / as sysdba not working.
[oracle#dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
SYSDBA is a privilege, not a user. The SYSTEM account does not have SYSDBA privileges, by default. The only account with default SYSDBA privileges is SYS, which is usually authenticated locally by the operating system. e.g.:
sqlplus / as sysdba
If you have granted SYSDBA privileges to other users, then those users are authenticated against a separate password file when logging in with the SYSDBA role, and not the normal password hash. The password file is not updated automatically when the users' normal password is changed (as with ALTER USER x IDENTIFIED BY pass). To update the password in the password file you must re-grant SYSDBA privileges to the user; otherwise use the old password.
I was taking an RMAN backup.
RMAN> SHUTDOWN IMMEDIATE;
After Shutdown Immediate i am not able to startup database.
I have tried
conn sys#databasename as sysdba
RMAN target sys#database
lsnrctl stop start status
But i am getting this error.
C:\Users\Umair>rman target sys#ora_prep
Recovery Manager: Release 12.1.0.2.0 - Production on Mon Jul 13 00:18:00 2020
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
target database Password:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Advice, please.Thank you.
Oracle 12.1.0
Windows 10
Static listener registration:
https://docs.oracle.com/en/database/oracle/oracle-database/18/spmss/adding-static-service-to-listener.html
https://support.oracle.com/knowledge/Oracle%20Database%20Products/2312510_1.html
I get the listener error when I run this command:-
./sqlplus anju/XXXX#999.000.0.000/ORA12C
I did start my listener still it doesn't work.
SNRCTL for Linux: Version 12.2.0.1.0 – Production on 14-MAY-2020 10:21:14
Copyright (c) 1991, 2016, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=999.000.0.000)(PORT=1539)))
STATUS of the LISTENER
————————
Alias LISTENER
Version TNSLSNR for Linux: Version 12.2.0.1.0 – Production
Start Date 14-MAY-2020 10:12:47
Uptime 0 days 0 hr. 8 min. 27 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora01/app/oracle/product/12.2.0/db_1/network/admin/listener.ora
Listener Log File /ora01/app/oracle/diag/tnslsnr/server/listener/alert/log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=999.000.0.000)(PORT=1539)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=server)(PORT=5500))(Security=(my_wallet_directory=/ora01/app/oracle/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary…
Service “ORA12CXDB” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “a50ca342f86bccc0e0536801a8c085de” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “orcl” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “orclpdb” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
The command completed successfully
and if I run the below command I get the same error:-
./sqlplus anju/XXXXX#999.000.0.000/ORA12C
SQL*Plus: Release 12.2.0.1.0 Production on Thu May 14 10:34:59 2020
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
this is my listener.ora file:-
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 999.000.0.000)(PORT = 1539))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
Could you please help..!!!
The view v$active_services and dba_services and cdb_services are showing the PDB service. But listener is not starting or listing the PDB service.
What would be the issue?
Restarted listener, db but issue was not fixed.
PDBs are dropme2 and servicetest
SERVICE_ID NAME NETWORK_NAME CON_NAME
1 SYS$BACKGROUND CDB$ROOT
2 SYS$USERS CDB$ROOT
3 host_prim_wfscdb host_prim_wfscdb CDB$ROOT
4 WFSCDB_CFG WFSCDB_CFG CDB$ROOT
6 host_prim_wfscdb_DGB host_prim_wfscdb_DGB CDB$ROOT
12 dropme2 dropme2 DROPME2
14 servicetest servicetest SERVICETEST
oracle#host_prim:~$ lsnrctl stat
LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 26-FEB-2020 17:19:20
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host_prim)(PORT=1529)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 18.0.0.0.0 - Production
Start Date 26-FEB-2020 16:49:55
Uptime 0 days 0 hr. 29 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/app/oracle/product/18.0.0/network/admin/listener.ora
Listener Log File /opt/oracle/app/oracle/product/18.0.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_prim)(PORT=1529)))
Services Summary...
Service "WFSCDB" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Service "host_prim_wfscdb_DGMGRL" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracle#host_prim:~$ lsnrctl services
LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 26-FEB-2020 17:22:57
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host_prim)(PORT=1529)))
Services Summary...
Service "WFSCDB" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0
LOCAL SERVER
Service "host_prim_wfscdb_DGMGRL" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully```
Found the issue.
local_listener init.ora parameter was having typo.
Fixed the typo and missing services are now showing up!!
I'm trying to import a dump file using imp command in oracle 10g. The following error message is displayed. Kindly assist
C:\Documents and Settings>imp 'rdata/rdata#nxtgen' file="D:\oracle\schema.dmp"
log=D:\oracle\schema.log full=y
Import: Release 10.2.0.1.0 - Production on Fri Jun 21 11:54:29 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
IMP-00058:
IMP-00000: Import terminated unsuccessfully
C:\Documents and Settings>