Lazy DBA
Disclaimer: The technical observations and views expressed here are my own and do not necessarily reflect those of my employer or its affiliates. They are purely based on my understanding, learning, and experience in resolving various issues.
Wednesday, July 8, 2026
How to Connect Oracle AI Private Agent Factory to Oracle EBS Using SQLcl MCP Server over SSE
Saturday, April 11, 2026
Why I Couldn’t SSH Into My OCI VM Using Mobile Hotspot (And How I Finally Fixed It)
Why I Couldn’t SSH Into My OCI VM Using Mobile Hotspot (And How I Finally Fixed It)
๐ The Setup — Everything Looked Correct
๐งช The First Suspicion — IP Mismatch
⚠️ Understanding the Real Problem
๐ก 2. Carrier-Grade NAT (CGNAT)
- Your device does not directly own a public IPv4 address
- Multiple users share the same external IP
- The IP you see may not be the one OCI sees
- The IP can change frequently
๐ซ Why SSH Failed Despite Correct Configuration
๐ฅ Solution 1 — Use OCI Bastion (Recommended Approach)
- It does not rely on your public IP being stable
- It works even if your IP changes frequently
- It eliminates the need to open SSH to the world
- It aligns with security best practices
๐ฅ Solution 2 — Forcing IPv4 (Temporary Workaround)
- The IP may change at any time
- CGNAT may still interfere
- You may lose access intermittently
Conclusion
Friday, February 13, 2026
Shrinking Storage in Shared Autonomous Database on OCI
Shrinking Storage in Shared Autonomous Database on OCI
First, Let’s Understand How Storage Works in Autonomous Database
Why Storage Does Not Automatically Reduce
When Should You Shrink Storage?
- Large data purging activities
- Archiving historical records
- Cleaning up staging tables
- Dropping big tables or partitions
- Post-migration cleanup
- Temporary ETL data removal
Check Before Shrinking Storage
Steps to Shrink Storage in Autonomous Database
Considerations and Challenges with the Shrinking Process
My final conclusion
Friday, December 26, 2025
HR_OPERATING_UNITS Returns No Data in SQL Developer — The Hidden NLS Language Issue in Oracle Apps
HR_OPERATING_UNITS Returns No Data in SQL Developer — The Hidden NLS Language Issue in Oracle Apps
Friday, December 19, 2025
Fixing OCI Load Balancer Error: “Invalid SSL Configuration – Certificate Alias Required”
Fixing OCI Load Balancer Error: “Invalid SSL Configuration – Certificate Alias Required”
- Load Balancer Managed Certificate
- Uploaded SSL Certificate
- Uploaded CA Certificate
- Uploaded Private Key
- Click on the three horizontal lines (☰) in the top-left corner
- Navigate to Identity & Security
- Under Certificates, click Certificates
- Choose the correct compartment
- Click the Add Certificate button
- Upload your certificate details
- Save
- Go to your Load Balancer
- Open Certificate & Ciphers
- Under Certificate service managed certificates, click Assign Certificate
- Select the certificate you uploaded
- Update the listener
- Go to Certificate & Ciphers
- Scroll to Load balancer managed certificates
- Click Add Certificate
- Upload:
SSL CertificateCA CertificatePrivate Key
- Save
Thursday, November 27, 2025
ORA-12545: Connect failed because target host or object does not exist
Fixing ORA-12545: When Your Oracle Binary Goes Missing
Recently, while connecting to one of my test database instances, I ran into a frustrating error:
ORA-12545: Connect failed because target host or object does not exist
At first glance, this looks like a typical network issue — host unreachable, wrong IP, DNS mismatch, etc. But in my case, the root cause was completely different.
Digging Into the Error
After searching across a few forums and documents, I landed on the Oracle Support Note KB167814 – Troubleshooting guide for ORA-12545 / TNS-12545.
This document outlines three common problem categories along with causes and solutions.
From those, one scenario matched my situation exactly.
The Actual Problem
Problem:
You are trying to connect locally on the server without using the listener (using BEQ protocol). Such connections can fail with ORA-12545.
Cause:
The Oracle binary is missing from the $ORACLE_HOME/bin directory.
Diagnosis
To verify, I ran a quick check:
$ cd $ORACLE_HOME/bin
$ ls -l oracle
The result confirmed the problem — the oracle binary was missing.
And without this binary, the database simply cannot function.
What You Lose Without the Oracle Binary
- You cannot start the database
- You cannot mount or open the DB
- You cannot connect as SYSDBA locally
- You cannot use sqlplus / as sysdba
Why?
Because the oracle binary is the actual database engine. Without it, the entire Oracle stack becomes unusable.
Resolution Options
At this point, I had three practical solutions:
-
Raise an SR with Oracle Support and involve the DB Install team
-
Reinstall the Oracle Home (only the software, not the database)
-
Copy the oracle binary from another server
I chose the 3rd option, but with extreme caution.
Copying the Oracle Binary: Not as Simple as It Sounds
The oracle executable is not a simple file that you can copy from any system.
It relies on:
✔ Exact OS version
✔ Exact Kernel version
✔ Exact glibc & system libraries
✔ Exact Oracle patch level (RU/RUR)
✔ Identical ORACLE_HOME structure
✔ Identical linking options used during installation
If any of these differ, the copied binary will fail — or worse, cause unpredictable issues.
Fortunately, in my case, the source server matched my environment exactly.
I copied the binary, set the correct permissions, and—good news—my database started successfully.
Conclusion
The ORA-12545 error is often mistaken as just a networking issue. But sometimes the cause lies deeper inside the Oracle Home itself.
If you're connecting using BEQ and getting ORA-12545, don't forget to check whether your oracle binary actually exists.


.png)





