Reputation: 1
I am trying to run dbca/netca commands on docker.
I already have Oracle 12c installed on docker, but I keep running into a issue.
When I run the dbca
command, I get the error:
DBCA cannot be run as root.
When I run the netca
command, I get the error:
Oracle Net Configuration Assistant cannot be run as root.
When I run the netmgr
command, I get the error:
Could not find the main class: oracle.net.mgr.container.NetApplication. Program will exit.
-netca/netmgr/dbca are all GUI tools managed by Oracle.
When I sudo su - oracle
user, and I run the above commands, the docker/ system no longer even recognizes those commands.
See below:
oracle@6cc1eee63141:~$ dbca
-su: dbca: command not found
oracle@6cc1eee63141:~$ netca
-su: netca: command not found
oracle@6cc1eee63141:~$ netmgr
-su: netmgr: command not found
oracle@6cc1eee63141:~$ NETMGR
I have already exported my display to my computer IP address.
What am I doing wrong and how can I fix it?
Upvotes: 0
Views: 2075