[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Oracle 10g inicializando no boot



Boa tarde, quem fez a pergunta original fui eu, Fábio e não o Felipe .

Esta é a sequencia que inicializa o banco manualmente ...

$ sudo su oracle
Password: enter your sudo password
[oracle] $ lsnrctl start

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-JAN-2006 13:55:02

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Starting /u01/app/oracle/oracle/product/10.2.0/db_1//bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/oracle/product/10.2.0/db_1/network/admi n/listener.ora
Log messages written to /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/l istener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(P ORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 19-JAN-2006 13:55:04
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/oracle/product/10.2.0/db_1/network/adm in/listener.ora
Listener Log File /u01/app/oracle/oracle/product/10.2.0/db_1/network/log /listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


[oracle] $ sqlplus connect as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 19 13:55:21 2006

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Enter password: enter the DB password
Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 92276304 bytes
Database Buffers 188743680 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

[oracle] $ isqlplusctl start
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Starting iSQL*Plus ...
iSQL*Plus started.

[oracle] $ emctl start dbconsole
TZ set to Indian/Reunion
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........................ started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/oracle/product/10.2.0/db_1/localhost.localdomain_orcl/sysman/log

com as respectivas respostas do console .


2010/3/19 Kleber Leal <kalvesleal@yahoo.com.br>
Felipe,

quais são as mensagens registradas no syslog que você falou?
Qual comando você utiliza para iniciar o banco manualmente e ele funciona?
 
Kléber Leal

--
Não à pirataria. Sim ao Software Livre.



De: Felipe Rocha <flaprocha@gmail.com>
Para: debian-user-portuguese <debian-user-portuguese@lists.debian.org>
Enviadas: Quinta-feira, 18 de Março de 2010 23:39:16
Assunto: Re: Oracle 10g inicializando no boot

Olá,

Visitei o link que você nos enviou e para ser bem sincero, o que está descrito não é a melhor das opções para instalar o Oracle. Dá uma olhada neste link abaixo:

http://www.debianhelp.co.uk/oracle.htm

Em especial nesta parte:

# /etc/init.d/oracle-xe configure

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:

Confirm the password: (* make sure you remember this password *)

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: y


Existem também um outro link da própria Oracle bem interessante que é:

http://wiki.oracle.com/page/Installing+Oracle+on+Debian+%2F+Kubuntu+%2F+Ubuntu


[]'s
Felipe Rocha


2010/3/18 Fábio Rabelo <madtrek@gmail.com>
Boa noite a todos ..

Eu instalei o Oracle 10g em um Lenny, mas não consigo fazer com que o banco de dados seja inicializado no boot, alguém tem algum tutorial sobre este tema que funcione ?

Este foi o que eu segui para a instalação :

http://www.supinfo-projects.com/en/2006/oracle_on_ubuntu/introduction/

Sim, foi feito para Ubuntu, mas funcionou perfeitamente no Lenny ( com alguns outros eu não tive tanto sucesso )

Mas o banco de dados não é inicializado no boot !!!

Pesquisando na NET encontrei 3 tutoriais específicos, mas nenhum deles funcionou .

O que chegou mais perto foi este :

http://t-a-w.blogspot.com/2007/11/installing-oracle-10g-enterprise.html

De acordo com o syslog ele pelo menos tenta levantar o Oracle, mas retorna uma série de msg de erro, e como eu não conheço absolutamente nada de Oracle não sei nem por onde começar a depurar estas msg ...

Qualquer ajuda será bem vinda ...


Fábio Rabelo



--
 Ao encaminhar e-mails use SEMPRE o campo CCO ou BCC para não expor a lista de destinatários e também APAGUE qualquer e-mail contido no corpo da mensagem. Estas são medidas SIMPLES para reduzir o recebimento de SPAM.

 When forwarding e-mails, ALWAYS use the field BCC or CCO to not expose the list of recipients and also DELETE all e-mails within the body of the message. Those are SIMPLE acts to reduce the receiving of SPAM.


Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes


Reply to: