Resolution of ora-21561
Using SQL plus to connect Oracle database on Linux
[root@china ~]# sqlplus test/test@ORCL
SQL*Plus: Release 11.2.0.3.0 Production on Thu May 31 11:06:15 2018
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-21561: OID generation failed
Solution process
input on the terminal: ~ host name
China
View/etc/hosts file: ~ cat/etc/hosts
127.0.0.1 localhost
keep the host name consistent with the name corresponding to 127.0.0.1 in hosts file
[root@china ~]# cat /etc/hosts
127.0.0.1 china
::1 localhost localhost.localdomain localhost6
Similar Posts:
- RMAN Login Error: ORA-12162:TNS:net service name is incorrectly specified
- Oracle can’t be used after login. Connected to an idle instance is displayed
- [Solved] Tns-12555: TNS: permission denied error resolution
- [Solved] ORA-12162: TNS:net service name is incorrectly spe
- [IOS series] -A server with the specified hostname could not be found. Problem solved
- How to Solve Git Warning: possible DNS spoofing detected
- Oracle ORA-12162: TNS:net service name is incorrectly specified
- [Solved] Opatch apply Run Error: OPatch failed with error code 73
- ERROR 1040 (08004): Too many connections
- Mac remote service repair: warning: remote host identification has changed!