Execution of binary files/scripts fails

hi there,
I spend hours seeking for a solution to my problem... or at least a
cause for its occurrence :|
I wanted to set up a policy enabling remote management on certain
clients. Therefore I have to enable XDMCP. Novell was that kind and
supplied a script (/opt/novell/zenworks/bin/novell-rm-fixrl.sh) for
exactly that issue. In my case it takes the following parameters:
-dm kdm -cf /etc/opt/kde3/share/config/kdm/kdmrc -r enable
it does work quite fine:
pluto:/../bin # ./novell-rm-fixrl.sh -dm kdm -cf
/etc/opt/kde3/share/config/kdm/kdmrc -r enable
Shutting down service kdm
done
Starting service kdm
done
ENABLED
unfortunately it doesn't work that fine when being executed as a binary
policy or script. The options you can configure in the 'new policy'
dialog are pretty straight forward and leave hardly any space for
screwing up yet it doesn't work :)
It always reports the following error:
The policy enable_xdmcp was enforced and the program launched did not
complete the execution.
there's no debug information in
/var/opt/novell/log/zenworks/zmd-messages I could use. Maybe another
place I don't know of?
Simple scripts like
#!/bin/bash
echo 'blabla' >>/tmp/messages
work *confused*.
Any suggestions? Oh and by the way... how do you determine when the next
policy update call is being made? Issue a 'rug sch' and look for
maintenance? I set execution to "relative to refresh".. that should
trigger policy updates every maintenance interval right?
kind regards
JR

Joseph,
a friend told me this:
> unfortunately it doesn't work that fine when being executed as a binary
> policy or script. The options you can configure in the 'new policy'
> dialog are pretty straight forward and leave hardly any space for
> screwing up yet it doesn't work :)
> It always reports the following error:
> The policy enable_xdmcp was enforced and the program launched did not
> complete the execution.
The Remote Execute policy has a field called 'Maximum Waiting Time' which by default is set to 'Wait till the program completes the execution'. I think that in your policy this has been changed to 'Do not wait'. If you set the option to 'Wait for completion' you should get a message like 'The policy xyz was enforced and the program configured in the policy was successfully executed'
When a policy is set to 'Do not wait', zlm will launch the program and exit. Since zlm does not wait for the launched program/script to complete, the status message says 'The policy abc was enforced and the program launched did not complete the execution.' This does NOT mean that the launched program failed. It means that the status (success/failure) is not known. If the launched program is very small and completes before zlm exits, you will get the appropriate status.
That is why when you give a simple echo script you get a success message.
In order to know if the launched program/script succeeded or failed, use the (default) 'Wait for completion' option.
If the third option 'Wait for x seconds' is used the message will depend on whether the launched program completed or not after 'x' seconds.
Hope this clarifies.
> how do you determine when the next policy update call is being made?
Do a rug sch and look for the date & time specified for Service Refresh, under 'Next'
Does that help?
Shaun Pond

Similar Messages

  • Execution of gi installation script failed windows

    I have windows 2012, i tried install Oracle grid but in 83% , it get an error : INS-32123 execution of gi installation script failed . How can i solve?

    Estado de ejecución del nodo con fallos:rac1
    Errores  : Using configuration parameter file: C:\app\12.1.0\grid\crs\install\crsconfig_params|2015/02/17 12:09:24 CLSRSC-363: User ignored prerequisites during installation| [0m|02/17/15 12:10:40  OracleOHService service stopped|02/17/15 12:10:40  OracleOHService service removed|02/17/15 12:10:40  OracleOHService service installed|OhasdConfigureRegistry:  started|OhasdConfigureRegistry:  completed with 0|02/17/15 12:11:02  OracleOHService service started|ohasd is starting|CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.|CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.|CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.|CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.|CRS-2672: Intentando iniciar ''ora.evmd'' en ''rac1''|CRS-2672: Intentando iniciar ''ora.mdnsd'' en ''rac1''|CRS-2676: El inicio de ''ora.mdnsd'' en ''rac1'' se ha realizado correctamente|CRS-2676: El inicio de ''ora.evmd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.gpnpd'' en ''rac1''|CRS-2676: El inicio de ''ora.gpnpd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.cssdmonitor'' en ''rac1''|CRS-2672: Intentando iniciar ''ora.gipcd'' en ''rac1''|CRS-2676: El inicio de ''ora.cssdmonitor'' en ''rac1'' se ha realizado correctamente|CRS-2676: El inicio de ''ora.gipcd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.cssd'' en ''rac1''|CRS-2676: El inicio de ''ora.cssd'' en ''rac1'' se ha realizado correctamente||Fallo al crear el archivo spfile de ASM en el grupo de discos. Se ha producido el siguiente error: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_ERR]|||2015/02/17 12:30:57 CLSRSC-184: Configuration of ASM failed| [0m|2015/02/17 12:30:57 CLSRSC-258: Failed to configure and start ASM| [0m
    Salida Estándar  : Using configuration parameter file: C:\app\12.1.0\grid\crs\install\crsconfig_params2015/02/17 12:09:24 CLSRSC-363: User ignored prerequisites during installation [0m02/17/15 12:10:40  OracleOHService service stopped02/17/15 12:10:40  OracleOHService service removed02/17/15 12:10:40  OracleOHService service installedOhasdConfigureRegistry:  startedOhasdConfigureRegistry:  completed with 002/17/15 12:11:02  OracleOHService service startedohasd is startingCRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.CRS-2672: Intentando iniciar ''ora.evmd'' en ''rac1''CRS-2672: Intentando iniciar ''ora.mdnsd'' en ''rac1''CRS-2676: El inicio de ''ora.mdnsd'' en ''rac1'' se ha realizado correctamenteCRS-2676: El inicio de ''ora.evmd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.gpnpd'' en ''rac1''CRS-2676: El inicio de ''ora.gpnpd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.cssdmonitor'' en ''rac1''CRS-2672: Intentando iniciar ''ora.gipcd'' en ''rac1''CRS-2676: El inicio de ''ora.cssdmonitor'' en ''rac1'' se ha realizado correctamenteCRS-2676: El inicio de ''ora.gipcd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.cssd'' en ''rac1''CRS-2676: El inicio de ''ora.cssd'' en ''rac1'' se ha realizado correctamenteFallo al crear el archivo spfile de ASM en el grupo de discos. Se ha producido el siguiente error: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_ERR]2015/02/17 12:30:57 CLSRSC-184: Configuration of ASM failed [0m2015/02/17 12:30:57 CLSRSC-258: Failed to configure and start ASM [0m

  • BIOS binary file open failed

    '¶},eê'F„‰½,à:http://www.microstar.com.cn„º[òÏsí†,
    ê}eÙÌB©†.
    „ñí4s
    *}(¡žÕôZ„;ú°„î˜)
    Ø÷'¶Á,_÷ ~„5ØKY
    Ž2003t5ý-p„®K7N2-L;,Söå;
     :K7N2-L,
    F/dž$*,å;
     b:K7N2-Detal-L,wSŸà
    „5„Mn‚:
    AthlonXP1800+( BO8Ã)
    DDR 333 256MB
    w6ã80GlØ
    ®K7N2-Detal-L
    ®GF4 MX440SE
    °(„;BIOSH,6/5.0H,, à:¡   Mnoq,_¡   UØ
    ,@åê}(®„live monitor(windowsXP7°BIOS,}†°„BIOS(5.6H,)
    K,‰Åöú°‚Ð:"BIOS binary file open failed",
    åS/ÀHŸà,
    ÷îå‚Uã³?

    im guessing based on
    BIOS binary file open failed
    http://www.msi.com.tw/html/support/bios/note/ntfs.htm

  • Execution of perl based script failed on Windows

    Hi!
    is there anything special I should do on Windows to be able to execute perl script?
    The problem is that by default %perl_bin% variable is extended to a value without slashes... When I'm executing the same script manually from cmd.exe everything is as expected.
    Thanks,
    Ryszard
    ------ Script being executed on Windows based Agent:
    echo hello!
    echo %perlbin%
    set
    ------ output (with removed non relevant lines):
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    D:\oem\agent_base\agent_inst\sysman\emd>echo hello!
    hello!
    D:\oem\agent_base\agent_inst\sysman\emd>echo D:oemagent_basecore12.1.0.2.0perlbin
    D:oemagent_basecore12.1.0.2.0perlbin
    D:\oem\agent_base\agent_inst\sysman\emd>set
    AGENT_SERVICE_NAME=Oracleagent12c1Agent
    EMAGENT_DHTML_PORT=54000
    EMAGENT_PERL_TRACE_FILESIZE=5
    EMAGENT_PERL_TRACE_LEVEL=2
    EMDROOT=D:\oem\agent_base\core\12.1.0.2.0
    EMHOME=D:\oem\agent_base\agent_inst
    EMPERLOHBIN=\perl\bin
    EMPERLVER=5.10.0.0.0
    EMPRODVER=11.1.0.1.0
    EMSTATE=D:\oem\agent_base\agent_inst
    SBINDIR=D:\oem\agent_base\sbin
    PERL5LIB=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin;D:\oem\agent_base\core\12.1.0.2.0\perl\lib;D:\oem\agent_base\core\12.1.0.2.0\perl\lib\site_perl;D:\oem\agent_base\core\12.1.0.2.0\perl\site\lib;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\Net-DNS-0.48\lib;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\libnet-1.19
    PERL_BIN=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin
    PERL_HOME=D:\oem\agent_base\core\12.1.0.2.0\perl

    Check out MOS note 1515609.1.
    Regards,
    - Loc

  • BIOS Binary File needed

    I need a BIOS File (.bin or whatever they use these days) and RSA key (if known to be provided for the system), for my HP_Tools Folder on a usb, as my BIOS Folder is empy in the HP-Tools Folder in my Hard Drive and cannot complete the BIOS Recovery Procedure.
    The laptop is the HP G62-450sv and I cannot find a way to extract the right one (BIOS) from the latest BIOS Update file from HP.
    Thanks.
    P.S. Deer HP please can you go back to the old days where a BIOS file was a BIOS file (binary form) and not a transcript from a movie! There is more files in an exe, than trash in the oceans...

    im guessing based on
    BIOS binary file open failed
    http://www.msi.com.tw/html/support/bios/note/ntfs.htm

  • FTP log file generation failed in shell script

    Hi ALL,
    I am doing FTP file transfer in shell script and able to FTP the files in to corresponding directory , But when i am trying to check the FTP status through the log files then its giving problem . please check the below code.
    for file in $FILENAME1
    do
    echo "FTP File......$file"
    echo 'FTP the file to AR1 down stream system'
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    open $ar1_server
    user $ar1_uname $ar1_pwd
    hash
    verbose
    cd /var/tmp
    put $file
    bye
    E`
    if [ -f $DATA_OUT/$file.log ]
    then
    grep -i "Transfer complete." $DATA_OUT/$file.log
    if [ $? -eq 0 ]; then
    #mv ${file.log} ${DATA_OUT}/../archive/$file.log.log_`date +"%m%d%y%H%M%S"`
    echo 'Log file archived to archive directory'
    #mv $file ${DATA_OUT}/../archive/$FILENAME1.log_`date +"%m%d%y%H%M%S"`
    echo 'Data file archived to archived directory'
    else
    echo 'FTP process is not successful'
    fi
    else
    echo 'log file generation failed'
    fi
    its giving syntax error end of file not giving the exact line number , please help me on thsi
    Regards
    Deb

    Thanks for ur reply
    Actually i did a mistake in the code i wrote the following piece of code below
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    so after the tilde symbol it as again taking the '# ' as a special character so it was giving error, so i removed the second line now its working fine.

  • Submit into ABAP repository failed (binary file)

    Hi,
    im working with eclipse / sapui5 extension. i really like it. everything works fine.
    exceptional case:
                                  "try to submit a ".cur" file"
    Synchronization failed
    File WebContent/img/openhand.cur could not be submitted
    End of line marker not supported, please use CR+LF: WebContent/img/openhand.cur
    What? "I should add CR-LF to a binary file?" ... why? The CR-LF on textfiles is incomprehensible for me, but on
    binary i cannot understand at all.
    If anyone has a solution, please let me know.

    Hi,
    the solution to submit not currently as binary defined files to abap repository is:
    define your fileextension in ecplise as "binary" as documented in the sapui5 sdk docs.
    SAPUI5 SDK - Demo Kit
    "Submitting the SAPUI5 Application Project to the SAPUI5 Repository"
    When using the team provider the file type is determined based on the Eclipse preferences.
    If you submit binary files and submit fails due to "End of line marker not supported" error,
    the binary file type is probably not registered as binary.
    To change that in Eclipse go to Window → Preferences and then to Team → File Content and register the binary file type as type binary."
    like this...
    faithfully... Danilo.

  • "Delete Selected Track Files" Applescript script fails for iTunes 7

    The Delete Selected Track Files script, which is found on the Apple site http://www.apple.com/applescript/itunes/, fails with a error message of "iTunes got an error: file track id 42130 of user playlist id 30791 of source id 40 doesn't understand the delete message." The message is the same regardless of which song(s) I try to delete. Does anyone know how to update the script or know of a workaround?

    Found my mistake. I was testing the script by playing a track from a shared iTunes library across my local net. As soon as I played a track residing on the local machine itself the script worked in iTunes 8.0 as it worked before on iTunes 7.x
    Apparently I'll need to code for the case of a shared track in order to correctly resolve the alias to the file track on the remote machine.
    Thanks Niel!

  • How to Recover from last failed execution by using exported scripts

    I have exported a Data Services batch job to  unix scripts of job_batch.sh. The Enable Recovery option is selected when the job was exported. After I run the scripts (./job_batch.sh) and the job failed, I only can rerun it again using Recover-from-last-failed-execution option at Management Console.
    Is it a way to rerun the job from last failed execution again from the scripts itself, not going through Management Console? Or have to rerun the scripts with any unix option to enable it to run from failed stage?
    Thank you

    In our world a recovery is done manually, hence no automatism there. In fact, there is some code that checks if the last run was unsuccessful and only in that case the Management Consol allows to add the "recover from last failed execution point".
    Having said that, adding the command line property -Cr manually always, does work as Manoy explained.

  • Binary file content check fails!

    Hello,
    I am finding it hard to capture the content of a binary file.
    Here is my code:
      if(!(null == myInstance.getBin_File().toString()) 
                              && !(myInstance.getBin_File().toString().equals(""))){ 
         //    Do something 
        }else{ 
        // Do something else. 
        }  When the binary file is blank, control still goes into "if" instead of "else"!!!!
    How should I change the "if" condition so that, whenever the binary file is blank, I wanna execute "else"
    Thanks
    Srinivas

    The purpose of toString() is (supposed to be) to return a string identification of the object. That doesn't necessarily mean the contents of the object; in fact, it normally wouldn't. For example, suppose an object holds a 100,000-word dictionary. It's toString() response could appropriately be "[100,000-word widget dictionary]", and not every word in the dictionary.
    So, if you're checking to see if the "xstring", whatever that is, is empty, then using toString() is almost certainly not the way to go, and only would be if "xstring" is really poorly designed and you shouldn't use it anyway.

  • Root.sh script fail to run on OEL5.4

    hi, I am trying to install Grid Infrastructure for a Standalone Server on Oracle Enterprise Linux 5.4. i have a problem when i run root.sh script through root user its not execute successufly the error is "error while loading shared libraries" Please give any soluciton.
    Here is the execution of root.sh script
    [root@ws1 OraGrid11gR2]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME= /opt/grid/OraGrid11gR2
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2009-11-02 18:18:28: Checking for super user privileges
    2009-11-02 18:18:28: User has super user privileges
    2009-11-02 18:18:28: Parsing the host name
    Using configuration parameter file: /opt/grid/OraGrid11gR2/crs/install/crsconfig_params
    Creating trace directory
    /opt/grid/OraGrid11gR2/bin/ocrconfig.bin: error while loading shared libraries:/opt/grid/OraGrid11gR2/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
    Failed to create or upgrade OLR
    Please give any solution

    This installation should be very very simple and straight-forward but it has taken me over a week to sort it out.
    What nobody pointed out is the fact that the best way to go about it is:
    1. Deinstall the install
    2. Make sure SELINUX=disabled is set in /etc/selinux/conf ....bounce it if necessary
    3. Do the install again afresh
    I didn't know it can be this easy.....I have gone thru every note and onto Metalink without any luck. Now I am delighted and can go on with my practices.

  • File adapter fails to pickup the complete file

    Hi Guys,
    I have a file to idoc scenario configured.
    Sender is an FTP server and the file type is XML
    Here are the details of my file adapter
    FTP Connection parameters,
    Connect Mode      : Permanently
    Transfer Mode     : Binary
    Processing parameters,
    QoS     : Exactly Once
    Poll Interval     : 15 secs
    Processing Mode     : Archive
    Most of the time my scenario works perfectly fine.
    And sometimes my file adapter fails to pickup the complete xml file and my scenario fails.
    The file is read partially and my mapping throws an error.
    Am i missing any parameter to be set in File adapter???
    Thanks in Advance,
    BBnu

    >>The file is read partially and my mapping throws an error.
    Thats the normal behaviour of XI,if you get a partial file,you will get a error message.
    There are several work arounds for this,first of all have a script independant of XI which is running on FTP server,this script will keep on checking for modifications in file and once the file is completely written,it will rename the file to some other extension(for e.g .dat) and XI file adapter will only pick .dat file,this will make sure that only complete files are picked up.
    Second option is to have a tag all the way in the end of XML which says EOF(of any other character),in your mesage mappin create the root node of target only if this last tag is EOF.Since in incomplete file you will not have this last tag,message processing will stop.
    Thanx
    Aamir

  • CJS-00084  SQL Statement or Script failed. Error Message: Executable

    Hello
    Hello
    I am facing one problem at the time of installing 4.7 IDES can you please guide me on that. Do I need to reinstall system ageing or it can be sort it out in this stage.
    ERROR AT THE TIME OF INSTALLING SAP 4.7 IDES ARE
    1. CJS-00084  SQL Statement or Script failed. Error Message: Executable
        C:\oracle\ora92/bin/sqlplus.exe returns 3.
    2. FJS-00012  Error when executing script.
    Complete error log :--
    INFO 2000-06-15 20:56:57
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
    INFO 2000-06-15 20:56:57
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2000-06-15 20:56:57
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
    INFO 2000-06-15 20:56:58
    Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 20:57:00
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 20:57:00
    FJS-00012  Error when executing script.
    INFO 2000-06-15 20:56:57
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
    INFO 2000-06-15 20:56:57
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2000-06-15 20:56:57
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
    INFO 2000-06-15 20:56:58
    Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 20:57:00
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 20:57:00
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:29
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:29
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:37
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:37
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:37
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:37
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:51
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:51
    FJS-00012  Error when executing script.
    WARNING 2000-06-15 21:07:00
    Error 2 (The system cannot find the file specified.
    ) in execution of a 'CreateProcess' function, line (276), with parameter (C:\oracle\ora92/bin/sqlplus.exe /NOLOG @ora_scr_tmp.sql).
    ERROR 2000-06-15 21:07:00
    MDB-06029  Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
    ERROR 2000-06-15 21:07:00
    MDB-06030  A call to the system library failed. System error message: [No such file or directory].
    ERROR 2000-06-15 21:07:00
    MUT-02011  Internal error: A call to syslib failed. System error message: No such file or directory.
    ERROR 2000-06-15 21:07:00
    FJS-00012  Error when executing script.
    WARNING 2000-06-15 21:11:52
    Error 1326 (Logon failure: unknown user name or bad password.
    ) in execution of a 'LogonUser' function, line (537), with parameter (SAPTRANSHOST\godadm).
    ERROR 2000-06-15 21:11:52
    MDB-06029  Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
    ERROR 2000-06-15 21:11:52
    MDB-06030  A call to the system library failed. System error message: [Unknown error].
    ERROR 2000-06-15 21:11:52
    MUT-02011  Internal error: A call to syslib failed. System error message: Unknown error.
    ERROR 2000-06-15 21:11:52
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:11:53
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:11:54
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:11:54
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:11:54
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:13:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:13:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:13:42
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:13:42
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:00:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:00:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:00:07
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:00:07
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:08:16
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:08:16
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:08:18
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:08:18
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:09:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:09:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:09:49
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:09:49
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:14:33
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:14:33
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:14:33
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:14:33
    FJS-00012  Error when executing script.

    > WARNING 2000-06-15 21:07:00
    > Error 2 (The system cannot find the file specified.
    > ) in execution of a 'CreateProcess' function, line
    > (276), with parameter
    > (C:\oracle\ora92/bin/sqlplus.exe /NOLOG
    > @ora_scr_tmp.sql).
    > ERROR 2000-06-15 21:07:00
    > MDB-06029  Caught exception while trying to start
    > script executing application:
    > [C:\oracle\ora92/bin/sqlplus.exe].
    > ERROR 2000-06-15 21:07:00
    > MDB-06030  A call to the system library failed.
    > System error message: [No such file or directory].
    > ERROR 2000-06-15 21:07:00
    > MUT-02011  Internal error: A call to syslib failed.
    > System error message: No such file or directory.
    > ERROR 2000-06-15 21:07:00
    > FJS-00012  Error when executing script.
    > WARNING 2000-06-15 21:11:52
    > Error 1326 (Logon failure: unknown user name or bad
    > password.
    > ) in execution of a 'LogonUser' function, line (537),
    > with parameter (SAPTRANSHOST\godadm).
    > ERROR 2000-06-15 21:11:52
    > MDB-06029  Caught exception while trying to start
    > script executing application:
    > [C:\oracle\ora92/bin/sqlplus.exe].
    is that file there (sqlplus)?
    as which user are you installing?
    Markus

  • Pause execution of SQL file on error

    I have a build file where I am calling the create scripts of my DB objects. Eg:
    @@COUNTRY_MASTER.sql
    @@COUNTRY_MASTER_AUDIT.sql
    @@COUNTRY_MASTER_TEMPTABLE.sql
    @@COUNTRY_MASTER_WORKTABLE.sql
    I want to pause or exit the execution of this script in case any script fails. Also in case of failure I want to know where the script failed (which line and file name).

    You can exit sqlplus when an error occurs using the WHENEVER command macro:
    WHENEVER OSERROR
    Performs the specified action (exits SQL*Plus by default) if an
    operating system error occurs (such as a file writing error).
    In iSQL*Plus, performs the specified action (stops the current
    script by default) and returns focus to the Workspace if an
    operating system error occurs.
    WHENEVER OSERROR {EXIT [SUCCESS|FAILURE|n|variable|:BindVariable]
                       [COMMIT|ROLLBACK] | CONTINUE [COMMIT|ROLLBACK|NONE]}
    WHENEVER SQLERROR
    Performs the specified action (exits SQL*Plus by default) if a
    SQL command or PL/SQL block generates an error.
    In iSQL*Plus, performs the specified action (stops the current
    script by default) and returns focus to the Workspace if a SQL
    command or PL/SQL block generates an error.
    WHENEVER SQLERROR {EXIT [SUCCESS|FAILURE|WARNING|n|variable|:BindVariable]
                        [COMMIT|ROLLBACK] | CONTINUE [COMMIT|ROLLBACK|NONE]}There is no command for pausing processing when an error occurs. The command language of sqlplus is very primitive. There is no easy way to do conditional processing. And user interaction is limited to prompting for substitution variable values.

  • Start up script fails; Unable to boot...Please, Help.

    This is my first major problem that I have had with this computer. It has been running fine until this past Sunday night. I was running AOL, Firefox & iTunes. The computer was running slow and iTunes was skipping frequently. I rebooted and resumed my activities only to have the same problems and the computer booted slower than usual. I closed all my applications and rebooted once again. Then, I ran Disk Utility had used Verify Disk. It found an error on my system volume stating an incorrect block count in one sector and referenced a file cache_003, all other volumes passed. Disk Utility was unable to repair the volume. Repair Disk ran slow. I did a search for the file cache_003 and discovered that it was part of a Netscape profile back up on a different partition. I deleted the profile and used Disk Utility again. This time, the system volume passed and a different volume failed due to incorrect block size, Repair Disk failed. The next time I tried to boot the computer the gray screen with apple and loading indicator came up and stayed for several minutes followed by a blue screen with loading indicator for several minutes and stayed blue for nearly 40 minutes. Eventually, the screen went black and displayed that the start up script failed. Here is some of what was displayed.
    Darwin/BSD(Computer Name-Computer.local)(console)
    System Starter[35]
    login date&time Internet Sharing[96]:Libinfo[Socket_open():2318]connect():2318]connect:()connection refused (This line repeated continuously)
    I am able to input commands at this stage but I am not knowledgeable enough to know what to do.
    When I push the power button to turn it off the computer beeps once and the led light flashes three times and turns off.
    Each time when I attempt to boot either into Safe Mode or from the Software Install DVD I encounter the same problem.
    Now, Monday night by chance on another boot attempt the computer started up although it took about 20-30 minutes. It was missing one volume which showed up in Disk Utility under a different name. While I had the computer up I backed up what I could on the volumes that mounted. One file I was unable to burn using Toast 9 due to a data fork error. The computer eventually froze during my activities and since I have had no luck at my start up attempts and have had the same problem. Luckily, I was able to back up everything I needed with the exception of what was on the AWOL volume.
    The last thing I had installed recently was the latest Security Update which went fine and was two days before the trouble started.
    I am at a loss for what to do next. I would like to retrieve the files on that one volume but at this point if I can start up I would just like to reformat and install the OS.
    Any help with this problem would be much appreciated. Thank you.

    Well, originally when I ran Disk Utility, although it performed slower than usaual it found the error as previously mentioned and was unable to Repair Volume. As to using the Hardware Disc & Install Discs(original & Tiger) the computer failed to boot although you could hear the disc spinnning for awhile. In both and every instance regardless of any or no disc, the computer starts the boot process and you see the gray screen with white apple and loading indicator for about 3 minutes then it switches to the blue screen with loading indicator. After quite some time the loading indicator goes away and it's just a blue screen for nearly a half-hour followed by a black screen which starts the above prompt. I can post all of what that said later as I have written all of it down at home, a portion of it is in my original post. The start up chime doesn't sound at all. I do get a tone and flashing LED lights when I hold the power button down to turn it off after the above described boot process. There is not much I can do except try and try again. I may need to get a new hard drive but I would like to resolve it without doing so if possible. When trying to boot from both discs I was holding down the C key as directed and I have tried just letting the computer boot with disc in drive without any key interaction.

Maybe you are looking for