Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I have installed an Oracle on my machine. When I open a session with VNCServer and type dbca, either as root or as oracle, I get these errors:

  1. -bash : -dbca : Command Not found
  2. Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

What do I need to do to fix this?

share|improve this question

migrated from stackoverflow.com Apr 26 '13 at 10:33

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

Regarding your first error ('dbca: command not found'):

  • ensure ORACLE_HOME is set correctly
  • ensure $ORACLE_HOME/bin is in your path
  • run the command as oracle user

If the error persists, check the contents and permissions of $ORACLE_HOME/bin.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.