Shell scripts to migrate from Unix to Linux

Hi All, Can any one let me know what are common issues will face while migrating the shell scripts from Unix to Linux. Thanks in Advance..!

Hi  There is windows batch script which uses local variable %DATE%  Date format behaves differently across environment  In Preproduction : Powercenter9.5.1hotfix2 Windows NT 2008 date format for all users in server machine dd/mm/yyyy (checked regedit/allusers/default/international) Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is dd/mm/yyyy when batch file is run from Informatica.  Production : Powercenter9.6 Windows NT 2012 date format for all users in server machinedd/mm/yyyy Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is day dd/mm/yyyy when batch file is run from Informatica.   If environment variable INFATOOL_DATEFORMAT is set in production,even then date format is not set to dd/mm/yyyy  Where could the issue be?  Thanks Kani

Similar Messages

  • Passing params from SQL file to Shell Script and then from Shell to SQL Fil

    Afternoon guys,
    Have a fun question for all you gurus in shell scripting out there. I have a shell script that is calling 2
    different SQL programs. My objective is to pass a variable called request_number from one sql program
    to the shell script and then from the shell script back to another SQL program. I will explain why I
    need this to happen.
    Here is what the shell script looks like which calls sql programs student_load_a.sql and
    student_load_b.sql. Student_load_a.sql basically creates the control file (.ctl) which is needed for the
    SQL*Loader and then student_load_b.sql reads the table that was just loaded and does the main
    processing. My main objective here is to be passing the request_number which is being generated
    using an Oracle Sequence in student_load_a.sql and using this generated number in my main
    processing in student_load_b.sql to select records from the table based on request_number.
    Any ideas ?Any help or recommendations is welcome and appreciated.
    *1. Shell Script*
    # Accept system input parameters
    p_user_id=$1
    p_job_id=$2
    # Create control files for sqlload
    sqlplus.exe -s $p_user_id @$STUDENT_PATH/student_load_a.sql $p_job_id
    exit_status=$?
    # Do sqlloads
    sdesqlldr.exe userid=$p_user_id control=student_load-$p_job_id.ctl \
                                                 log=student_load-$p_job_id.log \
                                                 bad=student_load-$p_job_id.bad
    exit_status=$?
    # Main processing
    # sqlplus.exe -s $p_user_id @$STUDENT_PATH/student_load_b.sql $p_user_id $p_job_id $p_request_number
    sqlplus.exe -s $p_user_id @$STUDENT_PATH/student_load_b.sql $p_user_id $p_job_id
    exit_status=$?
    exit 0*2. student_load_a.sql (Would like to pass back the Sequence Number back to shell script and then use in student_load_b.sql*
    -- Accept system input parameters
    define p_job_id = &1
    spool student_load-$p_job_id.ctl
    select
    'append into table TMP_STUDENT_LOAD
    FIELDS TERMINATED BY '','' optionally enclosed by ''"''
    trailing nullcols
    (request_number CONSTANT ' || '''' || request_number_seq.nextval || ''',
    student_id)'
    from   dual
    spool off;
    exit 0;
    {code}
    *3. student_load_b.sql (This is a big file so I am only adding code that is relevant for the SQL)*
    {code}
    declare
      v_request_number    number(6);
      v_student_id                  number(7);
      cursor cur_student_load is
        select  student_id
        from   TMP_STUDENT_LOAD
        where  request_number = v_request_number
        order by 1;
    begin
        v_user_id := '&1';
        v_job_id := &2;
        -- This is the variable I would like to be be passing from shell script to student_load_b.sql
        -- v_request_number = '&3';
         open  cur_student_load;
         fetch cur_student_load into v_student_id;
          exit when cur_student_load%notfound;
          .... more logic of if then else in here
         close cur_student_load;
    end;
    {code}
    Edited by: RDonASnowyDay on Jan 29, 2010 4:03 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    How come you are mixing WinDoze script (*.exe) with Unix?
    You are aware that you will be passing the password along with the user id to the second sql script?
    I will assume Unix ksh:
    # Accept system input parameters
    p_user_id=$1
    p_job_id=$2
    # Create control files for sqlload
    p_seqno=`sqlplus -s $p_user_id @$STUDENT_PATH/student_load_a.sql $p_job_id`
    exit_status=$?
    # Do sqlloads
    sqlldr userid=$p_user_id control=student_load-$p_job_id.ctl \
           log=student_load-$p_job_id.log \
           bad=student_load-$p_job_id.bad
    exit_status=$?
    # Main processing
    # sqlplus -s $p_user_id @$STUDENT_PATH/student_load_b.sql $p_user_id $p_job_id $p_request_number
    sqlplus -s $p_user_id @$STUDENT_PATH/student_load_b.sql \
               $p_user_id $p_job_id $p_seqno
    exit_status=$?
    exit 0And the first sql script would look like this:
    -- student_load_a.sql
    -- Accept system input parameters
    set echo off pages 0 feed off lin 80 trims on ver off
    def p_job_id = &1
    col seqno NEW_VALUE seqno
    select request_number_seq.nextval seqno from dual;
    set term off
    spool student_load-$p_job_id.ctl
    select
    'append into table TMP_STUDENT_LOAD
    FIELDS TERMINATED BY '','' optionally enclosed by ''"''
    trailing nullcols
    (request_number CONSTANT ''&&seqno'',
    student_id)'
    from   dual
    spool off;
    exit 0;
    {code}
    :p                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Unix shell script wont execute from ODI

    Hi All.
    I have an interface that calls a shell script to append a record number to a flat file. The shell script is  called by the Execute OS command action.
    This works fine in our dev environment as we have migrated the code to a new environment it no longer works.
    The error I'm getting from the session task is "wrong process code: 127" and from the session step
    ODI-1226: Step Append Record Number into the file fails after 1 attempt
    ODI-1242: Operating System command execution fails
    I'n calling the shell script as below:
    sh xxc_rms_append_record_number.sh
    The shell is in the same directory as the agent i.e. agent/bin
    Thanks in adavance
    Guy

    Hi ,
    I assume you are using ODI 11g.
    Please try / check the below steps --
    1> Try to use OdiOsCommand instead of OSCommand .
    2> Try to execute the shell script in the directory in the path you want to run (not from ODI)
    3> Recheck the path whether you should run in that directory or not (Environment wise directory can be changed)
    Thanks

  • Migration from windows to Linux -- Autoconfig Error

    Hi DBA's
    I am doing Migration from Windows 2000 to Linux 4.0ES Migration.
    Application - 11.5.10.2, Database - 9.2.0.6.
    Documents Followed
    230627.1 - Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle9i Enterprise Edition
    238276.1 - Migrating to Linux with Oracle Applications Release 11i
    Till now i have finished as follows.
    1) Doc -238276.1
    Section 1 completed on the source instance.
    2) Doc -230627.1
    Section 1, Section 2, Section 3 completed.
    3) Now i started 238276.1
    Section 2.
    Step 1- updated the manifest --- Completed
    Step 2- copy appl_top and Common_top -- Completed
    Step 3- Clone the AutoConfig XML context file on the Target System -- Completed.
    Step 4- Install iAS Oracle Home -- Completed.
    Step 5- Apply the Oracle interoperability patches for Red Hat Enterprise Linux -- Ignored
    Note- Because My Application is 11.5.10.2.
    Step 6- Run AutoConfig setup phase on the Target System -- Error out.
    I run the command as follows.
    # cd <AD_TOP>/bin
    # ./adconfig.sh run=INSTE8_SETUP contextfile=<Target System ctxfile>
    [applmgr@aqherp bin]$ ./adconfig.sh run=INSTE8_SETUP contextfile=/s03/oracle/prodappl/admin/PROD_aqherp.xml
    Enter the APPS user password: Script execution phase specified: INSTE8_SETUP
    The log file for this session is located at: /s03/oracle/prodappl/admin/PROD_aqherp/log/01122007/adconfig.log
    AutoConfig is configuring the Applications environment...
    AutoConfig will consider the custom templates if present.
    Using APPL_TOP location : /s03/oracle/prodappl
    ERROR: Unable to set CLASSPATH
    Neither of the following are present
    /usr/jre/lib/rt.jar
    /usr/lib/rt.jarERROR: Unable to set CLASSPATH
    Neither of the following are present
    /usr/jre/lib/rt.jar
    /usr/lib/rt.jar Classpath :
    Version Conflicts among development maintained and customized templates encountered; aborting AutoConfig run.
    The logfile for this session is located at: /s03/oracle/prodappl/admin/PROD_aqherp/log/01122007/adconfig.log
    [applmgr@aqherp bin]$
    ==========================LOG FILE SHOWS=================================================
    Starting AutoConfig at Mon Jan 12 20:07:21 2009
    Using adconfig.pl version 115.81
    Script execution phase specified: INSTE8_SETUP
    Classpath :
    Version Conflicts among development maintained and customized templates encountered; aborting AutoConfig run.
    Please help me to resolve this issue.
    Best Regards,
    Suresh Gelda

    Hi DBA's
    I am able to run the autoconfig now, but i am getting errors in that
    Please check log file which i am pasting here
    Checking version of /s03/oracle/prodcomn/java/jdbc14.zip
    File exists
    RC-50208: Exception in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program "/s03/oracle/prodappl/ad/11.5.0/bin/adident": java.io.IOException: error=2, No such file or directory
    File Version: -1
    File version could not be obtained
    Skipping updating s_fnd_jdbc_stmt_cache_size.
    Updated s_fnd_jdbc_stmt_cache_size to 0
    Configuring MOVEJSPPAGEREPOS settings ...
    Execute SYSTEM command : mv /s03/oracle/prodcomn/html/_pages /s03/oracle/prodcomn
    /s03/oracle/prodcomn/html/_pages is moved to /s03/oracle/prodcomn/_pages successfully
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    *******FATAL ERROR*******
    PROGRAM : (/s03/oracle/prodappl/fnd/11.5.0/patch/115/bin/txkSetConfig.pl)
    TIME : Tue Jan 13 12:23:09 2009
    FUNCTION: [ Level 1 ]
    ERRORMSG: ERROR: Reading /tmp//orainst/unix.rgs: No such file or directory
    STACK TRACE
    at /s03/oracle/prodappl/au/11.5.0/perl/TXK/Error.pm line 219
         TXK::Error::printMsg('TXK::Error', 'ERROR: Reading /tmp//orainst/unix.rgs: No such file or direct...') called at /s03/oracle/prodappl/fnd/11.5.0/patch/115/bin/txkSetConfig.pl line 92
    .end err out.
    Result : FAILED
    ===========================================================================
    Generate Tns Names
    Logfile: /s03/oracle/prodappl/admin/PROD_aqherp/log/01131223/NetServiceHandler.log
         Classpath : /usr/java/jdk1.6.0_11/jre/lib/rt.jar:/usr/java/jdk1.6.0_11/lib/dt.jar:/usr/java/jdk1.6.0_11/lib/tools.jar:/s03/oracle/prodcomn/java/appsborg2.zip:/s03/oracle/prodcomn/java
    Updating s_tnsmode to 'generateTNS'
    UpdateContext exited with status: 0
    java.lang.Exception: Error while generating listener.ora.
         at oracle.apps.ad.tools.configuration.NetServiceHandler.generate806Listener(NetServiceHandler.java:2503)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2272)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:2978)
    AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
    Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
    Instantiating Tools tnsnames.ora
    Tools tnsnames.ora instantiated
    Web tnsnames.ora instantiated
    adgentns.pl exiting with status 512
    ERRORCODE = 512 ERRORCODE_END
    .end std out.
    .end err out.
    ================================================================================
    Uploading file system Context file and its templates to the database
    Context file :
    /s03/oracle/prodappl/admin/PROD_aqherp.xml
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL=''
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : aqherp
    sDbDomain : qudrah.com
    sDbPort : 1521
    sDbSid : PROD
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@aqherp.qudrah.com:1521:PROD
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    Result : Failed to upload the Context file to the DataBase
         Uploading Context file and its templates to the database...FAILED
    StackTrace:
    java.lang.Exception: oracle.apps.ad.autoconfig.oam.InDbCtxFileException: SQLException : ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "APPS.FND_GSM_UTIL" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
         at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:685)
         at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:222)
         at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1663)
         at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    =========================================================================================
    After Setting Environment
    ORACLE_HOME          : /tmp/
    LD_LIBRARY_PATH          : /tmp//lib:/usr/X11R6/lib:/usr/openwin/lib:/usr/java/jdk1.6.0_11/jre/lib/i386/server:/usr/java/jdk1.6.0_11/jre/lib/i386:/usr/java/jdk1.6.0_11/jre/../lib/i386:/tmp//lib:/usr/X11R6/lib:/usr/openwin/lib
    PATH               : /tmp//bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/s03/oracle/proddb/9.2.0/bin
    ORA_NLS               : /tmp//ocommon/nls/admin/data
    TNS_ADMIN          : /tmp//network/admin/PROD_aqherp
    NLS_LANG               : American_America.AR8MSWIN1256
    NLS_DATE_FORMAT          : DD-MON-RR
    NLS_NUMERIC_CHARACTERS     : .,
    NLS_SORT               : BINARY
    CONTEXT_NAME          : PROD_aqherp
    AD_TOP               : /s03/oracle/prodappl/ad/11.5.0
    FND_TOP               : /s03/oracle/prodappl/fnd/11.5.0
    TXK_TOP               : /s03/oracle/prodcomn/rgf/PROD_aqherp
    APPLTMP : /s03/oracle/prodcomn/temp
    TWO_TASK               : PROD
    ORACLE_LOCALPREFERENCE     : /tmp//tools/admin
    TNS CONNECT STRING     : PROD
    SQLPLUS               : /s03/oracle/proddb/9.2.0/bin/sqlplus
    Setting of Environment completed.
    SQL Command: SELECT language_code||',' FROM fnd_languages WHERE installed_flag IN ('B','I') AND language_code NOT IN ('US', 'SQ','IS','LT','VN')
    ERROR DESCRIPTION:
    (*******FATAL ERROR*******
    PROGRAM : (/s03/oracle/prodcomn/admin/install/PROD_aqherp/txkFrmUTF8.pl)
    TIME : Tue Jan 13 12:24:40 2009
    FUNCTION: TXK::SQLPLUS::validateConnectInfo [ Level 3 ]
    MESSAGES:
    SQLPLUS executable not found in ORACLE_HOME/bin
    STACK TRACE
    at /s03/oracle/prodappl/au/11.5.0/perl/TXK/Error.pm line 167
         TXK::Error::abort('TXK::Error', 'HASH(0x810dd30)') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/Common.pm line 299
         TXK::Common::doError('TXK::SQLPLUS=HASH(0x853767c)', 'SQLPLUS executable not found in ORACLE_HOME/bin', 'undef') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/Common.pm line 314
         TXK::Common::setError('TXK::SQLPLUS=HASH(0x853767c)', 'SQLPLUS executable not found in ORACLE_HOME/bin') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/SQLPLUS.pm line 346
         TXK::SQLPLUS::validateConnectInfo('TXK::SQLPLUS=HASH(0x853767c)') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/SQLPLUS.pm line 267
         TXK::SQLPLUS::setConnectInfo('TXK::SQLPLUS=HASH(0x853767c)', 'HASH(0x8537880)') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/TechstackDB.pm line 588
         TXK::TechstackDB::_getSQLValue('TXK::TechstackDB=HASH(0x853755c)', 'SELECT language_code||\',\' FROM fnd_languages WHERE installe...') called at /s03/oracle/prodappl/au/11.5.0/perl/TXK/TechstackDB.pm line 563
         TXK::TechstackDB::getSQLValue('TXK::TechstackDB=HASH(0x853755c)', 'SELECT language_code||\',\' FROM fnd_languages WHERE installe...') called at /s03/oracle/prodcomn/admin/install/PROD_aqherp/txkFrmUTF8.pl line 147
         eval {...} called at /s03/oracle/prodcomn/admin/install/PROD_aqherp/txkFrmUTF8.pl line 112
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    ======================================================================================================
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /s03/oracle/prodcomn/admin/install/PROD_aqherp
    adgendbc.sh INSTE8_SETUP 1
    adgenjky.sh INSTE8_SETUP 1
    afcpnode.sh INSTE8_SETUP 1
    afgcsreg.sh INSTE8_SETUP 1
    txkMultinode.sh INSTE8_SETUP 1
    wdbsvr.sh INSTE8_SETUP 1
    Directory: /usr/bin/perl -I /usr/lib/perl5/5.8.5/i386-linux-thread-multi -I /usr/lib/perl5/5.8.5 -I /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi -I /usr/lib/perl5/site_perl/5.8.5 -I /usr/lib/perl5/site_perl/5.8.4 -I /usr/lib/perl5/site_perl/5.8.3 -I /usr/lib/perl5/site_perl/5.8.2 -I /usr/lib/perl5/site_perl/5.8.1 -I /usr/lib/perl5/site_perl/5.8.0 -I /usr/lib/perl5/site_perl -I /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi -I /usr/lib/perl5/vendor_perl/5.8.5 -I /usr/lib/perl5/vendor_perl/5.8.4 -I /usr/lib/perl5/vendor_perl/5.8.3 -I /usr/lib/perl5/vendor_perl/5.8.2 -I /usr/lib/perl5/vendor_perl/5.8.1 -I /usr/lib/perl5/vendor_perl/5.8.0 -I /usr/lib/perl5/vendor_perl -I . -I /s03/oracle/prodappl/au/11.5.0/perl /s03/oracle/prodcomn/admin/install/PROD_aqherp
    txkFrmUTF8.pl INSTE8_SETUP 1
    AutoConfig is exiting with status 7
    Best Regards,

  • Printing after Migration from Windows to Linux

    We have just migrated 11.5.2 from Windows to Linux. I am not sure how to setup printers. In windows we simply had a UNC pointing to our Windows Printer Server and the Printers Queue. This was in the Printer Column and the Type was HPLJ4SI in the Type column under Install > Printer > Register....like this:
    \\MYCOPRT03\PTS2245
    Not sure what to put in linux. Currently we are getting this error:
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 7457024
    Number of copies : 1
    Printer : \\MYCOPRT03\PTS2245
    /bin/sh: print: command not found
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 127
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 127.
    Action: Review your concurrent request log file for more detailed information.

    Chris,
    It appears that these links are not savable.You need to refer to the docs in those threads for the steps you have to follow to setup a printer on Linux/Unix.
    How to Setup Printer for Oracle Applications 10.7 - 11.5.x Quick Reference [ID 123140.1]
    How to Test an Initialization String Outside of Oracle Applications [ID 106186.1]
    How to setup Printer Arguments Within Oracle Applications [ID 73804.1]
    Oracle Applications Character Printing [ID 112172.1]
    lp: The printer or class was not found.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1As applmgr, source the application env file and issue "which lp" and make sure it is accessible by the OS user. If the command is available, then it is something with your printer definition -- Issue "system-config-printer" from the command prompt to launch the Printer Configuration Tool and configure your printer at the OS level.
    Thanks,
    Hussein

  • Oracle E-business suite database migrate from AIX to Linux

    Oracle 11i application database migration from single Aix instance to oracle Linux cluster RAC.
    What is the easy way to migrate?
    Migrate single instance from aix to linux cluster.
    OR
    Migrate single instance from aix to linux cluster RAC.
    We have installed oracle Linux cluster.
    Please help me which way I can go with RAC.
    Thanks
    Prince

    Migrating to a single instance will be the simplest. The migration itself will not be much different between the two because you're migrating from one platform to another. The options you have available are, the traditional IMP/EXP, datapump, and RMAN to migrate to either a standalone or RAC environment. The difficulty will be in creating a RAC environment and a little a few extra steps in the RMAN restore. Working with RAC will make things harder, but the actual migration is similar. The steps to IMP/EXP, whether it's traditional or Datapump will be no different. However, standing up a RAC database will be.

  • Need Best Practice for Migrating from Solaris to Linux

    Hi Team,
    We are migrating our Data Center from Solaris to Linux and our EBS 11i, database 10g (10.2.0.5) is 6TB. Please let us know the Best Practice to Migrate our EBS 11.5.10.2 from Solaris to Linux RHEL 5.
    we require Database 10g (10.2.0.5) on Linux x86-64 RHEL 5 and Application EBS on Linux x86 RHEL 5. Please let us know for any details.
    EBS version: 11.5.10.2
    DB version: 10.2.0.5
    We have checked the certifications in Oracle support.
    Oracle EBS 11.5.10.2 is not certified with Linux x86-64 RHEL 5. 
    Oracle EBS 11.5.10.2 is certified on Linux x86 RHEL 5.
    So we require Database 10g (10.2.0.5) on Linux x86-64 RHEL 5 and Application EBS on Linux x86 RHEL 5.
    Thank You.

    You can transportable tablespace for the database tier node.
    https://blogs.oracle.com/stevenChan/entry/10gr2_xtts_ebs11i
    https://blogs.oracle.com/stevenChan/entry/call_for_xtts_eap_participants
    For the application tier node, please see:
    https://blogs.oracle.com/stevenChan/entry/migrate_ebs_apptiers_linux
    https://blogs.oracle.com/stevenChan/entry/migrating_oracle_applications_to_new_platforms
    Thanks,
    Hussein

  • ORACLE APPS migration from AIX to Linux

    Dear All,
    Please help me to understand the following scenario of ORACLE APP'S migration.
    One of my client currently using Oracle APP'S ver 11.0.3 DB version 8.0.5 running on IBM AIX platform.
    Currently three customized module under operation with 50 forms and reports.
    Also some external application integrated with the current oracle financial 11.0.3.
    The client is more interested to migrate their platform to linux based server.
    They wants to move the current set up to the new version EBS along with the existing customized module. (My question is it possible to migrate the customized module to another platform. AIX to Linux)
    If so , where i can find the right document to explore more idea of this scenario of migration.
    Thanks in advance.
    Regards,
    Ram.
    Dear all,
    looking for experts help is this regard.
    Thanks.
    Ram
    Message was edited by:
    rambtn

    ram,
    I am going to do the similar upgrade with replatform at the same time. I collect the information from forum and finally get an indicator to how to do it. You need to read the "Upgrading the Oracle Applications", B19297-01
    "Installing Oracle Applications" B19296-01 and
    "Maintenance Utilities" B19300-01
    The documentation mentioned the way for upgrade an 11.0 version of EBS to latest release including some pre-upgrade tasks including the database version upgrade to work with 11i, etc.
    Hope this help.
    mcken

  • How can i migrate from oracle 10gR2 Linux x68 to SPARC Solaris 10?

    Hi friends...
    I have a 30GB database and need to migrate from Linux x86 to Solaris 10 SPARC.
    Solaris 10 SPACR come this monday, then it's clean.
    How i proceed?
    Rod.

    Hi, good article Citrus, also you can read the next documentation for some detail and technical information about Transportable Tablespaces.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1322
    Regards.

  • Upgrade and migration from Netware to Linux best practice

    Hi folks,
    We've been running NSM 2.5 for a few years on Netware and have been very satisfied with the product and performance. We are planning to migrating to SLES11 with OES11 very soon to finally move away from Netware and I have some issues I can't seem to find answers to. Of course I want to use NSM to move my home directories from my Netware to my SLES so I want this working well when we migrate.
    I've searched but not found a good resource to show how to move the NSM engine from a Netware server to a Linux server with best practices. Anyone have experience with this and any gottchas?
    The other question is of course is to upgrade NSM to a new version before or after the move to Linux/OES11? We are at Ver 2.5.0.43 and want to move to the latest version. Upgrade procedure and best practices would be handy.
    The last of course is NSM compatible with SLES/OES11? I presume it is and certainly hope so because we want to move all of our users to SLES11 NSS.

    On 5/9/2012 11:06 AM, jlauzon wrote:
    >
    > Hi folks,
    > We've been running NSM 2.5 for a few years on Netware and have been
    > very satisfied with the product and performance. We are planning to
    > migrating to SLES11 with OES11 very soon to finally move away from
    > Netware and I have some issues I can't seem to find answers to. Of
    > course I want to use NSM to move my home directories from my Netware to
    > my SLES so I want this working well when we migrate.
    > I've searched but not found a good resource to show how to move the NSM
    > engine from a Netware server to a Linux server with best practices.
    > Anyone have experience with this and any gottchas?
    The NSM 3.0.x Engine setup process actually handles the migration from
    NSM 2.5 fairly easily. Our 3.0 Installation Guide (available at
    http://www.novell.com/documentation/storagemanager3 ) includes all the
    information you should need regarding migration, including the
    suggestions I'll list here.
    You'll want to leave NSM 2.5 running during the migration so that the
    NSM 3.0 setup wizard can connect to that Engine and import its policies
    and pending events. You'll also want to have as few pending events as
    possible in NSM 2.5 -- deferred deletes are fine, but all pending events
    will slow down the migration process, since they'll have to be
    transferred over.
    > The other question is of course is to upgrade NSM to a new version
    > before or after the move to Linux/OES11? We are at Ver 2.5.0.43 and want
    > to move to the latest version. Upgrade procedure and best practices
    > would be handy.
    Again, this information is available in the 3.0 Installation Guide. To
    migrate from 2.5 to 3.0.x, you'll have to have at least one OES11 server
    in your tree to install it on; but you'll also have to leave the NSM 2.5
    Engine running on its Netware host long enough to migrate from it.
    > The last of course is NSM compatible with SLES/OES11? I presume it is
    > and certainly hope so because we want to move all of our users to SLES11
    > NSS.
    We are about to release version 3.0.4 of NSM, which provides full
    support for OES11 on SLES11. The NFMS Support Team can also provide you
    with builds of NSM 3.0.3 which support OES11; if you need those for
    early testing, please send an email to storagemanager[at]novell[dot]com.
    Hope this helps!
    - NFMS Support Team

  • Migrating from Netware to Linux - faster "sync" ?

    Hey all,
    Planning on doing a TransferID migration from netware 6.5 to linux this weekend and have done some trial data copies.. Main copy is already done, but the "sync" is still taking a large number of hours that I need to try and fit into a smaller window. Any tips on getting sync to go faster? I'm currently using the miggui but wondering if you do the commands manually, leaving things out like displaying progress bar, etc.. if it'll get to it quicker.

    Originally Posted by joebrug
    Hey all,
    Planning on doing a TransferID migration from netware 6.5 to linux this weekend and have done some trial data copies.. Main copy is already done, but the "sync" is still taking a large number of hours that I need to try and fit into a smaller window. Any tips on getting sync to go faster? I'm currently using the miggui but wondering if you do the commands manually, leaving things out like displaying progress bar, etc.. if it'll get to it quicker.
    So, we have 6-year old HP DL-385 (no G, that's old they are) that are slower than you know what.
    We're migrating to HP DL385 G6 or G7, but we're using VMware ESXi, so the target OES11 server is a Guest VM.
    Both servers are on a gigabit switch.
    We average approx. 15-20 GB/hour (it's not the AMOUNT of data, it's how many small files that affects things).
    We're able to get the sync to fit in a small window (even our large ones, maybe 2-4 hours).
    Is that not fast enough (although you may have LOTS more small files that change daily).
    Basically we cart the server down, run the sync during the day until it finishes. Obviously it skips things that were in use. Then we kick everyone off the server at 3:00 and start the sync.
    Since you're on NetWare to OES, I would NOT recommend rsync. The rsync on NetWare is very touchy/finicky and I don't think you can migrate trustees either.
    From OES2 to OES11, you could use rsync, although I'm having mixed results with the trustees at the moment.
    One thing we DO have is a "static" set of read-only data on the server, that we do NOT migrate over. We have a central office server that contains the "master" data and the clients run rsync to pull the data. So we don't even back it up either (other than the main office).
    I can't remember the EXACT numbers we got when we did NetWare to OES2, but I still think we were averaging somewhere around 12-17GB/hour depending on. The key point was to make sure you were gigabit and didn't have a mis-match because someone in your datacom unit set the **** switch to 100-full or something other than auto-auto.
    Oh, and if you have disk quotas, make sure that you either clear them or keep compression enabled. THAT will slow things down because if it tries to copy something, and there's not enough space, it'll retry like X times and then continue on and you find out like 10 hours later it was slow because you didn't have enough directory quota space.

  • Scripting pl/sql from unix

    I am wondering if there is a way to do this with certain restrictions. If not, I can do it another way.
    1. I have a list of values in a unix .txt file of the form
    VALUEA
    VALUEB
    VALUEC
    I know how to read a list in unix using a loop.
    2. I want to call a pl/sql anonymous block that I have in a .sql file 1 time for every value in this script and pass the value.
    I do know how to read a value and then pass it to a pl/sql parameter and then call the pl/sql parameter.
    What I don't know how to do is
    Do this with only logging into sqlplus one time. I dont want to do the following
    unix runs in a loop
    reads 1 record from file
    logs into sqlplus
    runs the procedure and passes the value
    log out of sqlplus
    end loop
    I want to
    1. read all the values from the file
    2. store it somehow in memory (variable of some sort)
    3. pass this value to the pl/sql procedure
    I do not want to make any objects in the database such as a global temporary table.
    Yes I can actually do this, but wondering if it is possible to avoid. Makes it easier to deploy to alot of different databases. If I have to make a database object, then i have to make an object in alot of databases. If I can run it all from unix, all I have to do is change the target and the password. So it is easier to deploy.

    I don't need to put this in an Oracle Directory. I am not calling anything from pl/sql stored in the database. It is going to all be done with unix scripts and anonymous block sql in .sql statements in the OS. This allows me to take advantage of clustered storage (I can have alot of databases servers mounted on 1 directory). So the unix script will log into oracle and call the .sql script.
    I can build the pl/sql dynamically. I'd rather not do that. The thing is I have alot of databases I want to deploy code to. So I am trying to come up with a pattern I can follow. So if I add a new database or what to deploy somewhere else, I can just use add a line to a file.
    Adding database objects every time I need to deploy to a new database is a pain. It is far more scaleable to handle all of this in unix.
    Edited by: Guess2 on Jan 12, 2010 7:43 AM

  • Printing of PDF files from Unix and Linux

    Hi
    I am looking for a product (free or commercial) that can print PDF files from Unix (HP-UX, AIX) and Linux system. It must have similar features to the Windows Adobe print driver like setting margins, re-sizing, size to fit, etc.
    Thanks
    Gil

    Hi Gil,
    For HPUX and AIX Adobe Reader 7.0.9 is available for download.
    For Linux and Solaris, the latest version available is Adobe Reader 8.1.2.
    You can download the installers from :
    http://www.adobe.com/products/acrobat/readstep2_allversions.html
    Regards,
    Rishi

  • DB migration from AIX to Linux

    Dear Experts,
    We are planning to migrate our existing 10g database of 11.5.10.2 from AIX to Linux. Can anyone share their experiences? Some docs/URLS will be helpful. One of my friends told that it takes more than 36 hours to complete the database migration. Is it really true? The current database size is approx. 100GB.
    After the migration does, apps function as usual?
    Thanks in advance.
    SA

    Hi,
    You can use export/import or transportable tablespaces to migrate the database.
    10gR2 Transportable Tablespaces Certified for EBS 11i
    http://blogs.oracle.com/stevenChan/2010/04/10gr2_xtts_ebs11i.html
    Migrating E-Business Suite Release 11i Databases Between Platforms
    http://blogs.oracle.com/stevenChan/2008/08/migrating_ebusiness_suite_databases_between_platfo.html
    Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
    How long the task would take? Depends on the hardware resources you have. The best practice is to try this on a test instance first.
    The application should work as expected once the task is completed.
    Thanks,
    Hussein

Maybe you are looking for

  • Reporting Services in SCCM Console (Cross Connect)

    Hi, we have a cas - primary site setup and have a reporting point on our cas server. when connecting to the cas server with the sccm console from a client i see all reports and all is fine. when connecting to the primary site server and type in the c

  • MM-SUS Scenario---Error in R/3 IDOC when i change the Quantity in SUS

    Hi All, I have changed the PO quantity in SUS and then send the PO acknlowledgement to MM. I could see the idoc as error with the following message... error message: Acknowledgment for PO item PO number 100 and item 00010 contains quantity variance.

  • "You are not connected to the internet" but I am!

    solved by using the search function.... https://discussions.apple.com/message/15684542#15684542 Sorry for posting too early.

  • Import and Export settings and presets

    Thanks in advance. Where can I save all the different import and export settings? Like if I just want to export Quicktime with audio and save that setting so I don't have to reset it every time. Thanks

  • Applet javascript communication

    hi all, I want my applet to flash the browser window, came to know that can be done using applet javascript communication. ne1 has ne idea how to do that. thx in adv, kiran