./dbca: line 135: /data01/product/19.0.0/bin/platform_common: No such file or directory

Cause:

This error was pretty weird while invoking dbca and i set the path and oracle home directory but still no luck. This error is really a frustating error. If i see the directory mentioned in the error, i dont even have an existing directory in filesystem with /u01. This made me to think an alternative path to edit dbca itself

[oracle@dgprim01 bin]$ ./dbca
./dbca: line 135: /u01/app/19.0.0/grid/bin/platform_common: No such file or directory

Workaround:

Set the correct path and oracle home variables. Open the dbca executable using favourite editor

[oracle@dgprim01 bin]$ export ORACLE_HOME=/app01/grid/
[oracle@dgprim01 bin]$ export PATH=$PATH:/app01/grid/bin/
[oracle@dgprim01 bin]$ vi dbca

Modify the oracle home directory in dbca and save it

[oracle@dgprim01 bin]$ cat dbca |grep -A5 'OH'
# Define ORACLE_HOME -> OH
OH=/app01/grid
PLATFORM=Linux
ORACLE_HOME=$OH
export ORACLE_HOME;

Cheers it worked !

[oracle@dgprim01 bin]$ ./dbca

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s