Today, I had to clone an Oracle server several times. I will not explain the steps but just let you know what I had to do to get Oracle working after this change.
The Listener service won’t start. I had to edit its configuration to match to new Server name.
- Open the Listener configuration file : “C:\app\oracle\product\12.2.0\dbhome_1\network\admin\listener.ora”. Could be different depending on your installation settings.
- Replace the old Server name by the new one.
- Starting the Listener won’t allow me to connect. I also had to restart completely the Server.