Instalar Oracle no Centos

1. Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 16/07/2014 - 09:56h

Olá, sou iniciante em Oracle e preciso instalar o Oracle 11g no Centos.
Fiz os seguintes passos:

1 - Descompactei os arquivos linux.x64_11gR2_database_1of2.zip e linux.x64_11gR2_database_2of2.zip
2 - Mesclei o conteúdo do arquivo 2 na pasta do arquivo 1
3 - Pelo terminal, fui até a pasta e rodei o comando: ./runInstaller

O retorno foi esta mensagem:

O usuário é raiz. Neste caso, o Oracle Universal Installer não pode prosseguir com a instalação

O que devo fazer para conseguir instalar o Oracle?


  


2. Re: Instalar Oracle no Centos

nelio
neliobjr

(usa Red Hat)

Enviado em 16/07/2014 - 13:21h

Cara, suas informações ficaram muito vagas.

Começamos por qual versão do centos esta usando, estou suponto que seja o 6.x.?
O sistema é 32 ou 64bits?
Fez todas as configurações necessários, pré-instalação?
Instalou todos os pacotes necessários?
Caso seja 64, é recomendável que instale tantos os pacotes 32 e 64!
Com qual usuário esta instalando?
Os binários do instalador estão com permissão, para o usuário que esta instalando.

Sugiro seguir esta documentação, caso tenha alguma dúvida, volte a procurar.

http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-6.php




3. Re: Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 16/07/2014 - 14:13h

Estou seguindo este passo a passo:
http://mytracelog.blogspot.com.br/2011/06/instalando-o-oracle-11g-r2-na-vm-centos.html

Estava vendo que não cria o usuário oracle.
Vou ver o seu tutorial e ver se consigo instalar.

Dados extras:
Centos 6.5 e Oracle 11g R2

tks


4. Re: Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 16/07/2014 - 14:47h

Estou seguindo este passo-a-passo:
http://mytracelog.blogspot.com.br/2011/06/instalando-o-oracle-11g-r2-na-vm-centos.html

O passo 6 funciona e me retorna:

yum localinstall oracle-validated-1.0.0-24.el5.x86_64.rpm

O passo 7 não acha o arquivo de log

vi /var/log/oracle-validated/results/orakernel.log

Retorno passo 6.

[root@vSRVDB-01 ~]# yum localinstall oracle-validated-1.0.0-24.el5.x86_64.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Examining oracle-validated-1.0.0-24.el5.x86_64.rpm: oracle-validated-1.0.0-24.el5.x86_64
Marking oracle-validated-1.0.0-24.el5.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirror.nbtelecom.com.br
* extras: mirror.nbtelecom.com.br
* updates: mirror.nbtelecom.com.br
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.x86_64 0:1.0.0-24.el5 will be installed
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libICE.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libSM.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libXt.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libXtst.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libc.so for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib64/libaio.so for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib64/libodbccr.so for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: compat-gcc-34 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: compat-gcc-34-c++ for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: elfutils-libelf-devel for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: gcc for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: gcc-c++ for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: ksh for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libXp.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libaio-devel for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libc.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libgcc_s.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libstdc++.so.5 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libstdc++.so.6 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: unixODBC-devel for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libdb-4.2.so()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libstdc++.so.5()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
--> Running transaction check
---> Package compat-db42.x86_64 0:4.2.52-15.el6 will be installed
---> Package compat-gcc-34.x86_64 0:3.4.6-19.el6 will be installed
---> Package compat-gcc-34-c++.x86_64 0:3.4.6-19.el6 will be installed
---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package elfutils-libelf-devel.x86_64 0:0.152-1.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-4.el6 for package: gcc-c++-4.4.7-4.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
---> Package glibc.i686 0:2.12-1.132.el6_5.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6_5.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6_5.2.i686
---> Package glibc-devel.i686 0:2.12-1.132.el6_5.2 will be installed
---> Package ksh.x86_64 0:20120801-10.el6_5.7 will be installed
---> Package libICE.i686 0:1.0.6-1.el6 will be installed
---> Package libSM.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.2.1-2.el6.i686
--> Processing Dependency: libuuid.so.1 for package: libSM-1.2.1-2.el6.i686
---> Package libXp.i686 0:1.0.0-15.1.el6 will be installed
--> Processing Dependency: libXext.so.6 for package: libXp-1.0.0-15.1.el6.i686
--> Processing Dependency: libXau.so.6 for package: libXp-1.0.0-15.1.el6.i686
--> Processing Dependency: libX11.so.6 for package: libXp-1.0.0-15.1.el6.i686
---> Package libXt.i686 0:1.1.3-1.el6 will be installed
---> Package libXtst.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libXi.so.6 for package: libXtst-1.2.1-2.el6.i686
---> Package libaio-devel.i686 0:0.3.107-10.el6 will be installed
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
---> Package libgcc.i686 0:4.4.7-4.el6 will be installed
---> Package libstdc++.i686 0:4.4.7-4.el6 will be installed
---> Package oracle-validated.x86_64 0:1.0.0-24.el5 will be installed
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
---> Package unixODBC-devel.i686 0:2.2.14-12.el6_3 will be installed
--> Processing Dependency: libtemplate.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libtdsS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libsapdbS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: liboraodbcS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: liboplodbcS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbctxtS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbcnnS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbcminiS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbcdrvcfg2S.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbcdrvcfg1S.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libodbccr.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libnn.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libmimerS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libgtrtst.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libesoobS.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
--> Processing Dependency: libboundparam.so.2 for package: unixODBC-devel-2.2.14-12.el6_3.i686
---> Package unixODBC-devel.x86_64 0:2.2.14-12.el6_3 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package libX11.i686 0:1.5.0-4.el6 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.5.0-4.el6.i686
---> Package libXau.i686 0:1.0.6-4.el6 will be installed
---> Package libXext.i686 0:1.3.1-2.el6 will be installed
---> Package libXi.i686 0:1.6.1-3.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
---> Package libuuid.i686 0:2.17.2-12.14.el6_5 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package nss-softokn-freebl.i686 0:3.14.3-10.el6_5 will be installed
---> Package oracle-validated.x86_64 0:1.0.0-24.el5 will be installed
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
---> Package unixODBC.i686 0:2.2.14-12.el6_3 will be installed
--> Processing Dependency: libreadline.so.6 for package: unixODBC-2.2.14-12.el6_3.i686
--> Processing Dependency: libltdl.so.7 for package: unixODBC-2.2.14-12.el6_3.i686
--> Running transaction check
---> Package libtool-ltdl.i686 0:2.2.6-15.5.el6 will be installed
---> Package libxcb.i686 0:1.8.1-1.el6 will be installed
---> Package oracle-validated.x86_64 0:1.0.0-24.el5 will be installed
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package readline.i686 0:6.0-4.el6 will be installed
--> Processing Dependency: libtinfo.so.5 for package: readline-6.0-4.el6.i686
--> Running transaction check
---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be installed
---> Package oracle-validated.x86_64 0:1.0.0-24.el5 will be installed
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libaio.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated-1.0.0-24.el5.x86_64
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated-1.0.0-24.el5.x86_64
--> Finished Dependency Resolution
Error: Package: oracle-validated-1.0.0-24.el5.x86_64 (/oracle-validated-1.0.0-24.el5.x86_64)
Requires: libodbc.so.1()(64bit)
Error: Package: oracle-validated-1.0.0-24.el5.x86_64 (/oracle-validated-1.0.0-24.el5.x86_64)
Requires: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a
Error: Package: oracle-validated-1.0.0-24.el5.x86_64 (/oracle-validated-1.0.0-24.el5.x86_64)
Requires: /usr/lib/libaio.so.1
Error: Package: oracle-validated-1.0.0-24.el5.x86_64 (/oracle-validated-1.0.0-24.el5.x86_64)
Requires: /usr/lib/libodbc.so.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


5. Re: Instalar Oracle no Centos

nelio
neliobjr

(usa Red Hat)

Enviado em 16/07/2014 - 16:43h

Man, estes erros que vc postou estão dando por que vc esta instalando o validated do oracle el5 (semelhante ao centos 5.x) e o seu centos é o 6.5, com pacotes mais novos já instalados, ai estes conflitos entre os que estão nesse comando que esta rodando.

Você tem 2 escolhas, 1º procurar na net qual o repositório (valideted) para o centos 6.x.

Segunda, que eu recomendo, pega a documentação que indiquei anteriormente e instala todos os pacotes pelo rpm -ivh, ou graficamente clicando nos pacotes que lá estão indicados. Lembrando se o sistema for 64, tem que instalar os dois pacotes, tanto 32 quanto 64.

Ex. abaixo o pacote glibc-2, terá suas duas versões instaladas.

glibc-2*x86_64*
glibc-2*i686*

Irá resolver.

Volta ai qualquer coisa.




6. Re: Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 04/08/2014 - 16:38h

Depois de ficar um bom tempo sem mexer, por causa de outras atividades da empresa, voltei ao meu caso de instalar o Oracle no Centos.
Depois de fazer vários passo-a-passo consegui chegar neste ponto:

>>> Ignorando falhas de pré-requisitos necessários. Continuando...
Preparando para iniciar o Oracle Universal Installer de /tmp/OraInstall2014-08-04_04-26-42PM. Aguarde ...[oracle@vSRVDB-01 database]$ No protocol specified
Exception in thread "main" java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:821)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
at oracle.install.commons.util.Application.startup(Application.java:758)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

Procurei a não achei a solução.

Valeu pela ajuda


7. Re: Instalar Oracle no Centos

Adiorgelis
adiorgelis

(usa Fedora)

Enviado em 09/08/2014 - 09:29h

olha eu te aconselho ver os videos desse canal aqui, apesar de estar usando o oracle linux não vai mudar muito... eu consegui instalar vendo esses videos...
https://www.youtube.com/channel/UCdz05G8zHIna_nBM57nxCLQ


8. Re: Instalar Oracle no Centos

ítallo alves pedrosa
itallo

(usa Ubuntu)

Enviado em 12/08/2014 - 00:58h

Hummm ...


Tentou exportar o X ..

A instalaçao do oracle geralmente e com interface grafcia
se tiver usando o putty acessando ssh e necessario exportar o X



9. Re: Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 12/08/2014 - 07:58h

Vou dar uma olhada nos vídeos...

adiorgelis escreveu:

olha eu te aconselho ver os videos desse canal aqui, apesar de estar usando o oracle linux não vai mudar muito... eu consegui instalar vendo esses videos...
https://www.youtube.com/channel/UCdz05G8zHIna_nBM57nxCLQ





10. Re: Instalar Oracle no Centos

Marlon Tiedt
mtsys

(usa Outra)

Enviado em 12/08/2014 - 08:00h

Estou acessando o Centos por VNC. E estou usando inferface gráfica.
O que seria este de exportar o X, não entendi, sou iniciante no Linux.

itallo escreveu:

Hummm ...


Tentou exportar o X ..

A instalaçao do oracle geralmente e com interface grafcia
se tiver usando o putty acessando ssh e necessario exportar o X









Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts