Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: emctl appears to need $DISPLAY
Arthur Salazar schrieb:
> I am attempting to write a script to bring Oracle 10g up and down.
> At one point I call "emctl start dbconsole". I find that it appears
> to need to have the DISPLAY environment variable set to a valid X
> server.
>
> I will be running the script in a non-visual environment. Can anyone
> suggest a way that this can be worked around?
>
> Thanks,
>
> -arthur
I'm not sure, whether it applies to 10g ( don't have here a 10g
installation ), but in 9i similar problem was easily workarounded by
setting dummy DISPLAY ( Jserv checks whether the variable is set, but
don't validate it). So you can simply try
export DISPLAY=127.0.0.1
(it doesn't matter that you have not x server local running).
Best regards
Maxim Received on Wed Jul 27 2005 - 04:24:55 CDT