I'm really green, so please bear with me :) me and my friend are working on educational project, which is working in oracle. We started to use physical machine for it and when we finished, I decided to transfer everything to virtual machine, but database does not work anymore. Physical server is is still working, but I need to free it up for other project.
There are two DBs, projectdb and prpdb1. I can login to projectdb, but I cannot login to another one, where all the data is located.
P.S.
My friend did all the DB heavy-lifting, but now he is unavailable :( anyway I want to figure it out myself if possible.
What I have tried:
I tried to dig a little bit and found that listener is missing some services (?).
This is log from working system:
LSNRCTL for 64-bit Windows: Version 18.0.0.0.0 - Production on 28-AUG-2019 17:53:12
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PROJECTSRV)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 18.0.0.0.0 - Production
Start Date 23-AUG-2019 20:11:18
Uptime 4 days 21 hr. 41 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\18.0.0\18c_db_home\network\admin\listener.ora
Listener Log File C:\oracle\diag\tnslsnr\PROJECTSRV\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PROJECTSRV)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=PROJECTSRV)(PORT=5500))(Security=(my_wallet_directory=C:\ORACLE\admin\projectdb\xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "8f03327008c8482c9d6d8ce691bc99e3" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "ecee1487c3dd4c18a9b2d4e021bdd655" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
Service "projectdb" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
Service "projectXDB" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
Service "prpdb1" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
The command completed successfully
This is what is left after virtualisation:
LSNRCTL for 64-bit Windows: Version 18.0.0.0.0 - Production on 28-AUG-2019 18:10:35
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PROJECTSRV)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 18.0.0.0.0 - Production
Start Date 28-AUG-2019 18:07:02
Uptime 0 days 0 hr. 3 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\18.0.0\18c_db_home\network\admin\listener.ora
Listener Log File C:\oracle\diag\tnslsnr\PROJECTSRV\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PROJECTSRV)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "projectdb" has 1 instance(s).
Instance "projectdb", status READY, has 1 handler(s) for this service...
The command completed successfully