Resolving Oracle Server Configuration Issues

While most applications function seamlessly on Fresh Start virtual machines when using DaDesktop (DD), the cloning process can occasionally introduce quirks that prevent certain software from working as intended. In such instances, specific manual adjustments are required to restore normal functionality.

System Environment

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

  • Provisioned using a Windows 10 template

Fresh Start Remediation Notes

  1. This serves as a general guide for troubleshooting this application within a Fresh Start environment. Note that specific steps may vary depending on your exact configuration settings.

  2. Overview - The core fix involves updating the Fresh Start configuration as described below. Since the machine's hostname changes upon cloning, retaining the original hostname becomes invalid. Therefore, the configuration should be updated to use 127.0.0.1 (localhost) instead of the initial hostname. Additionally, redundant database Listeners that disrupt the configuration should be removed, as demonstrated in the steps below.

Remediation Procedure

1. The following screenshot illustrates the network connection failure encountered when utilizing the Oracle SQL Developer application.

Failure Test

2. Open the Oracle Net Manager application.

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

Oracle Net Manager

3. The connection test fails (using userid=system and the corresponding password).

Connection test fails

4. Navigate to Oracle Net Manager, Listening Locations, and Listener.
The host details currently display the original hostname 'alexei-uue.vm', which needs to be modified.

Incorrect host details

5. Observe that no databases are configured to utilize LISTENER1. Identify any Listeners lacking assigned database services and remove them.

Listeners

6. Delete LISTENER1 and confirm the action. Please note that while this reflects our specific setup, it serves as an illustrative example and may not apply to every scenario.

Delete Listener

7. Review the DEFAULT SERVER LISTENER by checking each entry sequentially; in this case, no listening locations are available.

Default Listener

8. Proceed to delete the DEFAULT SERVER LISTENER.

Delete Listener

9. Inspect the remaining LISTENER entry, which currently references the existing VM hostname. This value requires updating since it will change during the cloning process.

Fix Network

10. Replace the host value (previously 'alexi.uuae.vm') with 127.0.0.1, ensuring the port number remains unchanged.

Chnage Network

Next, configure the existing database settings.

11. Update the SID to XE and set 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 execute 'lsnrctl start'.

Cmd prompt

Launch Oracle Net Manager once more.

14. Remove the 'alexei-vm' entry from the Service-naming -> xe section.

15. Update the host 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. Change the username to 'system' and enter the corresponding password.

Connection test succesful

Save the network connection if prompted.

19. Return to the main Oracle SQL Developer application and rerun the Connection Test.

Oracle app

20. Upon successful connection, navigate to the Connections panel on the left. Expand Oracle Connections to verify that database tables are displayed correctly.

21. Continue with any remaining Fresh Start machine configurations as needed, then clone the Fresh Start machine to the Trainer and Participant workstations.

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

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