Home » Server Options » RAC & Failsafe » cant run dbca , netca,netmgr (10g in linux v4r3)
cant run dbca , netca,netmgr [message #422468] Wed, 16 September 2009 13:14 Go to next message
shaficivil
Messages: 4
Registered: August 2009
Junior Member
dbua
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1 34)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
at oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject .java:64)
at oracle.sysman.assistants.dbma.ui.DBMAWizard.<init>(DBMAWizard.java:18 3)
at oracle.sysman.assistants.dbma.ui.UICompManager.<init>(UICompManager.j ava:153)
at oracle.sysman.assistants.dbma.Dbma.getCompManager(Dbma.java:154)
at oracle.sysman.assistants.dbma.Dbma.execute(Dbma.java:98)
at oracle.sysman.assistants.dbma.Dbma.statusMain(Dbma.java:199)
at oracle.sysman.assistants.dbma.Dbma.main(Dbma.java:180)
pls explain and troubleshoot this thanx
Re: cant run dbca , netca,netmgr [message #422469 is a reply to message #422468] Wed, 16 September 2009 13:19 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
You need to set your DISPLAY.
Re: cant run dbca , netca,netmgr [message #422477 is a reply to message #422468] Wed, 16 September 2009 13:56 Go to previous messageGo to next message
surachart
Messages: 19
Registered: December 2008
Junior Member
If on server:
use another terminal... and su - root and then use "xhost +" or "xhost +localhost"

$ su - root

# xhost +

and then "dbua" again


If you remote:
you should set DISPLAY to your client...

if you use ssh use....

$ ssh -X oracle@database-server

on server
$ dbua

Re: cant run dbca , netca,netmgr [message #422478 is a reply to message #422468] Wed, 16 September 2009 13:59 Go to previous messageGo to next message
shaficivil
Messages: 4
Registered: August 2009
Junior Member
how ?
Re: cant run dbca , netca,netmgr [message #422482 is a reply to message #422468] Wed, 16 September 2009 14:43 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
When all else fails, Read The Fine Manual

http://www.oracle.com/pls/db102/portal.portal_db?selected=3

Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for AIX
Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for hp Tru64
Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for HP-UX
Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Linux
Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Microsoft Windows
Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Solaris Operating System

Re: cant run dbca , netca,netmgr [message #422483 is a reply to message #422468] Wed, 16 September 2009 14:44 Go to previous messageGo to next message
shaficivil
Messages: 4
Registered: August 2009
Junior Member
# ssh -x oracle@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 76:09:76:72:63:09:c9:20:27:1e:fa:53:b5:65:54:27.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
oracle@localhost's password:
Last login: Thu Sep 17 01:03:10 2009
-bash: ulimit: open files: cannot modify limit: Operation not permitted
[oracle@localhost ~]$ dbca
-bash: dbca: command not found

still cant work it out
Re: cant run dbca , netca,netmgr [message #422488 is a reply to message #422483] Wed, 16 September 2009 15:21 Go to previous messageGo to next message
babuknb
Messages: 1736
Registered: December 2005
Location: NJ
Senior Member

Before posting please read
http://www.orafaq.com/forum/t/88153/0/

How come this is RAC Releated Question??

[oracle@localhost ~]$ dbca
-bash: dbca: command not found

still cant work it out 


Connect "Oracle" user in your Operating system & post output of
" env | grep ORACLE" command

Thanks
Re: cant run dbca , netca,netmgr [message #422490 is a reply to message #422468] Wed, 16 September 2009 15:26 Go to previous messageGo to next message
shaficivil
Messages: 4
Registered: August 2009
Junior Member
sorry bout the posting issue

[oracle@localhost[/email] ~]$ env | grep ORACLE
ORACLE_SID=test
ORACLE_HOME=/home/oracle/product/10.2.0/db_1

[Updated on: Wed, 16 September 2009 15:27]

Report message to a moderator

Re: cant run dbca , netca,netmgr [message #422492 is a reply to message #422468] Wed, 16 September 2009 17:13 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://download.oracle.com/docs/cd/B19306_01/install.102/b15674/toc.htm


You have a choice to make.
1) Read The Fine Manual
2) Never get Oracle installed.

Enjoy!
Previous Topic: Issue with OraInventory location during upgrade
Next Topic: installing rac on 2pc by vmw
Goto Forum:
  


Current Time: Tue Dec 10 03:30:39 CST 2024