Resolving Oracle Server Configuration Issues

While the majority of applications function seamlessly on a Fresh Start machine when using DaDesktop (DD), the cloning process can occasionally introduce compatibility challenges for specific software. In such cases, a few additional configuration steps are required to ensure stable and expected performance.

System Context

  • Oracle Database 19c (similar issues may arise with other versions)

  • Installed via the Windows 10 template

 

Fresh Start Remediation Notes

  1. Please treat this as a general guide for resolving this application's issues within the Fresh Start environment. The specific steps may vary slightly depending on your precise setup configuration.

  2. Overview - The primary fix involves updating the network configuration on the Fresh Start machine. Since the original hostname is specific to the initial machine and becomes invalid after cloning, we replace it with the loopback address 127.0.0.1 (localhost). Additionally, redundant database Listeners that may cause configuration conflicts should be identified and removed.

     

Remediation Process

1. The following image illustrates the network connection failure encountered when using the Oracle SQL Developer application.

Failure Test

2. Open the Oracle Net Manager application.

The service details for 'xe' are displayed, showing the original host information (in this instance, alexei-uuae.vm).

Oracle Net Manager

3. A connection test is performed using the system user ID and password, which fails.

Connection test fails

4. In Oracle Net Manager, navigate to Listening Locations and select the Listener. Note that the current host details display the original hostname 'alexei-uue.vm', which needs to be modified.

Incorrect host details

5. It is observed that no databases are configured to use LISTENER1. Check for any Listeners that do not have associated database services and delete them if found.

Listeners

6. Proceed to delete LISTENER1 and confirm the action. Note: This is an example based on a specific setup scenario; while this may not apply to every case, it is provided here for illustrative purposes.

Delete Listener

7. Move to DEFAULT SERVER LISTENER and verify each Listener in sequence. In this case, no valid listening location is present.

Default Listener

8. Delete the DEFAULT SERVER LISTENER.

Delete Listener

9. With only LISTENER remaining, you will see the existing virtual machine hostname. This entry must be changed as it will not persist after cloning.

Fix Network

10. Update the host field from the current value (e.g., 'alexi.uuae.vm') to 127.0.0.1, keeping the port number unchanged.

Chnage Network

Next, configure the existing database 

11. Set the SID to XE and the Global Database Name to xe.local 

Change details of SID and global db name

12. Save the network configuration and exit the application.

13. Open a Command prompt to restart the listener service.

Execute 'lsnrctl status', followed by 'lsnrctl stop'.

Then run 'lsnrctl start'

Cmd prompt

Launch Oracle Net Manager again.

14. Navigate to the Service-naming section for 'xe' and remove the entry for alexei-vm.

15. Update the host address to 127.0.0.1 

change host to 127.0.0.1

16. Save the network connection settings.

17. Perform a Connection Test by clicking the small button indicated in the image below.

Click to test

18. Adjust login credentials if necessary. Use the username 'system' and the corresponding password.

Connection test succesful

Save the network connection if prompted.

19. Return to the main Oracle SQL Developer application and run the Connection test again.

Oracle app

20. If the connection is successful, navigate to the Connections panel on the left, expand Oracle Connections, and verify that the database tables are visible as expected.

21. Proceed with the necessary configuration of the FreshStart machine and clone it to Trainer and Participant machines.

The Oracle Database server should now operate correctly on both Trainer and Participant machines.

If issues persist, please reach out to DaDesktop Support via the chat application, and we will be glad to assist.