Configuración Discoverer Plus

Tengo problemas a la hora de configurar Discoverer Plus y Viewer. Tengo instalado Oracle9iAS R2, en Win2000. No puedo acceder a través de Internet Explorer a Discoverer Plus, dice que no encuentra la página. Tampoco puedo acceder desde la página de la Enterprise Manager porque no puedo iniciar los servicios necesarios al estar también trabajando con ellos (y me dan errores).
Yo quiero acceder desde una página web del tipo: http://mymachine:7778/discoverer/plus.
¿Cómo se configura?. La información que encuentro es muy confusa. No sé si tengo que modificar algún fichero del servidor, si instalar JInitiator (preferiría que no), etc.
¿Alguna información?

3 Respuestas

Respuesta
2
Al momento de la instalación en el ultimo pantallazo, le dice el puerto que debe utilizar. Primero chequear si es el 7778. Para esto buscar en el directorio de 9ias instalo el subdirectorio ...\assistants\opca\install.log
Aparece en el portal DAD el portal Http port. Tambien puede aparecer en el archivo portlist.ini de Oracle_home\install.
Lo segundo es subvir los servicios por medio de la opcion de start oc4j instance.
Lo tercero es que para correr el discoverer como tal hay que tener instalado o de lontrario adquirir el CD con Oracle de el developer suite o sino solo corre con el oracle 9ias la version demo.
Alberto Rico Avendaño
Perdona Alberto, que me confundí en una cosa. El puerto que utilizo es el 7781, que es el propio de Oracle Discoverer. El anterior que te he dicho es el del servidor Oracle de Infrastuctura. Cuando intento acceder a la página (http:\\mymachine:7781\discoverer\plus dice que no encuentra la página.
Sigo sin poder inicializar el servicio oc4j.
Gracias por tu ayuda.
1.Consulte con algunas personas y me dicen que aplique el patch 4.1.43.07 o Patch # 2385555
2.Otra alternativa es colocar el developer suite con el Oracle8ias.
3. Te envio una solucion que encontre de este error en internet la cual dice:
Yes the OC4J_Portal has to be up and running. Also for the other error in infrastructure, use this as a workaround :
1. Stop OPMN <$ORACLE_HOME>/opmn/bin/opmnctl stopall
2. Modify <$ORACLE_HOME>/Apache/Apache/conf/mod_osso.conf and set OssoIPCheck off.
3. Restart OPMN <$ORACLE_HOME>/opmn/bin/opmnctl startall
4. Te envio un script para arrancar los servicios:
I. Windows NT/2000 Scripts
==========================
Please note that the scripts below use the "timeout" command. The "timeout"
command is used on Windows 2000 to give time for the OID processes to start.
For the "timeout" command to be used, the Windows 2000 Resource Kit needs to
be installed. If on Windows NT then use the command "sleep" command instead of
"timeout".
The scripts should be used in the following order:
a. StartInfrastructure.bat
b. StartMidTier.bat
c. StopMidTier.bat
d. StopInfrastructure.bat
***These scripts have been tested on Windows 2000 only***
a) StartInfrastructure.bat:
REM ####################################################
REM ####################################################
REM ## Script to start Infrastructure ##
REM ## ##
REM ####################################################
REM ####################################################
REM ##
REM ## Set environment variables for Infrastructure
REM ####################################################
set ORACLE_HOME=D:\IAS90201I
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\dcm\bin;%ORACLE_HOME%\opmn\bin;%PATH%;
REM #####################################################
REM ## Start Oracle Internet Directory processes
REM #####################################################
echo .....Starting %ORACLE_HOME% Internet Directory ......
oidmon start
oidctl server=oidldapd instance=1 start
timeout 20
REM #####################################################
REM ## Start Oracle HTTP Server and OC4J processes
REM #####################################################
echo .....Starting OHS and OC4J processes.......
call dcmctl start -ct ohs
call dcmctl start -ct oc4j
REM #####################################################
REM ## Check OHS and OC4J processes are running
REM #####################################################
echo .....Checking OHS and OC4J status.....
call dcmctl getstate -v
pause
REM ####################################################
b) StartMidTier.bat:
REM ####################################################
REM ####################################################
REM ## Script to start MidTier ##
REM ## ##
REM ####################################################
REM ####################################################
REM ##
REM ## Set environment variables for Midtier
REM ####################################################
set ORACLE_HOME=D:\IAS90201J
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\dcm\bin;%ORACLE_HOME%\opmn\bin;%PATH%;
REM #####################################################
REM ## Start Oracle HTTP Server and OC4J processes
REM #####################################################
echo .....Starting OHS and OC4J processes.......
call dcmctl start -ct ohs
call dcmctl start -ct oc4j
REM #####################################################
REM ## Check OHS and OC4J processes are running
REM #####################################################
echo .....Checking OHS and OC4J status.....
call dcmctl getstate -v
REM ####################################################
REM ## Start Webcache
REM ####################################################
echo .....Starting Webcache..........
webcachectl start
REM ####################################################
REM ## Start Enterprise Manager Website
REM ####################################################
echo .....Starting EM Website.....
net start Oracleias90201iEMWebsite
echo ....Done
pause
REM ####################################################
c) StopMidTier.bat:
REM ####################################################
REM ####################################################
REM ## Script to stop Midtier ##
REM ## ##
REM ####################################################
REM ####################################################
REM ##
REM ## Set environment variables for Midtier
REM ####################################################
set ORACLE_HOME=D:\IAS90201J
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\dcm\bin;%ORACLE_HOME%\opmn\bin;%PATH%;
REM ####################################################
REM ## Stop Enterprise Manager Website
REM ####################################################
echo .....Stopping EM Website.....
net stop Oracleias90201iEMWebsite
REM ####################################################
REM ## Stop Webcache
REM ####################################################
echo .....Stopping %ORACLE_HOME% Webcache..........
webcachectl stop
REM ####################################################
REM ## Stop Oracle HTTP Server and OC4J processes
REM ####################################################
echo .....Stopping %ORACLE_HOME% OHS and OC4J........
dcmctl shutdown
echo ....Done
pause
REM ####################################################
d)StopInfrastructure.bat:
REM ####################################################
REM ####################################################
REM ## Script to stop Infrastructure ##
REM ## ##
REM ####################################################
REM ####################################################
REM ##
REM ## Set environment variables for Infrastructure
REM ####################################################
set ORACLE_HOME=D:\IAS90201I
set ORACLE_SID=IASDB
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\dcm\bin;%ORACLE_HOME%\opmn\bin;%PATH%;
REM ####################################################
REM ## Stop Oracle HTTP Server and OC4J processes
REM ####################################################
echo .....Stopping %ORACLE_HOME% OHS and OC4J........
call dcmctl shutdown
REM #####################################################
REM ## Stop Oracle Internet Directory processes
REM #####################################################
echo .....Stopping %ORACLE_HOME% Internet Directory ......
oidctl server=oidldapd configset=0 instance=1 stop
timeout 20
oidmon stop
echo ....Done
pause
REM #####################################################
5. ¿Has modificado alguna pagina xml con text editor? Esto tambien genera error 500.
Cuentame como te va con esto.
ARA
Hola Alberto,
Muchas gracias por tu respuesta.
1) El puerto del servidor HTTP de Oracle es el 7777.Cuando pongo la direccción http://semicroluc4.local:7777/discoverer/plus aparece un mensaje de error: 500 Internal Server Error:The server encountered an internal error or misconfiguration and was unable to complete your request.
2) El fichero de oc4j se encuentra en c:\Oracle_home\j2ee\home\oc4j.jar y no me deja ejecutarlo con la orden java -jar oc4j.jar, pone el error: oracle.security.JAZNException:El sistema no ha podido recuperar los dominios especificados. at oracle.security.jazn.spi.LDAPRealmManager.getrealms<LDAPRealmManager.java:856> ...
Como parece que el problema está en el fichero javaz.xml te lo envío, a ver si ves algo erróneo:
<jazn provider="LDAP" location="ldap://semicroluc4.local:4032" default-realm="semicroluc4" >
<property name="ldap.user" value="orclApplicationCommonName=jaznadmin2,cn=JAZNContext,cn=products,cn=OracleContext" />
<property name="ldap.password" value="2mSXkb8lRNiYvKh1HeyC6HgSoDN3MddceM6vpfVFn9E=" />
</jazn>
Cuál puede ser el problema? Con el comando dcmctl tampoco puedo iniciarlo.
3) Por otro lado, tengo instalado el Oracle9i Developer Suite, en otra máquina cliente. Ya he trabajado con Discoverer Administrator y Discoverer Desktop. Tengo que tener el Oracle8iAS y el Oracle9iDS instalado en la misma máquina?. Espero que no.
A ver si me puedes dar alguna pista.
Un saludo,
Ana
Para recrear el redo log ejecuta lo siguientes pasos:
B. REDO LOGS ------------ Small redo logs can be a major bottleneck in a database. If log switches are taking place at a very fast rate, it is a good idea to recreate the redo log files with a larger size, and perhaps even add one or more redo log files. Since it is recommended that redo log files be all of the same size, you should recreate them all at once with the new, bigger size. At any given time, the database must have at least two redo log groups. Therefore, if you currently have only two redo log groups, you need to create a third one to be able to drop and recreate the log files. To do that, - Go into Server Manager and connect internal. - Create the third redo log group with the desired size and in the desired location. ALTER DATABASE ADD LOGFILE GROUP <group_x> 'file1' SIZE <size>; where <group_x> must be a non-existing group number and 'file1' is the full path name of the new redo log file. If you are mirroring your redo log files, the statement would be: ALTER DATABASE ADD LOGFILE GROUP <group_x> ('file1', ..., 'fileN') SIZE <size>; Once you have at least three redo log groups, you are ready to recreate your redo logs. For simplicity, the procedure below assumes the database has a single redo thread. If you are using the Oracle Parallel Server and have more than one redo thread, you should apply this procedure to each one of the threads. Here are the steps: 1. Go into Server Manager and connect internal. 2. Shut down the database (normal or immediate). 3. Mount the database in restricted mode. STARTUP RESTRICT MOUNT 4. If the database is in archivelog mode, force all filled redo log groups to be archived. ARCHIVE LOG ALL 5. Find out which is the current redo log group. SELECT GROUP#, STATUS FROM V$LOG; One of the groups will have status 'CURRENT'. That will be the last one to be recreated. At least one of the groups should have status 'INACTIVE'. If not, repeat the above query until that is the case. 6. Pick one of the inactive redo groups and drop it. ALTER DATABASE DROP LOGFILE GROUP <group_x>; 7. Recreate that redo log group with the desired size and in the desired location. ALTER DATABASE ADD LOGFILE GROUP <group_x> 'file1' SIZE <size> REUSE; where 'file1' is the full path name of the redo log file. If you are mirroring your redo log files, the statement would be: ALTER DATABASE ADD LOGFILE GROUP <group_x> ('file1', ..., 'fileN') SIZE <size> REUSE; 8. Repeat steps 6 and 7 for all inactive redo log groups. 9. Open the database. ALTER DATABASE OPEN; 10. Force a log switch to make the current redo log group inactive. ALTER SYSTEM SWITCH LOGFILE; 11. Check the status of that redo group to make sure it is inactive. SELECT STATUS FROM V$LOG WHERE GROUP# = <group_y>; When the status shows as 'INACTIVE', move on to step 12. If the database is in archivelog mode, you should check both the redo group's status and whether it has already been archived: SELECT ARCHIVED, STATUS FROM V$LOG WHERE GROUP# = <group_y>; When both the status shows as 'INACTIVE' and archived is 'YES', move on to step 12. 12. Repeat steps 6 and 7 for this particular redo log group that just became inactive. If you originally had only two redo log groups and do not want a third one added, simply apply step 6 to drop this newly inactivated redo log group. 13. Shut down the database (normal or immediate) and take a full backup. When the database is restarted without RESTRICTed session, all users will be able to connect.
Salu2
Alberto
Hola de nuevo!!
Menudo rollo que te he soltao antes , je je.
Una cosa, ya he podido solucionar el acceso a la base de datos IASDB, puedo subir el servicio OID y el LDAP y al hacer ldapbind todo correcto. Puedo acceder a la base de datos mediante el usuario ods /ods, pero no como sys o sysman, sale este error:
ORA-28030:Server encountered problems accesing LDAP Directory Service.
Ni idea qué pinta aquí ésto, pues estoy intentando acceder desde sqlplus o desde la Enterprise Manager.
Pero el error ADMN-100999 al ejecutar dcmctl start -ct ohs sigue todavía. :(
Un saludo,
Ana
Hola Alberto!!
Menudo lío. He seguido los pasos que me has dicho pero digue sin desaparecer el error. Te cuento lo que he hecho y cómo es la estructura que tengo montada aquí.
Al instalar Oracle9iAS aparecieron dos bases de datos: OEMREP e IASDB, ambas con los usuarios/password ods/ods. Posteriormente borré por accidente los ficheros REDO01.LOG y REDO02.LOG de IASDB, tras lo cual no puede acceder a esa base de datos nunca más, aunque intentara lo imposible por regenerarlos (creando nuevos y con ALTER DATABASE CLEAR LOGFILE GROUP 2,etc.) y siempre imposible porque no podía acceder a ellos dado que no me dejaba abrir la base de datos.
Como tenía datos importantes dentro de esa base de datos lo que hice fue crear otra database con el Asistente de configuración de base de datos y regenerar allí la estructura que tenía, pero la nueva que se creó, PSEMI, no tiene los mismos usuarios y esquemas que las anteriores, es más pequeña, por ejemplo, no posee el usuario ods,y si intento a través de dicho asistente configurar sus opciones no me deja porque dice que insuficientes privilegios (no sé de quién). Eso por un lado.
Por otro lado no soy capaz de entrar a la base de datos OEMREP como Administrador. He probado con sys/oem_temp, sysman/oem_temp, oem_temp/oem_temp y todas las combinaciones que se me ocurrieron. Nada. Con el usuario ods/ods puedo ver la tabla ods_process y controlar las instancias de OID activas, pero solo eso, porque no tiene privilegios suficientes para realizar otras tareas.
Te cuento todo esto porque creo que es importante para comprender los errores que me aparecen y puede estar relacionado.
Una vez subido los servicios de Listener y la base de datos, activo el servicio OID.
Si ejecuto solamente oidctl server=oidldapd instance=1 start
Me da el error: ORA-1710:invalid username/password;logon denied.
Supongo que esto será porque también intenta activar el PSEMI y no puede.
Si ejecuto oidctl connect=OEMREP server=oidldapd instance=1 start
Me dice que el número de la instancia está ya en uso.
Si la paro no pone ningún mensaje, pero al mirar en ods/ods@oemrep aparece, así que no la para. Pero bueno, puedo crear perfectamente otras instancias con otros números y borrarlas, así que hasta aquí más o menos todo bien.
Pero al ejecutar después dcmctl start -ct ohs, me aparece el error de siempre ADMN:100999. Que dice oracle.ias.repository.schema.SchemaException:Unable to connect to Directory Server.
Pienso que igual es debido a que busca el servicio en IASDB, no sé, pero ese servicio lo tengo deshabilitado y el ORACLE_SID apunta a OEMREP. No sé.
Por favor,a ver si me puedes dar alguna idea.Seguiré trabajando en ello de todas formas. Si algo nuevo ya te aviso. Pero llevo con este problema ya bastante tiempo y estoy un poco desesperada.
Muchas gracias,
Ana
Acuerdate que para ingresar a OEMREP como Administrador se debe crear el repositorio primero.
Una pregunta: Cuando copiastes la base de datos le distes todas las opciones de copiado (usuarios,... ¿etc)?
ARA
Ana
La creacion del repositorio se hace por:
Enterprise manager configuration assistant
ARA
Para la primera pregunta de ORA-28030 acuerdate que se debe usar un usuario global y se puede atar un usario de enterprise a este esquema global.
Este error sale tambien por el mal uso del dblink, como por ejemplo:
create public database link orcl
connect to current_user identified by password
using 'alias'
debe ser asi:
create database link orcl
connect to username identified by password
using 'alias'
Oracle explica el error y su solucion de la siguiente forma:
Cause: Communication between the LDAP server and the target database must
be secure even with password authenticated users.
See Advanced Security Option Administration Guide Release 9.0.1
fix:
Enable a TCPS connection between the all target databases and the LDAP server.
Tambien sugiere los siguientes pasos:
Check the SSL connection between the database and OID;
A. [CHECK] Verify that the database server can bind to the OID server
Verify that the Database Server can bind to the OID server successfully using the ldapbind command:
> ldapbind -h <oid_hostname> -p <SSL_port> -U 3 -W ?file:<Wallet_path>? -P ?<wallet_password>?
For example:
> ldapbind -h oaly-pc -p 636 -U 3 -W ?file:c:\winnt\profiles\oaly\oracle\wallets? -P ?oaly12345?
Where:
-U 3 indicates client server authentication.? ¿SSL Client and Server Authentication? must be selected for the SSL config set in OID
-W is the wallet location on the database server
-P is the password of the wallet
The bind should be successful
B. Check that the SSL port is defined in the $ORACLE_HOME/network/admin/ldap.ora file. e.g.
DIRECTORY_SERVERS= (oaly-pc:389:636)
C. See <note:189260.1> (How to configure the database with SSL using a DN certificate) and <note:178714.1> (Setting up OID for SSL).
4. Shutdown the OID instance and restart it. Stop and restart the database server.
Explanation
-----------
Current_user can not be used in a database link if the server where the database link resides has ADVANCED SECURITY OPTION INSTALLED.
Para el error ADMIN-100999 hacer lo siguiente:
1. Backup el archivo $ORACLE_HOME/config/ias.properties
2. Ejecutar el script en $ORACLE_HOME/bin resetiASpasswd.sh "cn=orcladmin" <su orcladminpassword> &
lt;su OracleHome>
3. Reejecute el comando dcmctl.
¿En qué maqina estas ejecutando esto? ¿Has cambiado de IP? Es un mensaje como si el database listener no esta coriiendo. (¿La Database esta running sobre otra máquina)?
Prueba la siguiente instruccion:
oidctl connect=iasdb server=oidldapd instance=1 start
Tambien encontre un articulo de Oracle con lo siguiente para arreglar tu problema de ADMN-100999:
1. There should be a copy of the dcm.conf file in $ORACLE_HOME/dcm/repository.install/dcm/config. 2. Copy the file to $ORACLE_HOME/dcm/config. 3.a. If a database repository is being used and the file has the line "repository_type=init", edit the file to "repository_type=db". 3.b. If a file-based repository is being used, leave "repository_type=init". 4. Start OHS with command: dcmctl start -ct ohs
A una persona que tenia este problema le sugirieron lo siguiente:
The error indicates a problem with OID. Be sure OID is up, and working properly. Some recent changes before the reboot may have an effect.
Start Oracle Internet Directory:
1. Change to 9iAS directory: <$ORACLE_HOME>/bin
2. Issue command: oidmon start
3. Issue command: oidctl server=oidldapd instance=1 start
Infrastructure OID and Database Verification
Windows: Task manager should show following processes:
Oidservice.exe - the equivilent of oidmon on unix
oidldapd.exe - two instances, the dispatcher and server..
Run following ldapbind command: It should return "Bind successful"
-Replace hostname, oid_non_ssl_port(Oracle Internet Directory(non-SSL)) with correct values
%oracle_home%\bin\ldapbind -h hostname -p oid_non_ssl_port
Try a superuser bind. It should report "Bind successful"
-Replace passwd with ias_admin passwd
-Replace hostname, oid_non_ssl_port(Oracle Internet Directory(non-SSL)) with correct values
%oracle_home%\bin\ldapbind -h hostname -p oid_non_ssl_port -D cn=orcladmin -w passwd
Verify TNS listener status
%oracle_home%\bin\lsnrctl status
Connect to the database as sys user.
DOS: sqlplus "sys/oracle as sysdba"
Espero que lo anterior te ayude y me cuentas que pasa.
Alberto
Hola Alberto!!
Muchísimas gracias por la ayuda que estás dando. Ya he resuelto el problema de acceso a la base de datos OEMREP. Sí tenía repositorio pero había perdido el usuario y contraseña, así que al reconfigurarlo con el asistente del Enterprise Manager ya pude acceder.
Lo de los REDOlogs lo arreglé reconfigurardo la base de datos con el asistencte de creación de bases de datos, ya que sobrescribió sobre ellos y ya puedo acceder también, así que guay.
Pero el problema de dcmctl sigue todavía. He hecho lo que me dijiste:
- Backup del ias.properties.
- Ejecuté el comando:
resetiASpasswd "cn=orcladmin" password c:\oracle\oraias
Y me sale un mensaje de error:
java.lang.Exception:Unable to connect to Directory Server.
He comprobado que el servicio de directorios funciona, e incluso accedo al Oracle Internet Manager. ldapbind devuelve succesfull.
Qué más puedo probar??
El objetivo final es acceder a Discoverer Plus y Viewer, y sin activar ese servicio ni puedo. :(
Gracias por adelantado. Alguna idea más? Yo sigo trabajando en ello.
Ana
Buenos días,
He realizado los cambios que me has propuesto en el fichero dcm.conf y nada, sigue el mismo error al ejecutar dcmctl start -ct oc4j.Te lo voy a escribir entero a ver si eso te puede dar algune pista.
initialization failed for [oracle.ias.repository.schema.SchemaException: Unable to connect to Directory Server:javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:331)
at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:416)
at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.<init>(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.initRepository(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.<init>(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
Parece como que no se autentica en alguna parte pero ni idea de dónde.
He comprobado todo lo que me has dicho y funciona todo perfectamente:
- Aparecen los tres procesos en el Administrador de tareas.
- El comando ldapbind devuelve bind sucessful, también con el usuario y password
- El listener tiene READY la instancia con la que trabajo (IASDB)
- Puedo acceder perfectamente a la base de datos a través del sqlplus.
Así que no sé qué hacer ahora. Nuevas ideas?
Muchas gracias de antemano,
Ana
Tercera parte:
Esto tiene que ver con ADMN-100999 y su solucion
Para resincronizar la informacion de la configuracion de una instancia con el repositorio
DCM usamos:
Dcmctl resyncinstance -v -d
El comando anterior se ejecuta cuando se produce el error anteriormente mencionado
La opcion -force se usa tambien para forzar laresynchronizacion con el DCM repositorio.
Tambien puede aparecer el error si el archivo $ORACLE_HOME/dcm/config/dcm.conf esta en cero
entonces se debe ejecutar lo siguiente:
1. There should be a copy of the dcm.conf file in $ORACLE_HOME/dcm/repository.install/dcm/config. 2. Copy the file to $ORACLE_HOME/dcm/config. 3.a. If a database repository is being used and the file has the line "repository_type=init", edit the file to "repository_type=db". 3.b. If a file-based repository is being used, leave "repository_type=init". 4. Start oc4j with command: dcmctl start -ct oc4j
Por ultimo chequeemos los pasos antes de arrancar dcmctl
(Starting the Infrastructure RDBMS)
1. Set environment as usual. i.e.: ORACLE_HOME, LD_LIBRARY_PATH, etc
2. Lsnrctl start
3. Sqlplus /nolog, then log in as sys/<password> as sysdba, startup, then exit from SQL*PLus
(Starting the OID Server)
4. Start OID like this:
i) oidmon start
ii) oidctl server=<machine name> instance=1 start
iii) oidctl server=odisrv instance=1 flags="port=<oid_port>" start
Where: machine name = host name, oid_port = OID port shown in $ORACLE_HOME/install/portlist.ini
(Starting Enterprise Manager and the supporting services for the Infrastructure)
5. Emctl start
6. Dcmctl start ohs
7. Dcmctl start oc4j
Dime como vamos con este problema para seguir investigando.
Salu2
ARA
Perdon por la demora en responderte pero no estaba en la ciudad.
Voy a enviarte en varias partes una teoria y otra de lo que podemos hacer.
Algunas cosas que se deben aclarar soble dcm:
- Arrancar HTTP Server y OC4J
Dcmctl start -v
- Arrancar HTTP Server solo
Dcmctl start -ct ohs -v
- Arrancar OC4J solo
Dcmctl start -ct oc4j -v
Una pregunta: ¿Has modificado el datasource.xml? ¿Has usado
ping/tnsping al sitio donde esta la base de datos que te
deseas conectar? Acuerdatwe que despues de una modificacion se
debe realizar dcmctl updateconfig (dcmctl UpdateConfig -ct ohs -v
).
Lo siguiente es una sintaxis del uso de dcmctl
DCMCTL SYNTAX AND COMMAND-LINE OPTIONS
--------------------------------------
The dcmctl utility (dcmctl in Unix and dcmctl.bat in Windows)
exists under <ORACLE_HOME>/dcm/bin directory in Unix
and <ORACLE_HOME>\dcm\bin in Windows.
To run dcmctl, you must log in to your operating system as the user
who installed 9iAS. The dcmctl can run from the operating system
prompt (shell prompt in Unix or Dos prompt in Windows) using the
following syntax: dcmctl command [options] For a complete
list of dcmctl commands and options, use the help command:
<ORACLE_HOME>/dcm/bin/dcmctl help Each dcmctl command
supports zero or more options. Options take the following
form: -option [argument] There are two types of options:
Target and Universal.
Target Options ==============
The Target options define the target on which to apply the given command. Each command
may accept different Target options. Some useful Target options are:
-cl <cluster name>: Apply command to the named application server cluster
-i <instance name: Apply command to the named application server instance
-co <component name>: Apply command to the named component
-ct <component type>: Apply command to the named component type (ohs or oc4j)
Fin primera parte
Segunda parte
1.1 para ver el status de los componentes usar:
Dcmctl getstate -v -d
Para detener los componentes:
Dcmctl stop -v -d
Fin de segunda parte. Ya te envio la tercera parte
para detener los OC4J componentes usar:
<ORACLE_HOME>/dcm/bin/dcmctl stop -ct oc4j -v -d
para arrancar el Oracle HTTP Server component usamos:
<ORACLE_HOME>/dcm/bin/dcmctl start -ct oc4j -v -d
para arrancar el componente home de OC4J usamos:
<ORACLE_HOME>/dcm/bin/dcmctl start -co home -v -d
Hola Alberto,
Mi caso es el 8. Puesto que siempre dice: fallo al intentar conectarse al Directory Server. (Y por que los otros casos no se han dado).
Por eso intento ver a qué ficheros accede dcmctl en los que la configuración del OID está mal, porque hay que recordar que puedo acceder al Oracle Enterprise Manager y también ejecutar ldapbind sin problemas.
Un saludo,
Ana
Para este caso hagamos lpo siguiente:
Hay que especificar el puerto correcto al arrancar odisrv de la siguiente manera.
oidctl server=odisrv instance=1 flags="port=<oid_port>" start
Donde oid_port es el puerto OID
Cuentame como te va.
ARA
Las razones que tiene oracle para este problemaADMN-100999 son:
ADMN-100999 ===========
1-Dcmctl commands fail after modifying dcm. Conf
2-Dcmctl commands fail after changing the iasdb listener port
3-Dcmctl commands fail after dcm. Conf is zero bytes
4-Dcmctl commands fail after changing the IP address
5-Dcmctl commands fail after applying the interoperability patch
6-Dcmctl commands fail when the iasdb tablespace is full 7-Dcmctl commands fail when the oid is down
8-Dcmctl commands fail after starting oid on a different port
¿Cuál se ajusta a tu caso?
ARA
Hola Alberto,
Continuo trabajando en ello, ya que me sigue apareciendo el error de ADMN-100999, al ejecutar cualquier comando dcmctl, de no poder conectarse al Directory Server por Invalid Credentials.
Los comandos que sugieres que pruebe, como el resyninstance o el resetiASpasswd no funcionan pues dan el mismo problema: no poder conectarse al Directory Server.
El documento que me enviaste sobre dcmctl syntax dice que para ejecutar dcmctl, el usuario se debe autenticar en el sistema operativo como el usuario que instaló 9iAS. Y puede que esté ahí el problema. Resulta que la contraseña del administrador (con el que instalé 9iAS) se cambia cada mes (me acabo de enterar) y a lo mejor de ahí viene el problema. Porque se instaló con un usuario: administrador y una contraseña:XXX y ahora se accede para ejecutar los comandos con un usuario:adminitrador y otra contraseña: YYY.
Por eso habrá que localizar en qué fichero Oracle guarda dicha contraseña, para el usuario administrador y cambiarla.En el fichero ias.properties, sí aparece dicho usuario, pero ya te cuento que con el comando resetiASpasswd no me deja variar la contraseña.
Qué te parece lo que te cuento? Tiene sentido?.
Voy a intentar seguir por ese camino.
Si tienes alguna idea no dudes en comunicármela.
Te mantendré al tanto del progreso (si es que lo hay).
Ana
Intentemos este procedimiento. De todas formas seguire investigando y te vuelvo a escribir de aqui al jueves espero que con otra alternativa.
ARA
Para desinstalar 9ias te envio la siguiente información:
Because the de-install process will include steps that require manual removal and/or update of files that may be shared by other existing Oracle products, it is highly recommended to take a full backup of the system before starting the de-install process. The steps listed in this article have been tested on an NT machine which has the following installed products: 1- Oracle Server 8.1.7 2- Oracle Developer 6i 3- Oracle9i Developer Suite Release 2 (9.0.2) 4- Oracle Application Server (4.0.8) 5- Oracle9i Application Server Release 1 (1.0.2.2) 6- Oracle9i Application Server Release 2 (9.0.2) - Infrastructure installation 7- Oracle9i Application Server Release 2 (9.0.2) - J2EE & Webcache Mid Tier install type 8- Oracle9i Application Server Release 2 (9.0.2) - BI & Forms Mid Tier install type The J2EE & Webcache Mid Tier install type (#7 above) has been de-installed using this article and a new Business Intelligence & Forms Mid Tier install type (without Portal configuration) has been installed successfully using the same Oracle Home Name, Oracle Home Path and instance name. Steps to De-install a 9iAS Release 2 (9.0.2) Installation on Windows -------------------------------------------------------------------- The following steps need to be taken for each 9iAS installation to be de-installed: 1- Verify dependencies 2- Identify the Oracle Home 3- Stop the instance 4- De-install using OUI 5- Remove configuration information from OID 6- Remove Oracle Home 7- Remove Registry entries 8- Clean up the environment 9- Delete the Software and Start Menu icons 10- Reboot the machine 1- Verify Dependencies ---------------------- Because de-installing a 9iAS installation may affect other associated 9iAS installations, dependencies need to be verified. Based on the 9iAS installation classification, a different set of action may need to be taken to other related 9iAS installation prior to de-install. A 9iAS installation can be classified as one of the following: a) A standalone installation b) An installation that is acting as the Primary 9iAS Instance c) An installation that is associated with an Infrastructure d) A standalone Infrastructure installation e) An Infrastructure installation that is used by other installations (Mid-Tiers) a. A standalone installation ============================ A standalone installation can only be a J2EE and Web Cache install type. In this case, no dependency on/from other installations and no additional actions to be taken at this step. b. An installation that is acting as the Primary 9iAS Instance ============================================================== When multiple 9iAS installs are performed on a host, there is only one Oracle Home which will contain the active Oracle Enterprise Manager to enable the Oracle Enterprise Manager Website. All 9iAS instances on a single host are administered by this Enterprise Manager. The instance which contains the active Oracle Enterprise Manager is referred to as the Primary 9iAS Instance. To identify whether the 9iAS installation to be de-installed is acting as the Primary 9iAS instance or not, use regedit.exe to start the Registry Editor. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Check the EM_LOC key. If the value of the EM_LOC key is matching the Oracle Home Path being de-installed, then this 9iAS instance is acting as a Primary 9iAS instance. Depending on this 9iAS instance version 9.0.2 or 9.0.3 different different actions may need to be taken: i. 9iAS 9.0.2: OUI will prompt the user to designate an alternate Primary instance from the remaining instances on the host while de-installation. Refer to the Oracle9i Application Server Installation Guide, Release 2 (9.0.2) for Windows NT/2000, Chapter 8 - Deinstallation and Reinstallation, Deinstallation topic for more details. ii. 9iAS 9.0.3: You need to switch the active Oracle Enterprise Manager to one of the remaining instance. If you have a remaining 9iAS 9.0.3 instance, you must switch your active Oracle Enterprise Manager to that instance. Otherwise, you can switch to any 9iAS 9.0.2 instance. Use the following commands to switch the active Oracle Enterprise Manager: DOS> cd <ORACLE_HOME>\bin DOS> emctl switch home This displays a dialog where you can select another 9iAS instance to contain the active Oracle Enterprise Manager Refer to the Oracle9i Application Server Installation Guide, Release 2 (9.0.3) for Microsoft Windows, Chapter 5 - Deinstallation and Reinstallation, Deinstallation topic for more details. c. An installation that is associated with an Infrastructure ============================================================ After de-installing the installation, for example, Portal and Wireless install type, OUI will remove all configuration information related to this installation from the DCM repository of the Infrastructure. However, in some cases OUI may not properly de-install the installation, therefore the following steps are recommended to be followed: i. Before de-installing the installation: Get the name of the instance, by running the following command in a DOS window. Replace <ORACLE_HOME> with the complete path of the 9iAS installation home to be de-installed: DOS><ORACLE_HOME>\dcm\bin\dcmctl whichInstance ii. After de-installing the installation: Remove the instance information from the DCM repository of the Infrastructure, by running the following command in a DOS window. Replace <ORACLE_HOME> with the complete path of the Infrastructure installation home: DOS><ORACLE_HOME>\dcm\bin\dcmctl destroyInstance -i <instance_name> d. A standalone Infrastructure installation =========================================== There is no dependency and no further actions need to be taken at this step. e. An Infrastructure installation used by other installations (Mid-Tiers) ========================================================================= In this case, all installations associated with this Infrastructure installation need to be de-installed prior to de-installing the infrastructure. 2- Identify the Oracle Home --------------------------- Many steps explained later in this article require that the Oracle Home Name, Path and Number of the 9iAS installation being de-installed to be identified. The Oracle Home Path is the file system location where this 9iAS installation resides. The Oracle Home Name is the logical name provided during the installation and is associated with the Oracle Home Path. From the Oracle Home Path, for example, D:\ias902_infra, we will need to identify the Oracle Home Name and Number. This information can be retrieved from the Windows Registry. Use regedit.exe to start the Registry Editor. The registry folders will be displayed as a hierarchical tree one the left hand side panel, while the keys of the folder will be displayed in the right hand panel when a folder is highlighted. follow the below steps to get the Oracle Home Name and Number: a. Expand the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder. b. Search each IDx folder underneath, where x is an integer number 0, 1, 2, etc. representing the Oracle Home Number c. Identify the IDx folder which has the PATH key value matching your Oracle Home Path of the 9iAS installation being de-installed, for example D:\Ias902\BI_F. The NAME key value in this IDx folder will be the Oracle Home Name. The branch name IDx will indicate the Oracle Home Number. The Oracle Home Number, Name and Path of the 9iAS installation to be de-installed identified above will be used later in this article. For simplicity we will refer to their values with <ORACLE_HOME_NUMBER>, <ORACLE_HOME_NAME> and <ORACLE_HOME_PATH> respectively. 3- Stop the Instance -------------------- Stop all Oracle services related to the 9iAS installation to be de-installed. On NT, choose Start > Settings > Control Panel > Services. On 2000/XP, Right click on My Computer > Manage > Services and Applications > Services. Services related to a specific 9iAS installation can be identified from the Oracle Home Name included in the Service name. In a typical 9iAS Release 2 installation the following Services will exist: a. J2EE & Webcache Mid Tier installation: ====================================== Oracle<ORACLE_HOME_NAME>Agent Oracle<ORACLE_HOME_NAME>EMWebsite Oracle<ORACLE_HOME_NAME>ProcessManager Oracle<ORACLE_HOME_NAME>WebCache Oracle<ORACLE_HOME_NAME>WebCacheAdmin Oracle<ORACLE_HOME_NAME>WebCacheMon b. Portal & Wireless Mid Tier installation: ======================================== Same Services as (a) above c. Business Intelligence & Forms Mid Tier installation: ==================================================== Same Services as (a) above plus: Oracle<ORACLE_HOME_NAME>ClientCache Oracle<ORACLE_HOME_NAME>Discoverer d. Infrastructure installation: ============================ Same Services as (a) above plus: Oracle<ORACLE_HOME_NAME>ClientCache Oracle<ORACLE_HOME_NAME>InternetDirectory_iasdb Oracle<ORACLE_HOME_NAME>PagingServer Oracle<ORACLE_HOME_NAME>TNSListener OracleServiceIASDB 4- De-install using OUI ----------------------- Use the Oracle Universal Installer (OUI) to de-install the installation. Select the Oracle Home to be de-installed in the OUI Inventory Screen and click Remove. 5- Remove configuration information from OID -------------------------------------------- When you de-install a 9iAS installation (Mid-Tier) that is associated with an Infrastructure using Oracle Universal Installer, the configuration information stored in Oracle Internet Directory for this installation is not automatically removed. This is necessary if you need to install/re-install a new 9iAS installation (Mid-Tier) with the same name as the previously de-installed one. Refer to the steps listed in "Oracle9i Application Server Administrator's Guide Release 2", Chapter 12 "Managing Oracle Internet Directory", "Removing an Application Server Instance From Oracle Internet Directory" topic, to manually remove the configuration information of the installation from OID. 6- Remove Oracle Home --------------------- Manually remove the Oracle Home of the de-installed installation. Assuming that <ORACLE_HOME_PATH> is D:\Ias902\BI_F, use the Windows Explorer to delete the D:\Ias902\BI_F directory. 7- Remove Registry Entries -------------------------- Because the following steps include manual delete of Windows Registry entries and since deleting ncorrect entries can severely compromise your computer, take extreme care while editing the Registry. Note that some of the below mentioned registry folders and keys may have already been removed by OUI in step 4 above. Using the <ORACLE_HOME_NUMBER>, <ORACLE_HOME_NAME> and <ORACLE_HOME_PATH> values identified in step 2 above follow the below steps: a. Click on the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder. Check the DEFAULT_HOME, HOME_COUNTER and LAST_HOME keys value and: i. Decrease the HOME_COUNTER key value by 1 ii. If the LAST_HOME key value is the same as <ORACLE_HOME_NUMBER>, change it to any other existing Oracle Home Number iii. If the DEFAULT_HOME key value is the same as <ORACLE_HOME_NAME>, change its value to any other existing Oracle Home Name b. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES\IDx folder, where x is the <ORACLE_HOME_NUMBER> c. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEx folder, where x is the <ORACLE_HOME_NUMBER> d. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Delete all keys that has a reference to the <ORACLE_HOME_PATH>. e. If you are de-installing an Infrastructure installation, remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLAP folder if it exists. f. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder. If the ServerRoot key value is referencing the <ORACLE_HOME_PATH>, change it to the Apache\Apache directory of any existing 9iAS Release 2 installation on the same machine. For example, D:\Ias902\BI_F\Apache\Apache. If not remaining 9iAS Release 2 installations exist on the machine, then remove the \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder. g. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services folder. Delete all underneath folders that starts with Oracle<ORACLE_HOME_NAME>. Refer to step 2 above for a typical list of Services to delete for each install type. Note: ----- If you are de-installing an Infrastructure, you need to delete the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceIASDB folder as well. h. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application folder. Delete all underneath folders that starts with Oracle and has a EventMessageFile key value which references the <ORACLE_HOME_PATH>. In a typical 9iAS Release 2 installation the following folders will exist: i. J2EE & Webcache Mid Tier installation: ====================================== Oracle9iAS<ORACLE_HOME_NAME>Agent Oracle9iAS<ORACLE_HOME_NAME>EMD ii. Portal & Wireless Mid Tier installation: ======================================== Same folders as (i) above iii. Business Intelligence & Forms Mid Tier installation: ==================================================== Same folders as (i) above plus: OracleDiscoverer902 iv. Infrastructure installation: ============================ Same folders as (i) above plus: Oracle.iasdb 8- Clean up the Environment --------------------------- Edit the Environment Variables. On NT, choose Start > Settings > Control Panel > System > Environment tab. On 2000 and XP, choose Start > Settings > Control Panel > System > Advanced tab > Environment variables. Click on the PATH Environment Variable. Remove any directory from the PATH Environment Variable value that reference the <ORACLE_HOME_PATH>. Check each and every Environment Variable and remove any reference to the <ORACLE_HOME_PATH>. If the Environment Variable contains references to ONLY the <ORACLE_HOME_PATH>, remove the Environment Variable. Make sure to Click on APPLY and OK after finishing. 9- Delete the Software and Start Menu icons ------------------------------------------- Using Windows Explorer, explore the Programs folder. On NT, this folder should be located under %SystemDrive%\Winnt\Profiles\All Users\Start Menu. On 2000/XP, it is located under %SystemDrive%\Documents and Settings\All Users\Start Menu. Remove the following folder if it exists: Oracle9i Application Server - <ORACLE_HOME_NAME> 10- Reboot the machine ---------------------- To complete the de-installation process, it is recommended to reboot the machine.
Para desinstalar discoverer este es el procedimiento:
1) Close all Oracle products. 2) Copy any Discoverer workbooks or other files you wish to keep from the Oracle Home to another directory (for example, C:\temp). 3) Use the Oracle Installer to remove as much of the ORACLE software as you can. 4) Delete your Oracle Home directory and all subdirectories associated with it. For example: -- On Windows 95/98, the Oracle Home might be C:\Orawin95 -- On Windows NT, the Oracle home might be C:\Orant 5) Export your registry for backup purposes. 6) Delete the following folders from your registry: a) Run Regedit. b) Expand HKEY_CURRENT_USER. c) Expand Software. d) Delete the "ORACLE" folder. e) Expand HKEY_LOCAL_MACHINE. f) Expand SOFTWARE. g) Delete the "ORACLE" folder. 7) Delete the Oracle folder in the Programs Files folder if you have Oracle 8i or greater installed. The UI will also look to this folder and if it exists, it can mislead teh UI to thinking that other products are installed on the machine. 8) Ensure the the SYSTEM PATH was cleaned by the installer and if not, manually remove PATH references to the defunct Oracle Home(s). For Example: My Computer >> Right-Mouse Click >> Properties >> Advanced >> Environment Variables. 9) Delete any menu icons and shortcuts. 10) Reboot your machine. All Oracle products will be removed from the machine
Cuentame nuevamente cual de las razones de Oracle para esta falla se acomoda a tu caso para ayudarte:
ADMN-100999 ===========
1-Dcmctl commands fail after modifying dcm. Conf
2-Dcmctl commands fail after changing the iasdb listener port
3-Dcmctl commands fail after dcm. Conf is zero bytes
4-Dcmctl commands fail after changing the IP address
5-Dcmctl commands fail after applying the interoperability patch
6-Dcmctl commands fail when the iasdb tablespace is full 7-Dcmctl commands fail when the oid is down
8-Dcmctl commands fail after starting oid on a different port
ARA
Uff lo que me ha pasao.
Resulta que como me daba ese error en mid tier, pues decicí desinstalar e instalar de nuevo Discoverer, porque seguro que tengo alguna información errónea en algún fichero.
Pues en el proceso de desinstalación (con el Oracle Universal Installer), se nos fue la luz de la oficina. Y al reiniciar el PC parecía que todo se había desinstalado, lo cual era incierto, pues al querer reinstalar Midtier aparece un error que dice que ya se instaló previamente un Oracle9iAS con un usuario distinto que todas las instalaciones han de estar hechas por el mismo usuario.
No sé si recuerdas que te comenté que las contraseñas de administrador de cambian cada mes. Pues ese es el problema. He borrado el registro de esa HOME y los servicios. Pero cuando arranco el Oracle Universal Installer siempre aparece.
Alguna idea de cómo borrar esa HOME definitivamente?. Los archivos no están, los servicios asociados tampoco y en el registro de entrada no aparece la home.
Muchas gracias.Un saludo,
Ana
Hola Alberto,
Como el problema persistía, lo que he estado haciendo ha sido reinstalar la parte de Infrastructure. Asimismo regenerar toda la estructura de bases de datos que tenía antes.
La orden dcmctl ya funciona en Infrastructure !!! Y puedo arrancar los servicios OHS y OC4J, así que bien.
Pero el Discoverer Plus aún no me funciona, porque en la parte Mid Tier no puedo arrancar el servicio OC4J porque me da el error de siempre ADMN-100999, así que voy a reinstalarlo de nuevo, a ver qué ocurre.
Te mantendré informado.
Ana
Un dato más, no sé si importante o no, es que en el fichero targets.xml de sysman/emd solo pone:
<Targets>
<Target TYPE="host" NAME="semicroluc4.local" VERSION="1.0">
</Target>
</Targets>
Hola Alberto!!
Ya he reinstalado todo: Infrastructure y MidTier. Funcionan todos los servicios en ambos, dcmctl perfecto, puedo subir el ohs y oc4j.
Pero no puedo acceder a la página de discoverer. Su puerto es el 7778 (fichero portlist). Escribo la dirección http://mymachine:7778/discoverer/plus y dice que no encuentra la página.
Otro problema es que cuando accedo al EM Website, no aparece ningún servidor de aplicaciones después de autenticarme (y deberían aparecer dos, el de infrastructure y el de midtier).
De todas formas el problema que me causa mucha prisa es el de poder acceder a Discoverer Plus y Viewer, porque el martes debo enseñarlo en una reunión.
Qué puedo mirar?
Hay que tener en cuenta que desde la página http://MyMachine:7778 dentro de demostraciones/bussines intelligence and forms, intento entrar en la página de Discoverer (la demo) y no me deja.Así que igual falta algún enlace o algo.
Están todos los servicios subidos, en el orden adecuado.
Alguna idea? Falta algo para configurar el discoverer plus?
Sigo con ello.
Gracias de antemano,
Ana
Gracias Alberto.
Resulta que la instalación estaba mal echa porque faltan ficheros. Así que estoy desinstalando e instalando de nuevo.
Te mantengo informado.
A ver si ahora hay suerte!!
Estoy en el norte de España. :(
Gracias,
Ana
Acuerdate de desinstalar los Homes bien o sino nunca te arranca
ARA
Te envio posibles alternativas de solución para ejecutar:
Solución 1:
1.Editar el archivo $ORACLE_HOME/j2ee/OC4J_BI_Forms/config/oc4j.properties
En este archivo adicionar la siguiente linea del hostname del servidor donde esta discoverer.
oracle.display=<hostname where x server is running>:0.0
2.Editar el archivo $ORACLE_HOME/opmn/conf/opmn.xml editar el archivo adicionando
<prop name="DISPLAY" value="<hostname where x server is running>:0"/> 3.Restablecer el opmn y los Servicios de Discoverer de la siguiente forma:
$ORACLE_HOME/opmn/bin/opmnctl stopall $ORACLE_HOME/opmn/bin/opmnctl startall $ORACLE_HOME/discoverer902/util/stopall.sh $ORACLE_HOME/discoverer902/util/startosagent.sh $ORACLE_HOME/discoverer902/util/startoad.sh $ORACLE_HOME/discoverer902/util/applypreferences.sh $ORACLE_HOME/discoverer902util/registerall.sh
Solución 2:
Detenga la instancia de la siguienrte forma
dcmctl stop -i <instance> -ct oc4j
dcmctl stop -i <instance> -ct ohs
./discoverer902/util/stopall.sh
y arrancarlas de la siguiente manera:
./discoverer902/util/startall.sh
Dcmctl start -i <instance> -ct ohs
Dcmctl start -i <instance> -ct oc4j
Las siguientes te las envio tal y como las tiene Oracle.
Solución 3:
Here's the workaround for installing Discoverer AFTER the database has already been installed...
- Put Discoverer CD and launch the installer
- Enter new Oracle Home and path
the Oracle installer will start analyzing dependencies and will fail
with a message about not being able to install into the Oracle database Oracle Home.
- Exit out of the installer
This will create an new Oracle Home entry in your Windows registry
- From the start bar --> run --> regedit
- Go under HKEY_LOCAL_MACHINE --> Software --> Oracle
You should see the following folders: ALL_HOMES, HOME0, HOME1,
etc. HOME(x) will depend on how many Oracle Homes you have on
your computer. For this case, we will assume that HOME0 is your
Oracle8i database (OraHome81) and HOME1 was created for discoverer
(OraDisco)
- Under ALL_HOMES, in the right panel, double click on DEFAULT_HOME
and change this entry to the name of the Discoverer home (OraDisco).
If you
Don't know the name of the Oracle Discoverer home, click on HOME1 and
in the right panel look for ORACLE_HOME_NAME.
- Exit out of the registry
- Launch the Discoverer Installer and pick the Oracle Discoverer Home
that
you tried to install under previously.
- The install should work smoothly from here
Solución 4:
1. You must make sure you can use the connection from Viewer before using it in the Portlet Provider. Attempting the connection directly with Viewer before using the Portlet Provider may provide a more meaningful error message. If the connection works fine in Viewer then try 2.
2. The connection details might be hidden. To work around this problem go to the Discoverer page in Enterprise Manager (EM), click on "General Discoverer" and update your public connection to "Allow Plus and Viewer users to see the connection details". Restart OPMN on the middle-tier install after you do this.
3. Check your logs.
Por ultimo si estas en Colombia(Bogotá) te podría ayudar si me regalas un tel.
ARA
Si tienes hotmail o yahoo me puedes encontrar por messenger como [email protected] o [email protected]
De todas formas me avisas para conectarme y ayudarte
Salu2
ARA
Hola Alberto!!
No puedo instalar el messenger porque no está permitido en la empresa.
Te cuento: todos los servicios se arrancan perfectamente. El problema es que OC4J_BI_Forms no existe. En el directorio donde se debería encontrar ORCL_HOME/j2ee solo están los directorios home y properties, y los ficheros deply.ini y j2eetargets.xml, y los ficheros deply.ini y j2eetargets.xml. Ni rastro de la carpeta OC4J_BI_Forms que contiene los ficheros de configuración de Discoverer Plus, ni ahí ni en otro sitio.
Te envío el fichero oc4j_bi_forms.properties a ver si puede darte alguna pista:
########################################################################
#Personalization Application Properties:
#Initially:op.properties
########################################################################
ENV.OPTION.DISPLAY=localhost:0
########################################################################
#Forms:
#Initially:forms90oc4j.properties
########################################################################
oracle.forms.configFileName=C:/oracle/oradisc\\forms90\\server\\formsweb.cfg
########################################################################
#Reports:
#Initially:reports.properties
########################################################################
org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB
oracle.path=C:/oracle/oradisc/bin;c:/oracle/disc/jdk/jre/bin/classic;c:/oracle/disc/jdk/jre/bin;c:/oracle/disc/bin;c:/oracle/disc/jlib;C:/oracle/oraias/bin;C:/oracle/oraias/jlib;C:/Archivos de programa/Oracle/jre/1.3.1/bin;C:/Archivos de programa/Oracle/jre/1.1.8/bin;C:/WINNT/system32;C:/WINNT;C:/WINNT/System32/Wbem;C:/informix/bin;C:/Archivos de programa/Microsoft SQL Server/80/Tools/BINN;C:/Archivos de programa/Informix/Client-SDK/bin
oracle.display=:0.0
oc4j.command.line.option=-userThreads
ENV.OPTION.PATH=C:\\oracle\\oradisc\\bin;C:\\oracle\\oradisc\\jdk\\jre\\bin;c:\\oracle\\disc\\jdk\\jre\\bin\\classic;c:\\oracle\\disc\\jdk\\jre\\bin;c:\\oracle\\disc\\bin;c:\\oracle\\disc\\jlib;C:\\oracle\\oraias\\bin;C:\\oracle\\oraias\\jlib;C:\\Archivos de programa\\Oracle\\jre\\1.3.1\\bin;C:\\Archivos de programa\\Oracle\\jre\\1.1.8\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\informix\\bin;C:\\Archivos de programa\\Microsoft SQL Server\\80\\Tools\\BINN;C:\\Archivos de programa\\Informix\\Client-SDK\\bin
ENV.OPTION.PATH=C:/oracle/oradisc/bin
########################################################################
#Discoverer:
#Initially:discoverer5.properties
########################################################################
java.rmi.server.randomIDs=true
oracle.disco.osagentPort=16004
jvm.command.line.option=-Xmx512M
oracle.discoverer.server.session=semicroluc4.localOracleDiscovererSession902
##############################################################################
#Clickstream Intelligence Application Properties
#Initially:click-app.properties
##############################################################################
Eso es todo. Ah !! el fichero .log de la instalación no dio problemas, no aparece para nada OC4J_BI_Forms.
De lo del patch no creí que hiciese falta, pues estoy con w2k y Oracle9iAS R2 (9.0.2.0.1).
Un saludo,
Ana
Chequea si esta instalado o no de la siguiente manera:
Por Administrative tools ve a Services y cheque si existe algo parecico a Oracle9ias9021EMwebsite. Si hay varios cambia el que este automático a manual y viceversa. Si solo existe uno colocalo en manual y rebutea la maquina y luego lo colocas en automático cuando se reinicie.
Encontré adicionalmente lo siguiente que depronto te llegue a servir:
If you have the Oracle9iAS services and components set to AUTOMATIC (START-->Settings-->Control Panel-->Administrative Tools-->Services on Windows) they may be starting in the wrong sequence on system reboot.
To fix this, change all of the appropriete services to MANUAL, reboot your system, then start the services in the correct order by hand.
The order is...
5.1. Start all components of the Infrastructure
5.1.1 Start the Metadata Repository
5.1.1.1 Start the Infrastructure Listener
Within Administrative Tools-->Services right click on OracleOraHome9iasinfTNSListener and choose start.
5.1.1.2 Start the Infrastructure Database
Within Administrative Tools-->Services right click on OracleServiceIASDB and choose start.
5.1.2 Start Internet Directory
Within Administrative Tools-->Services right click on OracleOraHome9iasinfInternetDirectory_iasdb and choose start.
5.1.3 Start the Enterprise Manager Web Site
Within Administrative Tools-->Services right click on OracleOraHome9iasinfEMWebsite and choose start.
5.1.4 Start the HTTP Server
Use the Enterprise Manager Web Site to start the infrastructure HTTP Server.
5.1.5 Start OC4J_DAS
Use the Enterprise Manager Web Site to start OC4J_DAS.
5.2. Start the customer database(s)
Within Administrative Tools-->Services right click on OracleService<yourCustomerDb> and choose start.
5.3. Start all necessary components of your Application Server Instance
Use the Enterprise Manager Web Site to start the application server instance components. The following components must be started in order:
1. HTTP Server
2. OC4J_BI_Forms
3. OC4J_home
4. Web Cache
(BC4J, Forms, and Single_Sign-On should start automatically after the above are started)
Por otra parte es necesario saber tu version de 9ias porque se necesita un discoverer patch para Discoverer version 9.0.2.39.02 or higher. (9.0.2.54 production patch)
Por favor si tienes messanger con hotmail o con yahoo ([email protected] o [email protected] conectate para ayudarete.
Enviame todos los mensajes de fallas que encuentres para brindarte una mejor ayuda.
ARA
Consultando con Oracle me dicen que el problema esta en la instalacion. Me dicen que utilice una version mas reciente. Supongo que el problema esta en el borrado antes de reinstalar.
Revisa el correo de borrado y reinstala el programa sino tienes una version mas reciente.
ARA
Respuesta
1
1) Te alcanzo algunos links con algunos FAQ para instalar el discoverer.
http://otn.oracle.com/products/discoverer/content.html
http://otn.oracle.com/products/oracle9i/htdocs/9iobe/OBE9i-Public/
http://otn.oracle.com/products/discoverer/htdocs/Oracle9iAS20_Disco_FAQ.html#05
Por otro lado, ¿tienes acceso a metalink?
Esto es muy importante, en metalink he encontrado la información de:
Oracle9iAS Discoverer Plus and Oracle9iAS Discoverer Viewer
Release 4.1.47 for Microsoft Windows NT/2000 Release Notes
Aqui te indican:
1 Installation instructions
2 Required version of Oracle9i Developer Suite for compatibility
3 Client hardware requirements End User Layer compatibility
4 Documentation updates
5 Useful information
5.1 Performance and scalability
5.2 Aggregation and calculations
5.3 Translation and multi-lingual support
5.4 Export
5.5 Third party products and certifications
5.6 Miscellaneous
6 Known issues and workarounds
6.1 Performance and scalability
6.2 Aggregation and calculations
6.3 Translation and multi-lingual support
6.4 Export
6.5 Third party products and certifications
6.6 Miscellaneous
7 Issues fixed in this release (4.1.47)
8 Issues fixed in previous releases
Si requieres informacion sobre metalink, hazmelo saber.
Dame un dia anita, aver que hago por acá.
Saludos.
Diego.
PD. ¿Cómo es que no tienes acceso a metalink? ¿Tu oracle esta licenciado? ¿O lo has bajado de internet?
Hola Diego!
No tengo acceso a Metalink. Así que no puedo ver ese documento. Si te parece te cuento lo que he hecho a ver si detectas algún error:
1) El puerto del servidor HTTP de Oracle es el 7777. Cuando pongo la dirección http://semicroluc4.local:7777/discoverer/plus aparece un mensaje de error: 500 Internal Server Error:The server encountered an internal error or misconfiguration and was unable to complete your request.
2) Para subir el servicio utilizo el fichero oc4j se encuentra en c:\Oracle_home\j2ee\home\oc4j.jar y no me deja ejecutarlo con la orden java -jar oc4j.jar, pone el error: oracle.security.JAZNException:El sistema no ha podido recuperar los dominios especificados. at oracle.security.jazn.spi.LDAPRealmManager.getrealms<LDAPRealmManager.java:856> ...
Como parece que el problema está en el fichero javaz.xml te lo envío, a ver si ves algo erróneo:
<jazn provider="LDAP" location="ldap://semicroluc4.local:4032" default-realm="semicroluc4" >
<property name="ldap.user" value="orclApplicationCommonName=jaznadmin2,cn=JAZNContext,cn=products,cn=OracleContext" />
<property name="ldap.password" value="2mSXkb8lRNiYvKh1HeyC6HgSoDN3MddceM6vpfVFn9E=" />
</jazn>
¿Cuál puede ser el problema? Con el comando dcmctl tampoco puedo iniciarlo.
3) Por otro lado, tengo instalado el Oracle9i Developer Suite, en otra máquina cliente. Ya he trabajado con Discoverer Administrator y Discoverer Desktop. ¿Tengo qué tener el Oracle8iAS y el Oracle9iDS instalado en la misma máquina?. Espero que no.
El problema es la configuración de Discoverer Plus y Viewer, ya que en fucnionamiento es parececido a Discoverer Desktop y ya he trabajado con él.A ver si me puedes dar alguna pista.
Un saludo,
Ana
Hola Diego,
No me lo he bajado de Internet, Nos lo envió Oracle para hacer pruebas. Debería tener acceso. Es que cuendo entré en la empresa ya estaba y no me han comentado nada.
Anita ... sorry, perdí de vista este pendiente ...
¿Cómo te va?
Diego.
Respuesta

La información es muy buena, creo que es difícil porque acabo de comenzar. driving directions

Añade tu respuesta

Haz clic para o

Más respuestas relacionadas