Summary: Learn how to prepare for a clean GBase Database(GBase 8s) reinstallation by checking the old instance, temporary files, installation directory, environment variables, and port configuration.
Reinstalling GBase Database(GBase 8s) doesn't always resolve the original problem. Errors such as “version already exists” or port conflicts may persist if remnants of the previous installation remain.
Before reinstalling, follow these six steps to inspect and clean up the old environment safely.
1. Stop the Old Database Instance
If the old instance is still running, identify it and shut it down using the appropriate procedure.
onstat - ps -ef | grep '[o]ninit'
Enter fullscreen mode
Exit fullscreen mode
After confirming the target instance, you can use the appropriate shutdown command, such as:
onmode -ky
Enter fullscreen mode
Exit fullscreen mode
Caution: Confirm the instance and its impact before shutting it down. This command can interrupt database services.
2.…