Oracle Net Services configuration failed. The exit code is 1

on 8:06 AM

[oracle@prim ~]$ netca

Oracle Net Services Configuration:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: null
Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-1610215PM5028.log
Oracle Net Services configuration failed.  The exit code is 1

Workaround :

[oracle@prim ~]$ su 
Password: ********

[root@prim]# export DISPLAY=:0.0

[root@prim]# xhost +
access control disabled, clients can connect from any host

[oracle@prim~]$ netca


Oracle Net Services Configuration:



22 comments:

Anonymous said...

you are a legend man it's working Thanks

MOHAMMED ABDUL HAMEED said...

Thanks bro :)

Unknown said...

unable to opne display :(

MOHAMMED ABDUL HAMEED said...

Please let me know the error which you are facing.

Unknown said...

salam it helped me out thx

MOHAMMED ABDUL HAMEED said...

Wasalam , welcome bro .

okot said...

Did a try and it appears to be working

MOHAMMED ABDUL HAMEED said...

Thank you !

Unknown said...

if it doesnt work just make sure to go straight from regular user to "su" not from oracle to "su" then xhost + should work fine

Unknown said...

thank you, it was a huge help

Unknown said...

Thanks you so much,it is working...

MOHAMMED ABDUL HAMEED said...

Welcome :)

Unknown said...

Thanks its working Great Man.

Alexandru Gagea said...

Still not working.. unable to open display 0.0 :(

MOHAMMED ABDUL HAMEED said...

@Hasan - Thanks man

@Alexandru - let me knw the specific error which u r facing

Unknown said...

tnks

Unknown said...

thanhyu

user acceptance testing said...

thank you. it worked

Anonymous said...

oracle@ev5scpd1:/oraapps/oracle/admin/cfgtoollogs/netca > xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"

Silvio Max Santos said...

Oracle Net Services Configuration:
connect /tmp/.X11-unix/X0: No such file or directory
Error: null
Check the trace file for details: /opt/oracle/cfgtoollogs/netca/trace_OraHome1-2203184PM0604.log
Oracle Net Services configuration failed. The exit code is 1

Silvio Max Santos said...
This comment has been removed by the author.
Silvio Max Santos said...

Me ajudem, tenho problema com esse erro quando tento executar o netca, tanto local como remotamente via ssh.

Post a Comment