Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Error with orainst
Daniel Pinyol wrote:
>
> Manuela Juergens wrote:
> >
> > My Problem: I installed Oracle some days ago for the first time. If I
> > call orainst /m again to create a database I get the error:
> >
> > Error during action 'Copy the Installers required files'.
> > Command: cp chkdrvrs chkadptrs /u01/app/oracle/product/7.3.2/orainst
> >
> > cp: chkdrvrs and /u01/app/oracle/product/7.3.2/orainst/chkdrvrs are identical
> > cp: chkadptrs and /u01/app/oracle/product/7.3.2/orainst/chkadptrs are identical
> >
> > My Platform: Unix/Solaris 2.5
> > Release: Oracle 7.3.2.2
> >
> > Does someone know what went wrong?
>
> You must not run orainst from $ORACLE_HOME/orainst , but from
> $ORACLE_HOME/oracle_link/orainst. Well, 'oracle_link' is how I called
> the
> directory where hundreds of directories with links to the CDROM are
> created. This was the first step. Do you remember? I don't know why you
> cannot run 'orainst' from the orainst
> directory. It's probably a bug.
>
> regards
>
>
When I called Oracle about this, they were aware of the problem, but didn't tell me of the workaround of running it from the oralink directory. That's a nice idea for HP-UX boxes, but not available for Solaris machines because they don't have to create the oralink directory.
My solution was to mess with the unix.stp file that controls the installer. In addition to fixing this bug, I also modified it not to require that you install everything under /app/oracle. We like OFA, but we have our own naming standards for directories.
Here is an excerpt from our installation procedure that describes the changes to unix.stp.
$ORACLE_HOME/orainst/unix.stp
Oracle as put OFA support back into the installer, but they require that the $ORACLE_HOME directory includes '/app/oracle'. There is also a bug in the installer that prevents you from creating a database using the installer.
Modifying the $ORACLE_HOME/orainst/unix.stp file in the following ways will remove the requirement that /app/oracle be in the directory name, and will fix the bug that prevents database creation.
{ /*_SYS ( "cp chkdrvrs chkadptrs %Oracle_Home%/orainst" , install_copy_
action ) */
Modify that code segment to look like this. Replace cur_dir with oh_dir so that the condition will always be false.
cur_dir=current_directory(); oh_dir="%Oracle_Home%/orainst"; if(oh_dir != oh_dir) { { /*_SYS ( "cp chkdrvrs chkadptrs %Oracle_Home%/orainst" , install_copy_ action ) */
Bob Swisshelm
Eli Lilly and Company
swisshelm_at_lilly.com
Received on Wed Dec 18 1996 - 00:00:00 CST
![]() |
![]() |