Oracle Business Intelligence Foro
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Error ejecutando una SHELL de UNIX desde OWB

2 participantes

Ir abajo

Error ejecutando una SHELL de UNIX desde OWB Empty Error ejecutando una SHELL de UNIX desde OWB

Mensaje  MGORDAS Vie 15 Mayo 2009, 16:38


Hola,

Estoy obteniendo un error cuando ejecuto un workflow que tiene el "user defined" activity para llamar a un script de tipo shell. Los parámetros que se incluyen en el User Defined son los que incluyo a continuación:

COMMAND: /bin/bash
Parameter List:
Result code:
Script: /bin/ls -l > /oraapp/datos/ficheros/sv/a.lst
Success Threshold: 0

En primer lugar hemos obtenido el error:
*RPE-02248: For security reasons, activity operator Shell has been disabled by the DBA.*,

Entonce hemos modificado el fichero de Runtime.properties del servidor de OWB para cambiar los valores a
*property.RuntimePlatform.0.NativeExecution.Shell.security_constraint=NATIVE_JAVA

Y ahora el error que obtenemos es:

Error en Proceso: PRUEBA_SHELL , Mapping: USER_DEFINED
INFORMATIONAL: 01:05:27 15-MAY-09 90778 90769 RPE-02229: The following debug information was collected:
INFORMATIONAL: 01:05:27 15-MAY-09 90778 90769 RPE-02230: Debug Information: os.name = SunOS
INFORMATIONAL: 01:05:28 15-MAY-09 90778 90769 RPE-02230: Debug Information: os.version = 5.8
INFORMATIONAL: 01:05:28 15-MAY-09 90778 90769 RPE-02230: Debug Information: os.arch = sparc
INFORMATIONAL: 01:05:28 15-MAY-09 90778 90769 RPE-02230: Debug Information: user.name = ora10
INFORMATIONAL: 01:05:28 15-MAY-09 90778 90769 RPE-02230: Debug Information: user.dir = /oraapp/app/oracle/product/102WB/owb/bin/unix
INFORMATIONAL: 01:05:29 15-MAY-09 90778 90769 RPE-02230: Debug Information: argv.arg0 = /bin/bash
INFORMATIONAL: 01:05:29 15-MAY-09 90778 90769 RPE-02230: Debug Information: argv.arg1 = {Task.Input}
INFORMATIONAL: 01:05:29 15-MAY-09 90778 90769 RPE-02230: Debug Information: argv.stdin = /bin/ls -l > /oraapp/datos/ficheros/sv/a.lst
INFORMATIONAL: 01:05:29 15-MAY-09 90778 90769 RPE-02230: Debug Information: ORACLE_SPAWNED_PROCESS = 1
INFORMATIONAL: 01:05:29 15-MAY-09 90778 90769 RPE-02230: Debug Information: ORACLE_BASE = /oraapp/app/oracle
INFORMATIONAL: 01:05:30 15-MAY-09 90778 90769 RPE-02230: Debug Information: LD_LIBRARY_PATH_64 = /oraapp/app/oracle/product/102WB/lib:../../../discoverer/lib:/oraapp/app/oracle/product/102WB/owb/bin/admin:
INFORMATIONAL: 01:05:30 15-MAY-09 90778 90769 RPE-02230: Debug Information: HZ = 100
INFORMATIONAL: 01:05:30 15-MAY-09 90778 90769 RPE-02230: Debug Information: PWD = /export/home/ora10
INFORMATIONAL: 01:05:30 15-MAY-09 90778 90769 RPE-02230: Debug Information: _ = /oraapp/app/oracle/product/102/bin/sqlplus
INFORMATIONAL: 01:05:31 15-MAY-09 90778 90769 RPE-02230: Debug Information: ORACLE_SID = cdid2
INFORMATIONAL: 01:05:31 15-MAY-09 90778 90769 RPE-02230: Debug Information: PORT = 1522
INFORMATIONAL: 01:05:31 15-MAY-09 90778 90769 RPE-02230: Debug Information: SERVICE = CDID2
INFORMATIONAL: 01:05:31 15-MAY-09 90778 90769 RPE-02230: Debug Information: NLSPATH = /usr/dt/lib/nls/msg/%L/%N.cat
INFORMATIONAL: 01:05:32 15-MAY-09 90778 90769 RPE-02230: Debug Information: OCM_HOME = /oraapp/app/oracle/product/102WB
INFORMATIONAL: 01:05:32 15-MAY-09 90778 90769 RPE-02230: Debug Information: NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P1
INFORMATIONAL: 01:05:32 15-MAY-09 90778 90769 RPE-02230: Debug Information: HOME = /export/home/ora10
INFORMATIONAL: 01:05:32 15-MAY-09 90778 90769 RPE-02230: Debug Information: HOSTNAME = cor0003s059
INFORMATIONAL: 01:05:32 15-MAY-09 90778 90769 RPE-02230: Debug Information: NODEID = 1
INFORMATIONAL: 01:05:33 15-MAY-09 90778 90769 RPE-02230: Debug Information: RTHOME = /oraapp/app/oracle/product/102WB
INFORMATIONAL: 01:05:33 15-MAY-09 90778 90769 RPE-02230: Debug Information: LD_LIBRARY_PATH = /oraapp/app/oracle/product/102WB/jdk/jre/lib/sparc/client:/oraapp/app/oracle/product/102WB/jdk/jre/lib/sparc:/oraapp/app/oracle/product/102WB/jdk/jre/../lib/sparc:/oraapp/app/oracle/product/102WB/lib32:../../../discoverer/lib:/oraapp/app/oracle/product/102WB/owb/bin/admin:
INFORMATIONAL: 01:05:33 15-MAY-09 90778 90769 RPE-02230: Debug Information: SKGP_HIDDEN_ARGS =
INFORMATIONAL: 01:05:33 15-MAY-09 90778 90769 RPE-02230: Debug Information: OWB_HOME = /oraapp/app/oracle/product/102WB
INFORMATIONAL: 01:05:34 15-MAY-09 90778 90769 RPE-02230: Debug Information: LOGNAME = ora10
INFORMATIONAL: 01:05:34 15-MAY-09 90778 90769 RPE-02230: Debug Information: ORACLE_HOME = /oraapp/app/oracle/product/102WB
INFORMATIONAL: 01:05:34 15-MAY-09 90778 90769 RPE-02230: Debug Information: SHELL = /usr/bin/bash
INFORMATIONAL: 01:05:34 15-MAY-09 90778 90769 RPE-02230: Debug Information: MACHTYPE = sparc-sun-solaris
INFORMATIONAL: 01:05:35 15-MAY-09 90778 90769 RPE-02230: Debug Information: IAS_HOME = /oraapp/app/oracle/product/102WB

¿Alguien sabe que puede estar pasando?

Muchas gracias

Saludos

MGORDAS

Cantidad de envíos : 10
Localización : Coruña
Fecha de inscripción : 22/04/2009

Volver arriba Ir abajo

Error ejecutando una SHELL de UNIX desde OWB Empty Re: Error ejecutando una SHELL de UNIX desde OWB

Mensaje  bvillamor Lun 18 Mayo 2009, 13:16

Hola,
nosotros hemos utilizado la actividad SQLPLUS para ejecutar scripts sql, no sé si la configuración será válida para otros scripts, por si acaso ahí va. Además de cambiar la propiedad que permite la ejecución de scripts hay que hacer un par de cosillas:

- iniciar el Centro de Control en el servidor, no en el cliente, con el script start_service.sql
- modificar la actividad poniendo su ubicación: en el “Centro de diseño” seleccionar el process flow, botón derecho, Configurar, Seleccionar la actividad SQLPLUS y en la opción “Ubicación Desplegada” seleccionar la ubicación correspondiente al esquema de destino.

Saludos,

Begoña Villamor.
Adiante
bvillamor
bvillamor

Cantidad de envíos : 388
Localización : Madrid
Fecha de inscripción : 18/02/2009

http://www.adiante.es

Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.