[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

RE: Instalar Oracle



Sigue las instrucciones de este documento:

http://jordan.fortwayne.com/oracle/index.html

Usa este parche:

 <<glibcpat.tgz>> :

y tendras Oracle sobre Linux RH 5.2 o 6.0 en menos de dos horas!

Saludos


> ----------
> From: 	Jose Ignacio Sanchón V.[SMTP:nachosa en jet es]
> Sent: 	Viernes 24 de Marzo de 2000 3:05 PM
> To: 	ayuda en linux org mx; linux en nuclecu org mx;
> redhat en eurielec etsit upm es
> Subject: 	Instalar Oracle
> 
> Hola listeros,
> 
> Hoy he leido varios artículos sobre la instalación de
> Oracle
> en Linux, en Solo Programadores Linux nº 10 He intentado
> sin exito en varias ocasiones instalarlo. Creo haber
> echo lo
> necesario pero no hay manera. Si te fuese posible
> echarme una mano te lo agradeceria. Aunque es largo
> te describo lo que hago (TEngo Una REd Hat 6.0 y la
> Oracle 8.0.5 que biene con la revista Solo Programadores
> Linux nª 5.)
> 
> 
> Como root:
> 
> groupadd dba
> useradd oracle -g dba
> umask 022 oracle
> mkdir /usr/oracle/product      
> mkdir /usr/oracle/product/8.0.5
> chown oracle:dba /usr/oracle -R
> 
> Añado al .bash_profile las siguientes variables:
> 
> # .bash_profile
> 
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
>         . ~/.bashrc
> fi
> 
> # User specific environment and startup programs
> 
> PATH=$PATH:$HOME/bin
> BASH_ENV=$HOME/.bashrc
> 
> ORACLE_BASE=/usr/oracle
> ORACLE_HOME=$ORACLE_BASE/product/8.0.5
> LD_LIBRARY_PATH=$ORACLE_HOME/lib
> ORACLE_SID=orcl
> ORACLE_TERM=vt220
> ORA_NLS32=$ORACLE_HOME/ocommon/nls/admin/data
> PATH=$ORACLE_HOME/bin:$PATH
> TMPDIR=/var/tmp
> 
> USERNAME=""
> 
> export USERNAME BASH_ENV PATH ORACLE_BASE ORACLE_HOME
> LD_LIBRARY_PATH ORACLE_SID ORACLE_TERM ORA_NLS32 TMPDIR
> 
> # FIN  .bash_profile
>  
> chmod 777 /mnt/cdrom
> mount -t iso9660 /dev/cdrom /mnt/cdrom
> 
> sh /mnt/cdrom/orainst/oratab.sh, me dice,
> 
> *************************************************************************
> Following conditions should be met to run this script
> successfully.
> 1. Needs root permission to run this script.
> 2. Need to set ORACLE_OWNER enviornment variable to the
> user who
>    installs oracle product.
> 3. This ORACLE_OWNER should be part of group "dba".
> 
> If any of these conditions are not met, please re-run
> after satisfying
> these conditions.
> *************************************************************************
> Is it OK to continue (Y/N)? [Y]: Y
> ORACLE_OWNER is not set.
> Set and export ORACLE_OWNER, then restart oratab.sh
> execution.
> 
> 
> sh oratab_create.sh
> sh oratab.sh
> chown oracle:dba /etc/oratab
> su oracle
> cd /mnt/cdrom/orainst
> ./orainst, y me sale:
> 
> 
> (o) Default Install 
> (o) Install, Upgrade, or De-Install Software
> 
>  ORACLE_BASE:    /usr/oracle 
>  ORACLE_HOME:    /usr/oracle/product/8.0.5
>  ORACLE_SID:     orcl  
> 
> Sale Oracle Isntaler y pulso O.K.
> Software Asset Manager, Selecciono todo y doi a
> instalar  
> 
>    Default Database Startup Using Prebuilt
> Datafiles          
>                                                                         
>            You have chosen to do a default database
> install. You  will use the prebuilt datafiles to start
> up
> the 
> database.                                                          
>  
> 
>           Click (Help) for more
> information.                                 
>                                    
> 
>         -                       
> Information                             
>                                                                         
>            The environment variable ULIMIT is not set. 
> The  nstallation will continue with the
> assumption that the            
>            ULIMIT of this account, or on this machine is
> at least             
>            2113674.  If it is not, then you should
> increase the               
>            ULIMIT of your system, or use the osh program
> supplied             
>            by
> Oracle.                                                         
>        
>         
>       Point 1:        /home/oracle                     
>       Point 2:       
> /home/oracle                                     
>       Point 3:        /home/oracle 
> 
> 
> Comienza a instalar pero me da el error:
> 
>                                 O/S
> Error                                  ^
>  
> 
>     Error during action 'Running
> startorcl.sql'.                              
>     Command:  /usr/oracle/product/8.0.5/bin/svrmgrl
>     <<!                        
>   
> @/usr/oracle/admin/orcl/create/startorcl.sql
> 
>   
> exit
> 
>    !
> 
> Tecleo ENTER y sale lo anterior
> TEcleo IGNORE y sale
> 
>                                 O/S
> Error                                  ^
>  
> 
>     Error during action 'Changing SYSTEM and SYS
> passwords.'.                 
>  
> 
>    Command: 
> /usr/oracle/product/8.0.5/rdbms/install/rdbms/chgpw.sh           
>  
> 
>    >> Changing SYSTEM and SYS
> passwords...                                    
> 
> TEcleo a IGNORE y sale
> 
>                     Notification                     
>                                                                          
>            Database creation failed. Please check log
> file.  
> 
> Y regresa a Sottware Asset Manager, con lo que le doy
> otra vez para instalar
> 
> Me pregunta si quiero intalar otra vez cada cosa y le
> digo NO
> 
> 
> -                                 O/S
> Error                                  ^
>  
> 
>     Error during action
> ''.                                                   
>  
> 
>    Command: 
> cd/usr/oracle/product/8.0.5;                                    
>    /usr/oracle/product/8.0.5/bin/svrmgrl 
>    <<!                                  
>  
> @/usr/oracle/product/8.0.5/rdbms/admin/startuporcl.sql
> 
>  
> exit
> 
>    ! 
>                              DB
> Failed                                
>  
> 
>       The database startup appears to have failed. 
> [Yes] to continue installation (of software only) for
> the rest of
> selected products.   
>       [No] to abort installation.               
> 
> YES y sigo la instalación
> 
>                Installer Actions
> Completed                       
>  
> 
>            The requested action has been performed for
> selected       )    
>           
> products.                                                       
>  
> 
>            Certain product setup actions need to be
> performed by           
>            the 'root' user after successful
> installation.  Upon   completion of installation, please
> log in as
> 'root' and  run the root.sh
> script.                                         
>  
> 
>            Select (Help) for more details on what you
> can do next.         
>            Select (OK) to
> continue.                                        
>  
> 
>              
> Regresa al menu Software Asset Manager y salgo de la
> instalación.
> 
> 
> [root@localhost /]# ORACLE_SID=orcl
> [root@localhost /]#
> ORACLE_HOME=/usr/oracle/product/8.0.5
> [root@localhost /]# sh
> /usr/oracle/product/8.0.5/orainst/root.sh
> 
> Como root, modifico /etc/oratab y queda:
> 
> orcl:/usr/oracle/product/8.0.5:Y
> 
> ejecuto /usr/oracle/product/8.0.5/orainst/sh root.sh  y
> dice
> 
> 
> [root@localhost orainst]# sh root.sh
> Running Oracle8 root.sh script...
> 
> The following environment variables are set as:
>     ORACLE_OWNER= oracle
>     ORACLE_HOME=  /usr/oracle/product/8.0.5
>     ORACLE_SID=   orcl
> Are these settings correct (Y/N)? [Y]: Y
> 
> Enter the full pathname of the local bin directory
> [/usr/lbin]: /usr/oracle/bin
> 
> Ponga lo que pongo me dice:
> 
> Checking for "oracle" user id...
> ORACLE_HOME does not match the home directory for
> oracle.
> Okay to continue? [N]: Y
> 
> Leaving common section of Oracle8 root.sh.
> 
> 
>  su oracle
> Password:
> [oracle@localhost /]$ svrmgrl: error in loading shared
> libraries: libclntsh.so.1.0: cannot open shared object
> file: No such file or directory
> 
> Database "orcl" NOT started.
> [1]+  Done                    sh
> /usr/oracle/product/8.0.5/bin/dbstart
> 
> Parece qw no pudo crear unaq BD pero es tampoco arranco
> con dbstart ni con sqlplus.
> 
> Que puedo hacer?.
> 
> 
> Gracias de antemano y Saludos.
> 
> 
> mailto:nachosa en jet es
> <<<< F O R   E V E R    L I N U X   >>>>
> 
> 
> -- 
> Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
> Para comandos adicionales, envíelo a: ayuda-help en linux org mx
> 

Attachment: glibcpat.tgz
Description: application/compressed

-- 
Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
Para comandos adicionales, envíelo a: ayuda-help en linux org mx


[Hilos de Discusión] [Fecha] [Tema] [Autor]