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: root.sh erro under Oracle 8.1.7.0.1 + Debain 2.2r3

Re: root.sh erro under Oracle 8.1.7.0.1 + Debain 2.2r3

From: Berno Strik <BStrik_at_office.casema.nl>
Date: Thu, 13 Sep 2001 08:20:20 +0200
Message-ID: <3BA05024.3CD7CABF@office.casema.nl>


Hello Dino,

Yesterday I had the same problems on RedHat 7.1. There are actually 2 errors in the script.

  1. change the line with : RMF=/usr/bin/rm -f to RMF="/usr/bin/rm -f"

    this accounts for the error :
   ./root.sh: -f: command not found

2. on the line wich says : RUID=.... put a single quote just before the last back-quote.

    this accounts for the error :
    ./root.sh: command substitution: line 1: unexpected EOF while looking for matching `''

    ./root.sh: command substitution: line 2: syntax error: unexpected end of file

after that you can run the script without any problems.

Berno

Dino Ming schreef:

> Dear All,
>
> I'm installing Oracle 8.1.7.0.1 under Debain Linux 2.2r3 . All install
> are going well, except the root.sh script.
>
> The installation told me to execute "root.sh" as a root user. And after
> that, i got the following error.
>
> ----------------------------------------------------------------------------
> ---------
> ::: (/u01/app/oracle/product/8.1.7) # ./root.sh
> IMPORTANT NOTE: Please delete any log and trace files previously
> created by the Oracle Enterprise Manager Intelligent
> Agent. These files may be found in the directories
> you use for storing other Net8 log and trace files.
> If such files exist, the OEM IA may not restart.
> ./root.sh: -f: command not found
> Running Oracle8 root.sh script...
> ./root.sh: command substitution: line 1: unexpected EOF while looking for
> matching `''
> ./root.sh: command substitution: line 2: syntax error: unexpected end of
> file
> ./root.sh: [: !=: unary operator expected
> \nThe following environment variables are set as:
> ORACLE_OWNER= oracle
> ORACLE_HOME= /u01/app/oracle/product/8.1.7
> ORACLE_SID= oracle
>
> Enter the full pathname of the local bin directory: [/usr/local/bin]:
> \nCreating /etc/oratab file...
> Entry will be added to the /etc/oratab file by
> Database Configuration Assistant when a database is created
> Finished running generic part of root.sh script.
> Now product-specific root actions will be performed.
> ----------------------------------------------------------------------------
> ---------
>
> Rgds,
> Dino
Received on Thu Sep 13 2001 - 01:20:20 CDT

Original text of this message

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