This content has been marked as final. Show 35 replies
Login as the oracle user and add the following lines at the end of the ".bash_profile" file, remembering to adjust them for your specific installation.
I am glad my blog helped - all I did was read the instructions in the Install Guide and follow them ;-)
[root@localhost ~]# dbca
bash: dbca: command not found
If you were able to invoke runInstaller to install Oracle, you will need to follow similar steps to invoke dbca.
First, never log in to your server as root - it is a definite way of hosing/trashing your server, most likely by a careless or incomplete command. Except for running "root.sh" after an Oracle install, Oracle software does not need root privileges - ever. Always log in to the server as the owner of the Oracle binaries (typically oracle).
Second, before invoking any Oracle executable (like dbca), required environment variables need to be set - these are documented at http://docs.oracle.com/cd/E11882_01/server.112/e10839/admin_ora.htm#i46652. At the minimum, you will need to set ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH and TNS_ADMIN. If you were paying attention to my blog article that you followed, you would have noticed them :-)
For executing dbca, pl see the steps at http://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#BABBBHJB - do not set (i.e. unset) ORACLE_SID before executing dbca.
you shall run dbca command as oracle user, try the following (as root) :
# xhost +
access control disabled, clients can connect from any host
# su - oracle
Edited by: ASP-SP on 06-ene-2013 5:27
from Srini ,,, If you were able to invoke runInstaller to install Oracle, you will need to follow similar steps to invoke dbca.
should i start the installer again ,and how should i unset the ORACLE_SID before executing dbca... very basic user so , i didn't get you.....
I must must must create my own instance via dbca ...... so pls pls guide me via some steps...
thanks to all
Edited by: flixblixclix on Jan 6, 2013 8:27 PM
Log in to the oracle account on the server (log in directly, do not "su" via root), set the ORACLE_BASE, ORACLE_HOME and PATH variables, navigate to ORACLE_HOME/bin directory, then issue "dbca" command.
cool..... it worked...... and started my own instance,,,,, waiting that, it will be completed as such with link to open in browser.....
Thank you So much Srini