Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie question

Re: Newbie question

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 19 Oct 2001 19:16:11 +0200
Message-ID: <tt0p0nq8fko60b@corp.supernews.com>

"em" <em_at_hotmail.com> wrote in message
news:9qp6lo$p739b$1_at_ID-65819.news.dfncis.de...
> I've just installed my first Oracle server (8) on a Solaris system - and
> I've got one (hopefully small) problem. When the installer tries to run
> dbAssist, I get the following message:
>
> "Correct ORACLE_HOME operating system environment is not set or an
incorrect
> value is passed for the command line 'orahome.' Set correct ORACLE_HOME
> environment variable or provide a correct value for the command line
> argument 'orahome."
>
> I have very carefully set the ORACLE_HOME value in the path of not only
the
> install user (an account named oracle, as described in the installation
> guide), but I;ve set it's path in all the system's user accounts. Ditto
for
> the LD_LIBRARY_PATH (ORACLE_HOME/lib). Checking paths and environment
> confirms this.
>
> Is this related to setting up the oratab file (/var/opt/oracle/oratab)?
When
> I ran root.sh, the program set the location of ORACLE_HOME, but I see that
> it's not listed in oratab.
>
> a) Do I need to manually put the ORACLE_HOME info in the oratab file? Will
> this allow .dbassist to run?
>
> b) If so, what is the format for listing it in the file (meaning, could
> someone give me a real-world example of $ORACLE_SID:$ORACLE_HOME:<N|Y>: -
> the format listed in the file).
>
> c) If oratab is not the reason ./dbassist is not working, does anyone have
> any idea of what the above-listed error message means?
>
> Thanks!
>
> DS
>
>

a YES, probably
b
ORCL:/opt/oracle/product/8.1.7:Y
c It looks like dbassist is running the oraenv shell script (normally located in $ORACLE_HOME/bin) this script in turn run the dbhome script which should return the correct value associated to the specified SID Either you didn't set ORACLE_SID, or your oratab is incorrect.

Regards,

Sybrand Bakker
Senior Oracle DBA Received on Fri Oct 19 2001 - 12:16:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US