Nohup Issue

I have the following script name:
exp_t.sh
To run the script I fired:
$nohup exp_t.sh > exp_t_nohup.out &
The file 'exp_t_nohup.out ' was generated but with 0 bytes i.e. it was empty.
and the command was sucessful as the logfile was generated that I had given in the export command.
Can anyone please correct my statement so that the file 'exp_t_nohup.out ' is also generated?
Also can I use:
$sh exp_t.sh (To run this file)
Thanks.....

Thanks for your reply....
Actually this database is supported by two companies and we have very limited access to this database......
I do export of different schemas...
As this is not a DBA user so I have to do export of all the users one by one in a different export statements....
If I give this command:
$nohup exp_t.sh &
The next time for different schema again, will the old nohup file be over written???
If yes then:
Can I have command that writes the output of a nohup command in a user desired file???????
So that everytime I don't have to take a backup of old nohup file.....
Thanks.......

Similar Messages

  • List of forum editor issues and bugs

    This thread is work in progress. Please report additional bugs and issues you are aware off. I will try to reproduce the issue and add your information to the appropriate columns below. Thanks!
    Note: For accurate results, the width of your web browser window needs to be adjusted to show the following dotted line as a single line. Your screen resolution needs to be at least 1280 pixels wide.
    Issue
    Date
    Summary
    Browser
    Status
    Remark
    1
    08-Jan-2014
    last verified
    24-Aug-2014
    Text copied from discussions, such as code, result in double line spacing when copied to the host system.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    fixed
    fixed
    1.1
    1.2
    2
    08-Jan-2014
    last verified23-Aug-2014
    Cannot append text or code to Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    3
    08-Jan-2014
    last verified23-Aug-2014
    Cannot properly select text or code with Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    fixed
    fixed
    fixed
    3.1
    4
    08-Jan-2014
    last verified23-Aug-2014
    Subsequent edit sessions add empty lines to Syntax Highlighting code.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    5
    08-Jan-2014
    last verified23-Aug-2014
    Copying text under Syntax Highlighting includes line numbers.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    open
    fixed
    fixed
    5.1
    5.2
    6
    08-Jan-2014
    last verified23-Aug-2014
    Cannot copy and paste the whole Syntax Highlighting frame.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    fixed
    improved
    improved
    6.1
    6.3
    6.3
    7
    09-Jan-2014
    last verified23-Aug-2014
    Syntax Highlighting suppresses empty lines and white space when browsing.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    8
    08-Jan-2014
    last verified23-Aug-2014
    Syntax Highlighting overwrites font.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    improved
    improved
    improved
    8.1
    8.1
    8.1
    8.1
    9
    09-Jan-2014
    last verified23-Aug-2014
    Cannot paste any text into the editor window.
    Firefox
    Internet Explorer 11
    Safari
    Chrome
    working
    fixed
    working
    working
    10
    09-Jan-2014
    last verified23-Aug-2014
    Cannot change the font when selecting several lines of text.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    working
    fixed
    improved
    10.1
    10.1
    11
    09-Jan-2014
    last verified23-Aug-2014
    Changing the font gets confused and shows the wrong font.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    working
    open
    open
    11.1
    11.3
    11.3
    12
    09-Jan-2014
    last verified23-Aug-2014
    Pasting a URL captures the text insertion point.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    13
    16-Jan-2014
    last verified23-Aug-2014
    Quoting captures insertion point.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    14
    24-Jan-2014
    last verified23-Aug-2014
    Adding HTML label tag for no apparent reason.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    15
    28-Feb-2014
    last verified23-Aug-2014
    Undo disables functions, such as Quote and Syntax Highlighting and results in complete loss of text when attempting to post.
    Firefox
    Internet Explorer
    Safari
    Chrome
    Improved
    working
    working
    working
    15.1
    16
    28-Feb-2014
    last verified23-Aug-2014
    Syntax Highlighting shows several <span> when browsing.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    17
    23-Jun-2014
    last verified23-Aug-2014
    When specifying a table width, typed numbers are falling through and land the table as text.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    18
    23-Aug-2014
    Quoting of content with Syntax Highlighting looks fine when editing, but when posting, quoting around SH is removed.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    19
    22-Aug-2014
    Text like "Patch 11.2.0.3" are converted to non-functional hyperlinks when posting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    20
    20-Jul-2014
    last verified23-Aug-2014
    The editor toolbar disappears behind the forum banner when scrolling to the next page.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    21
    17-Nov-2014
    Insertion point displayed in text under Syntax Highlighting is not showing the real position.
    Firefox
    open
    22
    23-Aug-2014
    Hover-up and pop-up menus are in the way then typing text in tables and code under Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    23
    23-Aug-2014
    Copying text from the first post of a thread includes a grey background.
    Firefox
    Internet Explorer
    Safari
    Chrome
    working
    working
    open
    open
    24
    24-Aug-2014
    Copy and paste does not retain the size of a picture and resizing produces bad quality images. Resizing also no longer shows picture dimensions. Copying images between documents does not copy size settings.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    25
    17-Nov-2014
    Copying and pasting of text determine the source format and creates unwanted or useless tables, affecting also Syntax Highlighting.
    Firefox
    open
    26
    17-Nov-2014
    Adding additional rows to tables do not inherit the previous cell formats, such as vertical and horizontal center line.
    Firefox
    working
    27
    02-Dec-2014
    The Jive spell-checker is difficult to use. Pointing and clicking of marked text has to be very precise in order to function, or the spell-checker deactivates itself.
    Firefox
    open
    Ref. No.
    Remarks
    1.1
    Pasting of regular text results in double-line spacing. Pasting of code with Syntax Highlighting does not produce double-line spacing, but includes line numbers when pasting in a rich text editor window, or results in indented lines when pasting to the command prompt or plain text window.
    1.2
    Pasting of code with Syntax Highlighting includes line numbers when pasting into notepad or to the command prompt. Copying of normal text does not wrap and appears a single line when pasting into notepad.
    3.1
    Selecting of code and copying works, but selected text looks like a tape and is not visible.
    5.1
    Copy works find and does not include line numbers, but the text is indented.
    When pasting text into a rich text enabled editor window, it includes line numbers.
    5.2
    Code in syntax highlighting does not copy blank lines, but copies line numbers.
    6.1
    Only parts of a code segment can be copied, but not the complete code segment. Copy and paste always copies an additional line that was actually not selected.
    6.3
    Copy and paste only copies the code but not syntax highlighting, which can however be can be re-applied.
    8.1
    Applying syntax highlighting now applies a font that is suitable for displaying code.
    However, it is not possible to change the font, if necessary, or apply color or bold or highlighting. Color can be applied, which looks like double-vision, but anyway is removed when posting.
    10.1
    Not working reliably. Sometimes the last line selected is not changed, or only the first line changes.
    11.1
    Sometimes fonts are not displayed properly, for instance, the text insertion point may show Arial, but the text is Courier. There is no clear pattern when this happens or what triggers the problem.
    11.3
    The text insertion point or selected text always reports the font name "font family", regardless of the font applied.
    15.1
    Ctrl-z aborting editor functions under Firefox on Mac OS X. However, Cmd-z, which is standard, works properly. This problem does not affect Safari.
    Issue
    Steps to reproduce
    Workaround
    1
    Copy a couple or more lines of text from a discussion window and paste it into any application or document on your host system. For instance:
    The following may produce double line spacing:
    If there are two or more ways to do something, and one of those
    ways can result in a catastrophe, then someone will do it.
    The following should work correctly:
    If there is a possibility of several things going wrong, the one that will
    cause the most damage will be the first one to go wrong
    Use Shift-Return instead of Return to terminate the end of lines when creating text.
    Use a different browser to perform cut and paste operations, such as Apple Safari or Google Chrome.
    2
    Paste some text code into the forum editor window. Select the code and choose Syntax Highlighting:Plain from the editor toolbar (>>). Close and re-edit the thread. It is not possible to place the insertion point below the block of code in order to add any additional lines of code or to add any normal text. For instance:
    mknod compress_pipe p
    mknod export_pipe p
    chmod +rw export_pipe compress_pipe
    nohup split -b 8192m < export_pipe &
    nohup gzip < compress_pipe > export_pipe &
    exp system/passwd full=y direct=y consistent=y compress=n \
    buffer=10485760 file=compress_pipe
    It is possible to insert additional code or text below Syntax Highlighting, provided the frame it is not the end, as shown in issue 7.
    Add any line of text at the end of your code before applying Syntax Highlighting to the lines above.
    Adding code within the frame of Syntax Highlighting works in Safari and Google Chrome.
    3
    Re-edit a post with Syntax Highlighting. It is not possible to properly select any lines of code. An additional empty code line is added and the focus is shifted. The selection mask does not match the actual text. It is pretty much impossible to re-edit Syntax Highlighting.
    Screenshot: http://img24.imageshack.us/img24/6121/viun.jpg
    Use Safari or Google Chrome when to re-edit text or code under Syntax Highlighting.
    4
    Every subsequent edit of a post with Syntax Highlighting adds an empty blank line to the code block with an incremented line number. The resulting empty lines (07, 08) shown in the screenshot cannot be selected or removed unless there is text below the code frame as shown in issue 7. Screenshot: http://img809.imageshack.us/img809/5514/cxkd.jpg
    Removing of empty lines woks in Safari and Google Chrome.
    5
    When browsing code with Syntax Highlighting, it is not possible to select the code without the line numbers. Screenshot: http://img835.imageshack.us/img835/6626/j7n7.jpg
    Select and copy each line separately. Or use Firefox or Google Chrome, but note issue in Remark 5.
    6
    When editing, it is possible to copy and paste lines under Syntax Highlighting when selecting the lines, but not when selecting the complete Syntax Highlighting frame.
    Carefully select text without the Syntax Highlighting frame boundaries.
    7
    Empty lines and white space (identation) in Syntax Highlighting are suppressed when browsing, although they exist in the actual post. For instance:
    mknod compress_pipe p
       mknod export_pipe p
    Screenshot when editing the above code:
    http://img401.imageshack.us/img401/673/kmy4.jpg
    8
    Syntax Highlighting changes the font to Arial and it is not possible to apply something more suitable for the displaying of code, such as fixed-width Courier New.
    mknod compress_pipe p
    Arial: 1l0OI
    Courier New: 1l0OI
    Arial: 1l0OI
    Courier New: 1l0OI
    9
    It is not possible to paste any text into the editor window.
    Use a different web browser or downgrade to IE 10.
    Or enable F12 Developer Tools from the Tools menu. Press Ctrl-8
    Change the default document mode from Edge to IE 10. Select Leave this page.
    10
    Create a new thread and type several lines of text. Then select select several lines of text and choose a font, e.g. Courier New. Not all selected lines are changed and only a couple of lines remain highlighted. For instance:
    It is difficult to prove the existence of aliens.
    Photos exist with aliens, but they could be fake.
    On the other hand, photos without aliens could be fake too.
    11
    Select a line of text and change the font to Courier New. Then select the line again and it will show Arial. Change the font to Courier New and the text will change back to Arial.
    12
    Copy a URL and paste it into the editor window. The URL will be shown as a hyperlink using blue text. It is not possible to continue with normal writing without changing the text of the link. The text insertion point is captured inside the text of the link when trying to click below the link.
    After pasting the URL, use the arrow key or mouse to move the cursor to the end of the link, then press RETURN and start writing normally. You can than move the cursor to the beginning of the line and use BACKSPACE to move the text up, after the link.
    13
    When replying to a thread and pressing the Quote Previous Message button and then clicking inside the quoted text, for instance, to remove some of the content, it is sometimes no longer possible to move the text insertion point outside of the quoted text back to the normal editing area.
    When this happens it helps to switch to HTML and then switch back to the Full Editor.
    14
    While writing normal text in the editor, it sometimes becomes impossible to edit a line of text. When clicking on any text to move the text insertion point, it selects the complete paragraph instead. http://imagizer.imageshack.us/v2/800x600q90/585/d0v5.jpg. When pressing the "Post Message" button, a dialog appears to "Stay" or "Leave" the page.
    Apparently the editor adds HTML label tags for no apparent reason, which can be seen when switching the editor to HTML mode. http://imagizer.imageshack.us/v2/800x600q90/199/1r5a.jpg
    15
    Copy some text into the editor window. Select the text and choose Syntax Highlighting form the >> insert toolbar. Undo using Ctrl-z. It is no longer possible to use any of the >> insert functions. After that it is also not possible to post the message, resulting in an unexpected error and the content is lost.
    16
    Syntax Highlighting shows several <span> at the beginning and end of the Syntax Highlighting block after posting. This affects old and new posts.
    17
    When changing the width of a table column, entering the 2nd number gets punched into the cell content instead.
    After entering the first number, click in the entry field again to enter the 2nd number.
    18
    19
    Automatic insertion of links to support.oracle.com contains more info, including responses from Oracle staff.
    20
    Change the width of browser window until the editor toolbar appears. It will then stay on top when scrolling through pages.
    21
    Select Syntax Highlighting, Plain from the >> insert menu, then copy and past several lines of text (code) into it. Or, copy and paste the text, then mark the text with the mouse and select SH from the insert menu. Many times, the insertion point is not reflecting it's actual position when you click inside the text. Very often it is also not possible to position the insertion point to the end or beginning of a line using the left and right arrow keys; the insertion point jumps to the next line, even though the end of the line has not been reached.
    For instance:
    The text insertion point [|] is showing up between the words "point" and "is", but when pressing the delete key or entering text, it affects a different area.
    22
    The following is a picture with text and Syntax Highlighting.
    In tables, pressing the delete key will remove or rearrange the hover-up window.
    23
    The original or initial post of a thread is shown with a grey background when browsing. Depending on the web browser application, this background is also copied when doing a copy and paste of the text, provided the target window supports rich text editing.
    Change the target editor window to plain text.
    24
    After resizing a pasted image to the same size than the original, the quality is much worse. The following shows a screenshot of the original and copied image:
    When resizing a picture by moving the image end-points, the editor does no longer show the current picture dimensions (pixel x pixel) as it did in Jive 5. Also when copying a picture between documents, the picture is enlarged and requires resizing.
    25
    Copy and paste content from /etc/oratab, for example:
    The same also happens when pasting the text into a Syntax Highlighting field.
    It is often necessary to use undo (ctrl-z, cmd-z) to get rid of the mess.
    26
    Please see below screenshot:
    27
    Message was edited by: Dude!

    moniquevdb_oracle wrote:
    Holy.... wow, this is helpful, thank you so much for kicking this off, Dude!
    BluShadow I know you are in favor of reenabling code formatting and ditching the Syntax Highlighter altogether. I've also heard that users would prefer the advanced editor to open by default. Anything else on the wishlist?
    correction, I would certainly be in favour (favor to you ) of reenabling code tags, mainly because I work quicker by copy/paste and by keyboard than by having to click through a load of buttons (that currently don't do what they should).  I've not said that syntax highlighting should be ditched altogether, and I'd certainly be in favour of it being there, just so long as it provided a decent formatting that was appropriate, so code actually looked like code, and the ability for people to copy/paste the code out of the forum to their own environment wasn't corrupted with double line spacing (as dude has already mentioned) and the addition of the line numbers it puts in (the line numbers are useful for reference on the forum, e.g. when we want to say "you're problem is on line X", but not good when you copy/paste code out to your environment and have to spend ages deleting them all to get the code to do anything).  If it's too difficult, then removing the line numbers from the code formatting would be preferable to having them there and not being able to copy the code out without them.
    I agree with dude that it would be good to be able to highlight portions of code with bold or colours, which the old forum didn't allow, but this one does, so it's really a combination of old and new that's needed.  And as dude highlights, the supressing of blank lines is a pain as it can make the posting of multiple code commands become all compressed and difficult to read, and is not representative of what we have in our interfaces such as SQL*Plus etc.
    Basic example:
    Copy paste from my SQL*Plus window into the forum (and me applying courier new and quoting it)...
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    14 rows selected.
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL>
    but in my SQL*Plus window it looks like.
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    14 rows selected.
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL>
    Obviously that's a basic example; in reality we can be providing a solution to someone, explaining multiple steps and commands to demonstrate their issue and the solution, and having to go back through the code once we've pasted it adding back in all the line spacings, is a real pain and time consuming.
    Certainly, having the advanced editor options available immediately for replying would be better than having to switch to it manually, especially as most people using these forums are going to want to paste code in (what with it being a technical forum and not really a social forum), and the basic editor just doesn't allow for any suitable code formatting (unless the person is mad enough to switch to HTML mode).

  • Patching Grid Control OMS and Agent to 10.2.0.5 issue

    Oracle 11gR1 RHEL5 - Grid Control 10.2.0.5
    Hi All,
    I have been stuck on this issue for over a month (was relying on Oracle supports help and they just would not reply) and I can't figure it out. Basically, what happened is that my 10.2.0.5 patch set failed partiallty when I was applying it to the OMS. Here is what is going on right now:
    Database Repository (EMREP) - 11gR1 (11.1.0.6) - /opt/app/oracle/product/11.1.0/db_1
    OMS - 10.2.0.5 - /opt/app/oracle/product/10.2.0/grid_1/oms10g
    Agent - 10.2.0.5 - /opt/app/oracle/product/10.2.0/grid_1/agent10g
    When I was almost done with the 10.2.0.5 patch on the OMS, OUI gave me the following error:
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration
    assistants at this time. Not successfully running any "Recommended" assistants
    means your system will not be correctly configured.
    *1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the*
    failures.
    *2. Fix the errors causing these failures.*
    *3. Select the failed assistants and click the 'Retry' button to retry them*
    When I checked the logs I found the following messages (Here is a part of it...I think before it started to fail):
    Finished deleting the above files...
    INFO: Configuration assistant "OMS Oneoff Patch Application" succeeded
    INFO: Command = oracle.sysman.emcp.oms.RepositoryPatchUpgrade -verbose
    Repository Upgrade is failed with errors. Restore the database, rectify the errors and retry the install.
    For more details :
    -For configuration issues, look at the log files present in following location:
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/cfgfw
    -For repository failures, look at the log files
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.
    2.0.5.0
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.errors
    -If not able to identify the repository issues, contact ORACLE Support.
    -After the Repository issues are rectified and upgraded successfully, execute the below runConfig command to run remaining config tools.
    Goto /opt/app/oracle/product/10.2.0/grid_1/oms10g/oui/bin directory and run below command.
    For UNIX :
    ./runConfig.sh ORACLE_HOME=/opt/app/oracle/product/10.2.0/grid_1/oms10g ACTION=patchsetConfigure MODE=perform COMPONENT_XML=oracle.sysman.top.oms.10_2_0_5_0.xml
    For Windows :
    runConfig.bat ORACLE_HOME=/opt/app/oracle/product/10.2.0/grid_1/oms10g ACTION=patchsetConfigure MODE=perform COMPONENT_XML=oracle.sysman.top.oms.10_2_0_5_0.xml
    Command = oracle.sysman.emcp.oms.RepositoryPatchUpgrade has failed
    Exception : java.lang.Exception: Command: /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rhel-grid)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep))) -action upgrade -no_transx -no_verify -verbose -repos_user sysman -output_file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0 failed. Exit code: expected [0 ], but got 45
    INFO: Configuration assistant "Repository Upgrade" failed
    *** Starting OUICA ***
    Oracle Home set to /opt/app/oracle/product/10.2.0/grid_1/oms10g
    Configuration directory is set to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs. All xml files under the directory will be processed
    Parsing configuration file config.xml ....
    Ended Parsing configuration file config.xml
    Start Processing configuration tool Oracle Internet Directory Patch Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/patchca.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Buffer size for copying file is set to 2048
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/patchca.log
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/patchca.log from the file path expanding...
    WARN: Source file /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/patchca.log could not be found. Nothing will be copied for this file
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool Oracle Internet Directory Patch Configuration Assistant
    Start Processing configuration tool Directory Integration Platform Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/oidca.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/oidca.log
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/oidca.log from the file path expanding...
    WARN: Source file /opt/app/oracle/product/10.2.0/grid_1/oms10g/ldap/log/oidca.log could not be found. Nothing will be copied for this file
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool Directory Integration Platform Configuration Assistant
    Start Processing configuration tool OC4J Instance Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/* to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/*
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/home_default_island_1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/operations from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/log.xml from the file path expanding...
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/j2ee/home/log/log.xml to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/log.xml
    Number of file(s) copied is 1
    Number of directories copied is 0
    End Processing configuration tool OC4J Instance Configuration Assistant
    Start Processing configuration tool OPMN Configuration Assistant - start HTTP server....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/* to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/*
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/WebCache~WebCacheAdmin~1 from the file path expanding...
    Number of directories copied is 0
    End Processing configuration tool OPMN Configuration Assistant - start OCA Instance
    Start Processing configuration tool Wireless Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out from the file path expanding...
    WARN: Source file /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out could not be found. Nothing will be copied for this file
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool Wireless Configuration Assistant
    Start Processing configuration tool Wireless Metadata Repository Update....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out from the file path expanding...
    WARN: Source file /opt/app/oracle/product/10.2.0/grid_1/oms10g/wireless/logs/upgrade_CA.out could not be found. Nothing will be copied for this file
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool Wireless Metadata Repository Update
    Start Processing configuration tool Portal Metadata Repository Update....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/portal/upg/plsql/upgrade.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/portal/upg/plsql/upgrade.log
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/portal/upg/plsql/upgrade.log from the file path expanding...
    WARN: Source file /opt/app/oracle/product/10.2.0/grid_1/oms10g/portal/upg/plsql/upgrade.log could not be found. Nothing will be copied for this file
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool Portal Metadata Repository Update
    Start Processing configuration tool OPMN Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/* to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/*
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/WebCache~WebCacheAdmin~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~OC4J_EM~default_island~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/dcm-daemon~dcm-daemon~dcm~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/ons.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/WebCache~WebCache~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~OC4J_EMPROV~default_island~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/states from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~home~default_island~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/opmn.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/HTTP_Server~1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/ipm.log from the file path expanding...
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/WebCache~WebCacheAdmin~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/WebCache~WebCacheAdmin~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~OC4J_EM~default_island~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/OC4J~OC4J_EM~default_island~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/dcm-daemon~dcm-daemon~dcm~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/dcm-daemon~dcm-daemon~dcm~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/ons.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/ons.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/WebCache~WebCache~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/WebCache~WebCache~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~OC4J_EMPROV~default_island~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/OC4J~OC4J_EMPROV~default_island~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/OC4J~home~default_island~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/OC4J~home~default_island~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/opmn.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/opmn.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/HTTP_Server~1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/HTTP_Server~1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/opmn/logs/ipm.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/ipm.log
    Number of file(s) copied is 10
    Number of directories copied is 0
    End Processing configuration tool OPMN Configuration Assistant
    Start Processing configuration tool Application Server Control Configuration Assistant....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/* to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/*
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.10 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emdctl.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagentfetchlet.trc from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.4 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.7 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/nfsPatchPlug.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em-application.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.9 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.8 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emdctl.trc from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emctl.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/server.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/secure.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.6 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em.nohup from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.errors from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em-web-access.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/pafLogs from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emias.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.5 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0.errors from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.3 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagent.trc from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/rmi.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagent.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.2 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emca_repos_out_of_box12_56_33.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagentfetchlet.log from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.log.1 from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.transx from the file path expanding...
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.10 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.10
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emdctl.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emdctl.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emrepmgr.log.10.2.0.4.0
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagentfetchlet.trc to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emagentfetchlet.trc
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.4 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.4
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.7 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.7
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/nfsPatchPlug.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/nfsPatchPlug.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em-application.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/em-application.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.9 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.9
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.8 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.8
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emrepmgr.log.10.2.0.5.0
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emdctl.trc to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emdctl.trc
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emctl.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emctl.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/server.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/server.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/secure.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/secure.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.6 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.6
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em.nohup to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/em.nohup
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.errors to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emrepmgr.log.10.2.0.5.0.errors
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/em-web-access.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/em-web-access.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emias.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emias.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.5 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.5
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0.errors to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emrepmgr.log.10.2.0.4.0.errors
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.3 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.3
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagent.trc to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emagent.trc
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/rmi.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/rmi.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagent.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emagent.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.trc.2 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.trc.2
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emca_repos_out_of_box12_56_33.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emca_repos_out_of_box12_56_33.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emagentfetchlet.log to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emagentfetchlet.log
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emoms.log.1 to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emoms.log.1
    Completed copying file /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.transx to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/emrepmgr.log.10.2.0.5.0.transx
    Number of file(s) copied is 34
    Number of directories copied is 0
    End Processing configuration tool Application Server Control Configuration Assistant
    Start Processing configuration tool DCM Repository Update Assistant ....
    Preparing for copying /opt/app/oracle/product/10.2.0/grid_1/oms10g/dcm/logs/* to /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs
    Expanding source path /opt/app/oracle/product/10.2.0/grid_1/oms10g/dcm/logs/*
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/dcm/logs/dcmctl_logs from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/dcm/logs/emd_logs from the file path expanding...
    Adding the file /opt/app/oracle/product/10.2.0/grid_1/oms10g/dcm/logs/daemon_logs from the file path expanding...
    Number of file(s) copied is 0
    Number of directories copied is 0
    End Processing configuration tool DCM Repository Update Assistant
    INFO: The "/opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    INFO: Since the option is to overwrite the existing /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/configToolFailedCommands file, backing it up
    INFO: The backed up file name is /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/configToolFailedCommands.bak.1
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    INFO: User Selected: Yes/OK
    INFO: Starting to execute configuration assistants
    INFO: Command = oracle.sysman.emcp.oms.RepositoryPatchUpgrade -verbose
    Repository Upgrade is failed with errors. Restore the database, rectify the errors and retry the install.
    For more details :
    -For configuration issues, look at the log files present in following location:
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/cfgtoollogs/cfgfw
    -For repository failures, look at the log files
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0
    /opt/app/oracle/product/10.2.0/grid_1/oms10g/sysman/log/emrepmgr.log.10.2.0.5.0.errors
    -If not able to identify the repository issues, contact ORACLE Support.
    -After the Repository issues are rectified and upgraded successfully, execute the below runConfig command to run remaining config tools.
    Goto /opt/app/oracle/product/10.2.0/grid_1/oms10g/oui/bin directory and run below command.
    For UNIX :
    ./runConfig.sh ORACLE_HOME=/opt/app/oracle/product/10.2.0/grid_1/oms10g ACTION=patchsetConfigure MODE=perform COMPONENT_XML=oracle.sysman.top.oms.10_2_0_5_0.xml
    For Windows :
    runConfig.bat ORACLE_HOME=/opt/app/oracle/product/10.2.0/grid_1/oms10g ACTION=patchsetConfigure MODE=perform COMPONENT_XML=oracle.sysman.top.oms.10_2_0_5_0.xml
    Command = oracle.sysman.emcp.oms.RepositoryPatchUpgrade has failed
    Exception : java.lang.Exception:
    REPOSITORY UPGRADE STATUS : 3
    INFO: Configuration assistant "Repository Upgrade" failed
    I would appreciate any help on this as I have been stuck on it since April :( Not too happy with Oracle Support.
    Thanks much to all!
    JrOraDBA

    Here is the output for when I applied the patch:
    opatch apply
    Invoking OPatch 10.2.0.3.0
    Oracle interim Patch Installer version 10.2.0.3.0
    Copyright (c) 2005, Oracle Corporation.  All rights reserved..
    Oracle Home       : /opt/app/oracle/product/10.2.0/grid_1/db10g
    Central Inventory : /opt/app/oracle/oraInventory
    from           : /etc/oraInst.loc
    OPatch version    : 10.2.0.3.0
    OUI version       : 10.2.0.3.0
    OUI location      : /opt/app/oracle/product/10.2.0/grid_1/db10g/oui
    Log file location : /opt/app/oracle/product/10.2.0/grid_1/db10g/cfgtoollogs/opatch/opatch2009-04-22_12-07-14PM.log
    ApplySession applying interim patch '4329444' to OH '/opt/app/oracle/product/10.2.0/grid_1/db10g'
    Invoking fuser to check for active processes.
    Invoking fuser on "/opt/app/oracle/product/10.2.0/grid_1/db10g/bin/oracle"
    OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
    Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
    *(Oracle Home = '/opt/app/oracle/product/10.2.0/grid_1/db10g')*
    Is the local system ready for patching?
    *Do you want to proceed? y*
    y
    User Responded with: Y
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '4329444' for restore. This might take a while...
    Backing up files affected by the patch '4329444' for rollback. This might take a while...
    Patching component oracle.rdbms, 10.1.0.4.0...
    Updating archive file "/opt/app/oracle/product/10.2.0/grid_1/db10g/lib/libserver10.a"  with "lib/libserver10.a/qerix.o"
    ApplySession adding interim patch '4329444' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 4329444 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 4329444 are present in Oracle Home.
    Running make for target ioracle
    The local system has been patched and can be restarted.
    OPatch succeeded.
    However, the weird thing is that I don't see it in the lsinventory:
    */opt/app/oracle/product/10.2.0/grid_1/db10g/OPatch/opatch lsinventory*
    Invoking OPatch 10.2.0.3.0
    Oracle interim Patch Installer version 10.2.0.3.0
    Copyright (c) 2005, Oracle Corporation.  All rights reserved..
    Oracle Home       : /opt/app/oracle/product/10.2.0/grid_1/db10g
    Central Inventory : /opt/app/oracle/oraInventory
    from           : /etc/oraInst.loc
    OPatch version    : 10.2.0.3.0
    OUI version       : 10.2.0.3.0
    OUI location      : /opt/app/oracle/product/10.2.0/grid_1/db10g/oui
    Log file location : /opt/app/oracle/product/10.2.0/grid_1/db10g/cfgtoollogs/opatch/opatch2009-06-09_09-37-54AM.log
    Lsinventory Output file location : /opt/app/oracle/product/10.2.0/grid_1/db10g/cfgtoollogs/opatch/lsinv/lsinventory2009-06-09_09-37-54AM.txt
    Installed Top-level Products (2):
    Oracle Database 10g Patch Set 3                                      10.1.0.5.0
    Oracle Enterprise Manager Repository Database                        10.2.0.3.0
    There are 2 products installed in this Oracle Home.
    Interim patches (1) :
    Patch  5632264      : applied on Thu Apr 23 12:23:10 CDT 2009
    Created on 8 Feb 2007, 00:38:09 hrs PST8PDT
    Bugs fixed:
    *5632264*
    OPatch succeeded.
    Do you think I should restore the backup (and I only have the database backup, not the Oracle Home backup)?
    THanks.

  • WLS 8.1 issue with .ear deployment ....

    I think the weblogic8.1 seems to have some NEW bug now. We have a .ear file that
    works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear file our
    WLS8.1 server(via the new look and feel of WLS8.1' console)....we are getting
    the Exception like ...."pl read inline below":
    ...All i know is that WLS 8.1 has introduced something like : "single J2EEC -
    EAR compiler, replacing the separate compilers in previous releases" ........is
    it may be because of this ????
    If somebody has any idea ....please let me know asap ...and just above the EXCEPTION
    we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
    is malformed" ....what is going wrong now ?
    Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
    Read inline for the Exception:
    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
    DTD: Element type "info" must be declared. (line 334, column 9).>
    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
    DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
    (line 335, column 8).>
    MessageResourcesFactory.createFactory
    java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)
    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
    service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
    java.lang.NullPointerException
    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    >
    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "service"
    failed to preload on startup in Web application: "ABL".
    javax.servlet.UnavailableException: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    thx, sangita

    Rob,
    These are the 3 files that you need:
    1) wlstart_cap (this is the start up script that we use to start the Managed server
    while on WLS6.1) ....please read inline:
    -----------Inline 1-----------------
    #!/bin/ksh
    # BEA WebLogic Start Script - Version 1.1
    # Add support for STARTMODE MKG 03/08/2002
    # Set user specified variables
    JAVA_HOME=/usr/j2sdk1_3_1_01
    JAVA_OPTIONS="-D$1 -ms128m -mx128m -noclassgc"
    BEA_HOME=/opt/bea
    WL_HOME=$BEA_HOME/wlserver6.1
    WL_SCRIPT=$WL_HOME/config/Subsidiary
    export WL_SCRIPT
    EXPORT_LIB=$WL_HOME/lib
    #### Set locale to US English MKG 2003/01/16
    LC_MESSAGES=C
    LC_TIME=en_US.ISO8859-1
    LC_NUMERIC=en_US.ISO8859-1
    LC_MONETARY=en_US.ISO8859-1
    LC_COLLATE=en_US.ISO8859-1
    LC_CTYPE=en_US.ISO8859-1
    export LC_MESSAGES LC_TIME LC_NUMERIC LC_MONETARY LC_COLLATE LC_CTYPE
    #### End locale settings
    #### UPSCAP-clientmanger App settings --- Begin
    # workaround for strange bug in code that requires an x-server
    # to be present when graph code is initialized.
    # Note that this is my sun workstation. MKG 05/16/2002
    DISPLAY=bluewolf.telecom.ups.com:0.0
    export DISPLAY
    #### UPSCAP-clientmanger App settings --- End
    #### EUP App settings --- Begin
    VANAPI_HOME=/opt/vanapi
    VANPATH=$VANPATH:$VANAPI_HOME/vanapi/share
    LD_LIBRARY_PATH=$VANAPI_HOME/vanapi:$VANAPI_HOME/vanapi/vanjavi:$LD_LIBRARY_PATH
    PATH=$VANAPI_HOME/perl_dir/bin:$PATH
    EUP_CLASSPATH=$WL_HOME/config/Subsidiary/serverclasses
    export VANPATH LD_LIBRARY_PATH VANAPI_HOME PATH EUP_CLASSPATH
    #### EUP App settings --- End
    CLASSPATH=$WL_HOME/lib/CR061106_61sp2.jar:$WL_HOME/lib/CR072612_61sp2.jar:$WL_HOME/lib/CR071109_610sp2.jar:$WL_
    HOME/lib/CR058352_61sp2.jar:$WL_HOME/lib/weblogic.jar:$BEA_HOME:$EUP_CLASSPATH
    if [ -n "$LD_LIBRARY_PATH" ]; then
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/solaris:
    else
    LD_LIBRARY_PATH=$WL_HOME/lib/solaris:
    fi
    export LD_LIBRARY_PATH
    ADMIN_URL=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerURL|awk '{print  $2}')
    ADMIN_SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerName|awk '{print
    $2}')
    DOMAIN_NAME=$(cat $WL_SCRIPT/config.weblogic|grep Domain|awk '{print  $2}')
    PATH=$WL_HOME/bin:$JAVA_HOME/bin:$PATH
    export PATH
    WLS_PW=$(cat $WL_SCRIPT/bea.check | awk '{print $1}')
    export $WLS_PW
    #################################export LOG_HOME=/export/bea/netsite/ext-admin/logs/bea
    export LOG_HOME=/export/bea/logs
    # echo all of the variable settings
    #echo
    #echo "BEA_HOME=$BEA_HOME"
    #echo "WL_HOME=$WL_HOME"
    echo "EXPORT_HOME=$EXPORT_HOME"
    echo "CLASSPATH=$CLASSPATH"
    #echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
    #echo "PATH=$PATH"
    #echo "JAVA_OPTIONS=$JAVA_OPTIONS"
    #echo "DOMAIN_NAME=$DOMAIN_NAME"
    #echo "ADMIN_URL=$ADMIN_URL"
    #echo "ADMIN_SERVER_NAME=$ADMIN_SERVER_NAME"
    #java -fullversion
    #echo
    #echo
    # Grab some file descriptors.
    maxfiles='ulimit -H -n'
    if [ ! $? -a "$maxfiles" != 1024 ]; then
    if [ "$maxfiles" = "unlimited" ]; then
    maxfiles=1025
    fi
    if [ "$maxfiles" -lt 1024 ]; then
    ulimit -n $maxfiles
    else
    ulimit -n 1024
    fi
    fi
    # Set Production Mode. When set to true, the server starts up
    # in production mode. When set to false, the server starts up
    # in development mode. The default is false.
    STARTMODE=true
    if [[ -n $1 ]]; then
    if [[ $1 = "admin" ]]; then
    echo "Starting admin server...."
    ###### echo "See /export/netsite/ext-admin/logs/bea/admin.start for more info"
    # Change to the WebLogic directory
    cd $WL_HOME
    echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
    -Dweblogic.Name=$ADM
    IN_SERVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
    -Dweblogic.Production
    ModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
    -Dweblogic.ma
    nagement.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
    nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
    -Dweblogic.Name=$ADMIN_SE
    RVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
    -Dweblogic.ProductionModeE
    nabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
    -Dweblogic.managem
    ent.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
    $LOG_HOME/admin.start 2>&1&
    echo
    shift
    # Change back to the domain directory
    cd config/$DOMAIN_NAME
    echo $! > admin.pid
    else
    while [[ $# -gt 0 ]];do
    SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep $1|awk '{print $2}')
    if [[ $SERVER_NAME = "" ]]; then
    echo "ERROR: unable to locate an entry for "$1" in config file"
    shift
    else
    echo "Starting server: "$SERVER_NAME
    ######### echo "See /export/netsite/ext-admin/logs/bea/$SERVER_NAME.start
    for more info"
    # Change to the WebLogic directory
    cd $WL_HOME
    echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
    -Dweblogic.Nam
    e=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
    -Dw
    eblogic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW
    weblogic.Server
    nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
    -Dweblogic.Name=$SE
    RVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
    -Dweblog
    ic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW weblogic.Server
    $LOG_HOME/$SERVER_NAME.start 2>&1 &
    shift
    # Change back to the domain directory
    cd config/$DOMAIN_NAME
    echo $! > $SERVER_NAME".pid"
    fi
    done
    fi
    else
    echo ""
    echo ""
    echo "FATAL ERROR: You must specify the server to start. Either 'admin' or
    the server token"
    echo ""
    fi
    -----------Inline 1 ends-----------------
    2) startManagedWebLogic.sh(this is the Managed server start up script at wls8.1)
    ---------Inline 2 starts---------
    #!/bin/sh
    # This script is used to start a managed WebLogic Server for the domain in the
    # current working directory. This script reads in the SERVER_NAME and
    # ADMIN_URL as positional parameters, sets the SERVER_NAME variable, then
    # starts the server.
    # Other variables that startWLS takes are:
    # WLS_USER - cleartext user for server startup
    # WLS_PW - cleartext password for server startup
    # PRODUCTION_MODE - Set to true for production mode servers, false for
    # development mode
    # JAVA_OPTIONS - Java command-line options for running the server. (These
    # will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    # JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
    # -hotspot, etc.)
    # MEM_ARGS - The variable to override the standard memory arguments
    # passed to java
    # For additional information, refer to the WebLogic Server Administration Guide
    # (http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html).
    #Set the New Java Path
    PATH=/opt/bea/jdk141_02/bin:$PATH
    # set up WL_HOME, the root directory of your WebLogic installation
    WL_HOME="/opt/bea/weblogic81"
    # set up common environment
    # Set Production Mode. When this is set to true, the server starts up in
    # production mode. When set to false, the server starts up in development
    # mode. If it is not set, it will default to false.
    PRODUCTION_MODE="true"
    # Set JAVA_VENDOR to java virtual machine you want to run on server side.
    JAVA_VENDOR="Sun"
    # Set JAVA_HOME to java virtual machine you want to run on server side.
    JAVA_HOME="/opt/bea/jdk141_02"
    set USE_CURRENT_JAVA_HOME "$@"
    . "${WL_HOME}/common/bin/commEnv.sh"
    shift 1
    # Set SERVER_NAME to the name of the server you wish to start up.
    ADMIN_URL=http://153.2.255.51:8001
    SERVER_NAME=
    # Set WLS_USER equal to your system username and WLS_PW equal
    # to your system password for no username and password prompt
    # during server startup. Both are required to bypass the startup
    # prompt.
    WLS_USER=
    WLS_PW=
    # Set JAVA_VM to java virtual machine you want to run on server side.
    # JAVA_VM="-server"
    # Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
    # are more than one, include quotes around them. For instance:
    # JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
    usage()
    echo "Need to set SERVER_NAME and ADMIN_URL environment variables or specify"
    echo "them in command line:"
    echo 'Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]'
    echo "for example:"
    echo './startManagedWebLogic.sh managedserver1 http://localhost:7001'
    exit 1
    # Check for variables SERVER_NAME and ADMIN_URL
    # SERVER_NAME and ADMIN_URL must by specified before starting a managed server,
    # detailed information can be found at http://e-docs.bea.com/wls/docs81/adminguide/startstop.html.
    if [ ${#} = 0 ]; then
    if [ "x${SERVER_NAME}" = "x" -o "x${ADMIN_URL}" = "x" ]; then
    usage
    fi
    elif [ ${#} = 1 ]; then
    SERVER_NAME=${1}
    if [ "x${ADMIN_URL}" = "x" ]; then
    usage
    fi
    elif [ ${#} = 2 ]; then
    SERVER_NAME=${1}
    ADMIN_URL=${2}
    else
    usage
    fi
    # Start WebLogic server
    # Reset number of open file descriptors in the current process
    # This function is defined in commEnv.sh
    resetFd
    CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
    export CLASSPATH
    # Start WebLogic server
    echo CLASSPATH="${CLASSPATH}"
    echo
    echo PATH="${PATH}"
    echo
    echo "***************************************************"
    echo "* To start WebLogic Server, use a username and *"
    echo "* password assigned to an admin-level user. For *"
    echo "* server administration, use the WebLogic Server *"
    echo "* console at http://<hostname>:<port>/console *"
    echo "***************************************************"
    "$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} \
    -Dweblogic.Name=${SERVER_NAME} \
    -Dweblogic.management.username=${WLS_USER} \
    -Dweblogic.management.password=${WLS_PW} \
    -Dweblogic.management.server=${ADMIN_URL} \
    -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
    weblogic.Server
    -------Inline 2 ends----------
    3) startWebLogic.sh(this is the Admin start up script at wls8.1)
    ---------Inline 3 starts-------
    #!/bin/sh
    # This script is used to start WebLogic Server for the domain in the current
    # working directory. This script simply sets the SERVER_NAME variable
    # and calls the startWLS.sh script under ${WL_HOME}/server/bin.
    # To create your own start script for your domain, all you need to set is
    # SERVER_NAME, then starts server.
    # Other variables that startWLS takes are:
    # WLS_USER - cleartext user for server startup
    # WLS_PW - cleartext password for server startup
    # PRODUCTION_MODE - Set to true for production mode servers, false for
    # development mode
    # JAVA_OPTIONS - Java command-line options for running the server. (These
    # will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    # JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
    # -hotspot, etc.)
    # MEM_ARGS - The variable to override the standard memory arguments
    # passed to java
    # For additional information, refer to the WebLogic Server Administration
    # Console Online Help(http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html)
    #Set the New Java Path
    PATH=/opt/bea/jdk141_02/bin:$PATH
    # set up WL_HOME, the root directory of your WebLogic installation
    WL_HOME="/opt/bea/weblogic81"
    # set up common environment
    # Set Production Mode. When this is set to true, the server starts up in
    # production mode. When set to false, the server starts up in development
    # mode. If it is not set, it will default to false.
    PRODUCTION_MODE="true"
    # Set JAVA_VENDOR to java virtual machine you want to run on server side.
    JAVA_VENDOR="Sun"
    # Set JAVA_HOME to java virtual machine you want to run on server side.
    JAVA_HOME="/opt/bea/jdk141_02"
    set USE_CURRENT_JAVA_HOME "$@"
    . "${WL_HOME}/common/bin/commEnv.sh"
    shift 1
    # Set SERVER_NAME to the name of the server you wish to start up.
    SERVER_NAME=Admin
    # Set WLS_USER equal to your system username and WLS_PW equal
    # to your system password for no username and password prompt
    # during server startup. Both are required to bypass the startup
    # prompt.
    WLS_USER=
    WLS_PW=
    # Set JAVA_VM to java virtual machine you want to run on server side.
    # JAVA_VM="-server"
    # Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
    # are more than one, include quotes around them. For instance:
    # JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
    # Reset number of open file descriptors in the current process
    # This function is defined in commEnv.sh
    resetFd
    # Start WebLogic server
    CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
    export CLASSPATH
    "$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME}
    -Dweblogic.management.username=${WLS_USER} -Dweblogic.management.password=${WLS_PW}
    -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
    weblogic.Server
    --------Inline 3 ends---------
    I think we are getting closer to a solution !
    thanks rob,
    Rob Woollen <[email protected]> wrote:
    Yes, your $CLASSPATH could be the issue. Can you show me the $CLASSPATH
    used in each version of the server?
    -- Rob
    sangita wrote:
    Thanks Rob, I understood changing the DOCTYPE ...and i will give ita try.
    And iam assuming you might have read my previous response in this chain,Iam using
    WLS6.1 & WLS8.1 BOTH on the same hardware unix server....iam just wonderingif
    there is any CLASSPATH issue that might have been causing this NoClassDefFoundError......?
    just wanted to let you know that iam running WLS6.1 + WLS8.1 on thesame BOX.
    I will try other options that you have suggested ....thanks again !
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Rob,
    Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms
    to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
    definition to the Taglib 1.1 DTD or change the tld file to conformto
    the 1.2 DTD. how do i do either of the 2 options ?To change your taglib to be the 1.1 DTD you just need to change the
    DOCTYPE header to be
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.
    If you post your tld file here, then I can help.
    Iam just guessing here, is it may be due to this DTD/.tld issue thatiam not been
    able to DEPLOY the .ear file(now that wls8.1 checks the validity beforedeloying
    the app)....are the 2 errors that iam getting, in any ways inter-related?
    I'm not sure they're related. It is possible.
    i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
    JUST CURIOUS ???
    WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
    No problem.
    -- Rob
    Regards, sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    1) This is how my .tld looks like:
    <?xml version="1.0" encoding="UTF-8" ?>^M
    <!DOCTYPE taglib^M
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
    Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms
    to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
    definition to the Taglib 1.1 DTD or change the tld file to conformto
    the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file
    against
    the DTD, but it should have, and you'll need to correct your application.
    <taglib>^M
    <tlib-version>1.0</tlib-version>^M
    <jsp-version>1.2</jsp-version>^M
    <short-name>html</short-name>^M
    2) the MANIFEST.MF file is located within the ABL.war.
    3) I will try placing the struts-util.jar in the WEB-INF/lib directoryof the
    ABL.war file. And I will let you if it works or not ?Right. My guess is this is a bug in WLS 8.1. I can see no reasonwhy
    the manifest class-path isn't working for you. That's why I askedif
    you could send the EAR file so I could investigate, but I understand
    that's not always possible.
    I suspect the WEB-INF/lib will work, but it's just a workaround.
    I'm
    not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,
    then you might consider trying that. (java weblogic.version willtell
    you.)
    Otherwise, I think you should open a case with [email protected]
    -- Rob
    thx, sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Rob, here is the information that you need: Please read inline:
    ---------------------------iam doing cut&paste
    <attribute>^M
    <name>styleClass</name>^M
    <required>false</required>^M
    </attribute>^M
    (this is the 334 line)<info>applys the style of
    the
    number text
    if it passes the conditional given</info>^M
    </tag>^M
    </taglib>^MWell, it looks like you have a JSP 1.1 tld, but it's being validated
    against the JSP 1.2 tld. I suspect that you have not declareda
    DOCTYPE
    and 6.1 defaulted to the older JSP spec.
    Anyway, check the first line of your tld file. It should look
    something
    like this:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
         "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    I have an ABL.ear file and this is what it looks like:
    ABL.ear
    META-INF/
    META-INF/MANIFEST.MF
    ABL.jar
    ABL.war
    lib/
    lib/struts-util.jar
    META-INF/application.xml
    and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
    when
    i open
    this file ...this is what it contains:Just to double-check, the MANIFEST.MF file is located within the
    ABL.war, right?
    Manifest-Version: 1.0
    Created-By: Ant 1.4.1
    Class-Path: lib/struts-util.jar
    there is nothing in the CLASSPATH that contains this application'sspecific .jar/.war
    ...or any classes specific to this application ........BOTH IN
    WLS6.1(and
    now
    in WLS8.1)Hmm, I'm not sure yet what the problem is here. Does it work ifyou
    place the struts-util.jar in the WEB-INF/lib directory of the ABL.war
    file? (I suspect it will.)
    This might be a WLS bug. If you can post your ear file here (oremail
    it to me rwoollen at bea dot com), then I can dig into it more.
    -- Rob
    thx, sangita
    Rob Woollen <[email protected]> wrote:
    It looks like there are 2 errors.
    The first error /WEB-INF/ups-html.tld is most likely the result
    of
    WLS
    8.1 doing more validation on your tld file. If you'd show us
    either
    the
    entire ups-html.tld or just the part around line 334, then wecan
    help.
    As for the NoClassDefFoundError, you'll have to provide some
    more
    details about your ear file and environment. Do you have anythingin
    the $CLASSPATH on either the 6.1 or 8.1 environments?
    -- Rob
    Sangita wrote:
    I think the weblogic8.1 seems to have some NEW bug now. We have
    a
    .ear
    file that
    works just PERFECT in WLS6.1. But now when we try to DEPLOY
    this
    .ear
    file our
    WLS8.1 server(via the new look and feel of WLS8.1' console)....we
    are
    getting
    the Exception like ...."pl read inline below":
    ...All i know is that WLS 8.1 has introduced something like
    "single
    J2EEC -
    EAR compiler, replacing the separate compilers in previous releases"........is
    it may be because of this ????
    If somebody has any idea ....please let me know asap ...and
    just
    above
    the EXCEPTION
    we are also getting something like ...."Deployment descriptor
    "/WEB-INF/ups-html.tld"
    is malformed" ....what is going wrong now ?
    Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
    Read inline for the Exception:
    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248>
    <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.Check
    against
    the
    DTD: Element type "info" must be declared. (line 334, column
    9).>
    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248><[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.Check
    against
    the
    DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
    (line 335, column 8).>
    MessageResourcesFactory.createFactory
    java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)
    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
    service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
    java.lang.NullPointerException
    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.

  • Issue with Weblogic services in Linux OBIEE 11G

    Hello All,
    I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
    Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
    But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
    OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
    Please any help on this will be appreciated.
    Thanks,
    Bhavnesh

    Hi Bhavnesh.
    Try this way and let me know  the outcome.
    nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
    Mark if helps,
    Thanks,

  • Import issue - split and compressed dump

    Hi,
    I received 15GB export dump file from site as below, they are splited and compressed
    1. xaa 4gb
    2. xab 4gb
    3. xac 4gb
    4. xad 3gb
    i have import these dump file here in Unix server. i found some document to import the split and compressed dump
    i follow the below steps
    1. copy all 4 files into a directory
    2. then i used commands
    rm -f import_pipe
    mknod import_pipe p
    chmod 666 import_pipe
    (import_pipe file created in the current diriecty)
    nohup cat xaa xab xac xad | uncompress - > import_pipe & ( Process number created like 23901. we need to wait till complete the backgroud process before giving IMPORT command?)
    then i give
    imp userid=<connection string> file=import_pipe full=yes ignore=yes log=dumplog.txt
    then it shows the imp-0009 error...
    pls help me resolve this issue.
    Thanks in advacne

    Pl post details of OS and database versions of the source and target. You will have to contact the source to determine how these files were created. It is quite possible that they were created using the FILESIZE parameter (http://docs.oracle.com/cd/E11882_01/server.112/e22490/original_export.htm#autoId25), in which case the import process can read from these multiple files without you having to further manipulate them.
    HTH
    Srini

  • Nohup file

    Hi,
    The nohup.out is getting big after starting server.
    Is there any way to rotate it ???
    thanks,

    In my project also we are facing same issue. For nohup.out file we can write a shell script to archive it. Depends upon the file size we can write condition to archive it.
    Plz refer http://bash.cyberciti.biz/
    Regards,
    Ramprakash Arun

  • Adv RACF 9.0.4.15 LDAP Gateway setup issue on LINUX

    Hi,
    I am trying to setup LDAP Gateway on LINUX, while starting the script (run.sh), it is throwing lot of errors. Can anybody please share their working LDAP Gateway run.sh? I will try to compare and resolve the issue.
    Thanks,

    I have had to resiolve similar errors using the LDAP gateway for the AS400. The two products are based on the same gateway from Identity Forge.
    When you are trying to debug the startup, be sure to watch the console the console for class not found errors. When debugging, I typically run the gateway as a forground task instead of using nohup. In my case, there were some missing jar files that were reventing the gateway from running. I used google to locate the jars and got the gateway to run.
    Here is a copy of the run.sh I made using the provided run.sh code as a base.
    #!/bin/sh
    # IDF Server start script.
    # resolve link - $0 may be a softlink
    THIS_PROG="$0"
    #echo "This Prog = " $THIS_PROG
    while [ -h "$THIS_PROG" ]; do
    ls=`ls -ld "$THIS_PROG"`
    link=`expr "$ls" : '.*-> \(.*\)$'`
    if expr "$link" : '.*/.*' > /dev/null; then
    THIS_PROG="$link"
    else
    THIS_PROG=`dirname "$THIS_PROG"`/"$link"
    fi
    done
    PRGNAME=`basename ${THIS_PROG}`
    # Get standard environment variables
    PRGDIR=`dirname "$THIS_PROG"`
    if [ "$PRGDIR" = "." ] ; then
    PRGDIR=`pwd`
    THIS_PROG=${PRGDIR}/${PRGNAME}
    fi
    #APP_HOME is set here
    # we are assuming that this script
    # lives in a subdirectory like bin
    APP_HOME=`cd "$PRGDIR/.." ; pwd`
    TMPDIR="$APP_HOME"/temp
    ##### SET ENVIRONMENT VARIABLES #######
    APP_HOME=/opt/app/ldapgateway
    TMPDIR=/opt/app/ldapgateway/temp
    OIM_HOME=/opt/app/Middleware/Oracle_IDM1/server
    OIM_CLIENT_HOME=/opt/app/Middleware/Oracle_IDM1/designconsole
    ##### SET WEBLOGIC HOME ##################
    APPSERVER_HOME=/opt/app/Middleware
    ## ************ EXAMPLE 11G PATH **********************************
    # APPSERVER_HOME=/opt/Oracle/Middleware/wlserver_10.3
    # OIM_HOME=/opt/Oracle/Middleware/Oracle_IDM1/server
    # OIM_CLIENT_HOME=/opt/Oracle/Middleware/Oracle_IDM1/designconsole
    # Get standard environment variables
    # Like JAVA_HOME, etc.
    if [ -r "$PRGDIR"/setenv_idf.sh ]; then
    . "$PRGDIR"/setenv_idf.sh
    else
    #JAVA_HOME=$APPSERVER_HOME/jdk/jre
    SECURE="false"
    SM=""
    DEBUG="false"
    DB=""
    JVM_OPTS=""
    fi
    echo '********************************'
    echo 'Displaying vars from setenv'
    echo '********************************'
    echo "JAVA_HOME = " $JAVA_HOME
    echo "SECURE = " $SECURE
    echo "SM = " $SM
    echo "JAVA_OPTS = " $JVM_OPTS
    echo "DB = " $DB
    echo "DEBUG = " $DEBUG
    echo "APP_HOME = " $APP_HOME
    #echo '********************************'
    # resolve link - $JAVA_HOME may be a softlink
    #$echo "JAVA HOME = " $JAVA_HOME
    #while [ -h "$JAVA_HOME" ]; do
    # ls=`ls -ld "$JAVA_HOME"`
    # link=`expr "$ls" : '.*-> \(.*\)$'`
    # if expr "$link" : '.*/.*' > /dev/null; then
    # JAVA_HOME="$link"
    # else
    # JAVA_HOME=`dirname "$JAVA_HOME"`/"$link"
    # fi
    #done
    #echo "JAVA HOME = " $JAVA_HOME
    #Set Java Command after we resolved soft link
    JAVACMD="$JAVA_HOME"/bin/java
    if [ ! -r "$JAVACMD" ]; then
    echo "JAVE Executable not found, exiting"
    echo "JAVACMD = " $JAVACMD
    exit 1
    fi
    ## CHANGES THE BELOW CP_FILES FOR USER WITH 11G
    ## UMCOMMENT SPECFIC CONNECTOR AGENT /etc/...-adv-agent-recon.jar
    CP_FILES="${APP_HOME}/dist/idfserver.jar
    ${APP_HOME}/etc/as400-adv-agent-recon.jar
    ${APP_HOME}/lib/concurrent-1.3.4.jar
    ${APP_HOME}/lib/shared-ldap-0.9.5.3.jar
    ${APP_HOME}/lib/shared-ldap-0.9.5.3.jar
    ${APP_HOME}/lib/ldapfilt.jar
    ${APP_HOME}/lib/ldapjdk.jar
    ${APP_HOME}/lib/ldaplstd.jar
    ${APP_HOME}/lib/ldapsp.jar
    ${APP_HOME}/lib/antlr-2.7.5H3.jar
    ${APP_HOME}/lib/shared-asn1-codec-0.9.5.4.jar
    ${APP_HOME}/lib/shared-asn1-0.9.5.3.jar
    ${APP_HOME}/lib/commons-beanutils.jar
    ${APP_HOME}/lib/slf4j-jdk14.jar
    ${APP_HOME}/lib/jakarta-regexp-1.4.jar
    ${APP_HOME}/lib/license.jar
    ${APP_HOME}/lib/jdbm-1.0.jar
    ${APP_HOME}/lib/jt400-full-5.0.jar
    ${OIM_HOME}/lib/xlLogger.jar
    ${OIM_HOME}/lib/xlCrypto.jar
    ${OIM_CLIENT_HOME}/ext/commons-logging.jar
    ${OIM_CLIENT_HOME}/ext/javagroups-all.jar
    ${OIM_CLIENT_HOME}/ext/oscache.jar
    ${OIM_CLIENT_HOME}/ext/log4j-1.2.8.jar
    ${OIM_CLIENT_HOME}/ext/spring.jar
    ${OIM_CLIENT_HOME}/lib/oimclient.jar
    ${OIM_CLIENT_HOME}/lib/xlAdapterUtilities.jar
    ${OIM_CLIENT_HOME}/lib/xlAPI.jar
    ${OIM_CLIENT_HOME}/lib/xlAuditor.jar
    ${OIM_CLIENT_HOME}/lib/xlCache.jar
    ${OIM_CLIENT_HOME}/lib/xlDataObjectBeans.jar
    ${OIM_CLIENT_HOME}/lib/xlDataObjects.jar
    ${OIM_CLIENT_HOME}/lib/xlUtils.jar
    ${OIM_CLIENT_HOME}/lib/xlVO.jar
    ${APPSERVER_HOME}/wlserver_10.3/server/lib/weblogic.jar "
    #start
    CLASSPATH=""
    # Setting the classpath
    for cp in $CP_FILES
    do
    # echo $cp
    if [ "$cp" = "${APP_HOME}/dist/idfserver.jar" ] ; then
    CLASSPATH=$cp
    else
    CLASSPATH=${CLASSPATH}:$cp
    fi
    if [ ! -e "$cp" ] # Check if file exists.
    then
    echo "$cp does not exist."; echo
    continue # On to next.
    fi
    done
    # Checking to see if IDF will run with security Manager enabled
    if [ "$SECURE" = "false" ] ; then
    SM=""
    fi
    # Checking to see if IDF will run with debugging enabled
    if [ "$DEBUG" = "false" ] ; then
    DB=""
    fi
    #echo '*******************************'
    echo "TMPDIR: " $TMPDIR
    echo "JAVA_HOME: " $JAVA_HOME
    #echo '*******************************'
    #echo '*******************************'
    echo "JAVACMD = " $JAVACMD
    echo "DB = " $DB
    echo "JVM_OPTS = " $JVM_OPTS
    echo "SM = " $SM
    echo '*******************************'
    echo "CLASSPATH = " $CLASSPATH
    echo '*******************************'
    ## START COMMAND FOR WEBLOGIC [OIM 9.x & OIM 11G]
    nohup $JAVACMD $DB $JVM_OPTS $SM -classpath $CLASSPATH -DXL.HomeDir=${OIM_HOME} -Djava.security.auth.login.config=${OIM_HOME}/config/authwl.conf com.identityforge.idfserver.Main $1 $2 $3 $4 $5 $6 $7 $8 $9 2>&1 &
    xpid=$!
    #Save running process id (PID)
    echo $xpid > ${APP_HOME}/logs/idf_server_pid
    #end
    Kerry Classen
    [email protected]

  • Issue in ldap-sync with active directory - OIM11gR2

    Hi Expert,
    I have enabled the ldap-sync with Active Directory in OIM11gR2. I followed the below document to enable the ldap-sync.
    Enabling LDAP Synchronization in Oracle Identity Manager - 11g Release 2 (11.1.2)
    For testing if ldap sync is working on not . I run the LDAPSync Post Enable Provision Users to LDAP schedule job. While running the job i encounter below exception in log. Please provide me some pointer to solve my issue. How we can sure ldap sync is configure properly? Please provide me some steps to test it out?
    <Jul 31, 2013 9:51:25 AM PDT> <Warning> <JMS> <BEA-040442> <While attempting to bind JNDI name jms/b2b/B2BEventQueue for destination SOAJMSModule!dist_B2BEventQueue_auto_1_auto in module null a JNDI name conflict was found. This destination has not been bound into JNDI.>
    <Jul 31, 2013 9:51:25 AM PDT> <Error> <oracle.iam.platform.entitymgr.provider.ldap> <BEA-000000> <An error occurred while searching the entity in LDAP, and the corresponding error is - {0}
    javax.naming.NameNotFoundException: Error: NO_SUCH_OBJECT
    LDAP Error 32 : No Such Object [Root exception is oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 32 : No Such Object]
      at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(OVDUtil.java:151)
      at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:439)
      at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:257)
      at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.search(LDAPUtil.java:1073)
      at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.search(LDAPDataProvider.java:1218)
      at oracle.iam.ldapsync.impl.util.CommonNamePolicyUtil.isUserExists(CommonNamePolicyUtil.java:84)
      at oracle.iam.ldapsync.impl.util.CommonNameGenerationUtil.isCommonNameExistingOrReserved(CommonNameGenerationUtil.java:192)
      at oracle.iam.ldapsync.impl.plugins.FirstNameLastNamePolicy.getCommonNameFromPolicy(FirstNameLastNamePolicy.java:157)
      at oracle.iam.ldapsync.impl.util.CommonNameGenerationUtil.generateCommonName(CommonNameGenerationUtil.java:116)
      at oracle.iam.ldapsync.impl.util.CommonNameGenerationUtil.generateCommonName(CommonNameGenerationUtil.java:82)
      at oracle.iam.oimtoldap.impl.SeedOIMDataInLDAPImpl.createUserInLDAP(SeedOIMDataInLDAPImpl.java:182)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy710.createUserInLDAP(Unknown Source)
      at oracle.iam.oimtoldap.api.SeedOIMDataInLDAPEJB.createUserInLDAPx(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy709.createUserInLDAPx(Unknown Source)
      at oracle.iam.oimtoldap.api.SeedOIMDataInLDAP_8d8qil_SeedOIMDataInLDAPRemoteImpl.__WL_invoke(Unknown Source)
      at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      at oracle.iam.oimtoldap.api.SeedOIMDataInLDAP_8d8qil_SeedOIMDataInLDAPRemoteImpl.createUserInLDAPx(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
      at $Proxy163.createUserInLDAPx(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      at $Proxy707.createUserInLDAPx(Unknown Source)
      at oracle.iam.oimtoldap.api.SeedOIMDataInLDAPDelegate.createUserInLDAP(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy708.createUserInLDAP(Unknown Source)
      at oracle.iam.oimtoldap.scheduletasks.user.SeedOIMUsersInLDAP.execute(SeedOIMUsersInLDAP.java:59)
      at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
      at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
      at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
      at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
      at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.iam.scheduler.impl.quartz.QuartzJob$TaskExecutionAction.run(QuartzJob.java:266)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
      at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 32 : No Such Object
      at oracle.ods.virtualization.operation.SearchOperation.process(SearchOperation.java:209)
      at oracle.ods.virtualization.operation.SearchOperation.process(SearchOperation.java:47)

    I have checked the OIM vs AD attribute mapping. now I am getting  below error. I have also attached the LDAPUsers.xml file . I don't know what went wrong .. How to test ldap-sync is configure properly? I created the user in OIM but in AD user is not getting created. I am not able to see any thing log file liek (dignostic and nohup log)  .. Any idea where I can see the log to identify the issue??
    g 1, 2013 8:15:15 AM PDT> <Warning> <JMS> <BEA-040442> <While attempting to bind JNDI name jms/b2b/B2BEventQueue for destination SOAJMSModule!dist_B2BEventQueue_auto_1_auto in module null a JNDI name conflict was found. This destination has not been bound into JNDI.>
    <Aug 1, 2013 8:15:15 AM PDT> <Warning> <oracle.ods.virtualization.engine.backend.jndi.LDAP1.ConnectionHandle> <OVD-40082> <Could not modify entry.
    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A120C, problem 5003 (WILL_NOT_PERFORM), data 0
    <?xml version='1.0' encoding='UTF-8'?>
    <tns:entity-definition xmlns:tns="http://www.oracle.com/schema/oim/entity" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/entity ../entity.xsd ">
    <entity-type child-entity="false">LDAPUser</entity-type>
    <provider-instance>
    <repository-instance>Directory Server</repository-instance>
    <provider-type>LDAPDataProvider</provider-type>
    <parameters>
    <parameter name="base">
    <value>dc=cgtest,dc=adtest,dc=com</value>
    </parameter>
    <parameter name="rdnattribute">
    <value>cn</value>
    </parameter>
    <parameter name="objectclass">
    <value>orclIDXPerson</value>
    </parameter>
    <parameter name="idattribute">
    <value>objectGUID</value>
    </parameter>
    <parameter name="entityIdentifierObjectclass">
    <value>inetorgperson</value>
    </parameter>
    <parameter name="excludeObjectclass">
    <value>orclappiduser</value>
    </parameter>
    </parameters>
    </provider-instance>
    <container-capability>
    <enabled>false</enabled>
    </container-capability>
    <entity-attributes>
    <attribute name="User Login">
    <type>string</type>
    <required>true</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="First Name">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Last Name">
    <type>string</type>
    <required>true</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Middle Name">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Display Name">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    <multi-represented>true</multi-represented>
    </attribute>
    <attribute name="usr_password">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>false</searchable>
    </attribute>
    <attribute name="LDAP GUID">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="LDAP DN">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Role">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Email">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Start Date">
    <type>date</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="End Date">
    <type>date</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="usr_timezone">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="usr_manager_key">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Country">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Department Number">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Description">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Common Name">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Employee Number">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Fax">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Generation Qualifier">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Hire Date">
    <type>date</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Home Phone">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Home Postal Address">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Locality Name">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Mobile">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Pager">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Postal Address">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Postal Code">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="PO Box">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="usr_locale">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="State">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Street">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Telephone Number">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Title">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="Initials">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="LDAP Organization">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="LDAP Organization Unit">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    <MLS>false</MLS>
    </attribute>
    <attribute name="User Status">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Lock Status">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Accessibility Mode">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Color Contrast">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Font Size">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Number Format">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Currency">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Date Format">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Time Format">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="Embedded Help">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="FA Language">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="FA Territory">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    <attribute name="User Name Preferred Language">
    <type>string</type>
    <required>false</required>
    <attribute-group>Basic</attribute-group>
    <searchable>true</searchable>
    </attribute>
    </entity-attributes>
    <target-fields>
    <field name="uid">
    <type>string</type>
    <required>true</required>
    </field>
    <field name="givenname">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="sn">
    <type>string</type>
    <required>true</required>
    </field>
    <field name="middleName">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="cn">
    <type>string</type>
    <required>true</required>
    </field>
    <field name="userPassword">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="objectGUID">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="dn">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="employeeType">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="mail">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclActiveStartDate">
    <type>date</type>
    <required>false</required>
    </field>
    <field name="orclActiveEndDate">
    <type>date</type>
    <required>false</required>
    </field>
    <field name="orclTimeZone">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="manager">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="c">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="departmentNumber">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="description">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="employeeNumber">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="facsimileTelephoneNumber">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclGenerationQualifier">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclHireDate">
    <type>date</type>
    <required>false</required>
    </field>
    <field name="homePhone">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="homePostalAddress">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="l">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="mobile">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="pager">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="postalAddress">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="postalCode">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="postOfficeBox">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="preferredLanguage">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="st">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="street">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="telephoneNumber">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="title">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="initials">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="o">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="ou">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="displayName">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclAccountEnabled">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclAccountLocked">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclAccessibilityMode">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclColorContrast">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclFontSize">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclNumberFormat">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclCurrency">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclDateFormat">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclTimeFormat">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclEmbeddedHelp">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclFALanguage">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclFATerritory">
    <type>string</type>
    <required>false</required>
    </field>
    <field name="orclDisplayNameLanguagePreference">
    <type>string</type>
    <required>false</required>
    </field>
    </target-fields>
    <attribute-maps>
    <attribute-map>
    <entity-attribute>User Login</entity-attribute>
    <target-field>uid</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>First Name</entity-attribute>
    <target-field>givenname</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Last Name</entity-attribute>
    <target-field>sn</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Middle Name</entity-attribute>
    <target-field>middleName</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Common Name</entity-attribute>
    <target-field>cn</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>usr_password</entity-attribute>
    <target-field>userPassword</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>LDAP GUID</entity-attribute>
    <target-field>objectGUID</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>LDAP DN</entity-attribute>
    <target-field>dn</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Role</entity-attribute>
    <target-field>employeeType</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Email</entity-attribute>
    <target-field>mail</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Start Date</entity-attribute>
    <target-field>orclActiveStartDate</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>End Date</entity-attribute>
    <target-field>orclActiveEndDate</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>usr_timezone</entity-attribute>
    <target-field>orclTimeZone</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>usr_manager_key</entity-attribute>
    <target-field>manager</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Country</entity-attribute>
    <target-field>c</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Department Number</entity-attribute>
    <target-field>departmentNumber</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Description</entity-attribute>
    <target-field>description</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Employee Number</entity-attribute>
    <target-field>employeeNumber</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Fax</entity-attribute>
    <target-field>facsimileTelephoneNumber</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Generation Qualifier</entity-attribute>
    <target-field>orclGenerationQualifier</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Hire Date</entity-attribute>
    <target-field>orclHireDate</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Home Phone</entity-attribute>
    <target-field>homePhone</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Home Postal Address</entity-attribute>
    <target-field>homePostalAddress</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Locality Name</entity-attribute>
    <target-field>l</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Mobile</entity-attribute>
    <target-field>mobile</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Pager</entity-attribute>
    <target-field>pager</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Postal Address</entity-attribute>
    <target-field>postalAddress</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Postal Code</entity-attribute>
    <target-field>postalCode</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>PO Box</entity-attribute>
    <target-field>postOfficeBox</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>State</entity-attribute>
    <target-field>st</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Street</entity-attribute>
    <target-field>street</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Telephone Number</entity-attribute>
    <target-field>telephoneNumber</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Title</entity-attribute>
    <target-field>title</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Initials</entity-attribute>
    <target-field>initials</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>LDAP Organization</entity-attribute>
    <target-field>o</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>LDAP Organization Unit</entity-attribute>
    <target-field>ou</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Display Name</entity-attribute>
    <target-field>displayName</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>User Status</entity-attribute>
    <target-field>orclAccountEnabled</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Lock Status</entity-attribute>
    <target-field>orclAccountLocked</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Accessibility Mode</entity-attribute>
    <target-field>orclAccessibilityMode</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Color Contrast</entity-attribute>
    <target-field>orclColorContrast</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Font Size</entity-attribute>
    <target-field>orclFontSize</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Number Format</entity-attribute>
    <target-field>orclNumberFormat</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Currency</entity-attribute>
    <target-field>orclCurrency</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Date Format</entity-attribute>
    <target-field>orclDateFormat</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Time Format</entity-attribute>
    <target-field>orclTimeFormat</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>Embedded Help</entity-attribute>
    <target-field>orclEmbeddedHelp</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>FA Language</entity-attribute>
    <target-field>orclFALanguage</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>FA Territory</entity-attribute>
    <target-field>orclFATerritory</target-field>
    </attribute-map>
    <attribute-map>
    <entity-attribute>User Name Preferred Language</entity-attribute>
    <target-field>orclDisplayNameLanguagePreference</target-field>
    </attribute-map>
    </attribute-maps>
    <control-attributes>
    <attribute name="container">
    <type>LDAPContainer</type>
    <required>false</required>
    </attribute>
    </control-attributes>
    </tns:entity-definition>

  • Agent NMO issues [ permissions ]

    Posted for info:
    Was having terrible trouble trying to get the GC agent monitor a V9 database on Solaris. This is 10.2.0.5 BTW
    Traced to Credentials not being accepted.
    Follow Metalink notes to enable NMO logging [ no tracing except on Windows ]
    emagent.trc and emagent.nohup examined : Not a password issue, further tracing = can't find the binary
    Problem : it isn't printed in the log exactly what binary it is looking for !!! [  Hey Oracle : Put some trace in will you, NMO is being called with this, so why not put it in ?  Doesn't have to be the password you know ]
    So : how do we find out what it's trying to run ?
    truss -f -p <emagent pid > > /tmp/tracefile 2>&1, try TEST Credentials again
    Oh Look : It's trying to run the AGENT PERLBIN , EACCESS
    Ah ha ! : Now we know what the problem is, group permissions for the specific user running Oracle9 against the Agent home directories, a few chmods and we're done.
    <<< BTW This took ages to figure out >>>>
    C.

    Yes, nothing to do with setuid on nmo at all; merely posting an answer to how to figure out something that had bugged me for days.

  • 11gr2 Control Center Service run_service.sh Issues

    So after a few days of searching this forum (and many other online forums), I was unable to find anything related to this specific topic at all. Since I beat my head against a wall for a few days to figure this out, I figured if I can save even one other poor soul from hitting this issue then this post would be worth it.
    In short, we have a two tier'd setup for OWB 11gR2 that we're building out as part of a data center migration project. Our intent was to run the control center service on an application server (completely apart from the database server which according to Oracle support, isn't normal - and initially, they told us wasn't supported... until I forwarded them a copy of the install & admin guide and they realized it was a valid architecture in that document on page 1-5... what the bag??). We installed the OWB standalone client (important to note, on a Red Hat Linux 64 bit box) exactly as per the instructions.
    So onto the actual problem. When we tried to launch the control center service, it would start with the following output:
    2013/05/22-10:58:53-CDT [558385E3][] Platform Service for null
    2013/05/22-10:58:54-CDT [558385E3][] Connection Manager - OCI fix performed
    2013/05/22-10:59:09-CDT [558385E3][] Thin driver connection time - 14604 millisecond(s)
    2013/05/22-10:59:09-CDT [558385E3][] Connection Manager - property user.timezone value is US/Central
    2013/05/22-10:59:09-CDT [558385E3][] Connection Manager - connection.timezone not set. Defaulting to value SERVICE
    2013/05/22-10:59:09-CDT [558385E3][] Connection Manager - using service timezone US/Central
    2013/05/22-10:59:09-CDT [558385E3][] Connection Manager - defaultimg session timezone offset to -05:00
    2013/05/22-10:59:09-CDT [558385E3][] java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:883)
    at oracle.wh.runtime.platform.service.util.TraceManager.createNewFile(TraceManager.java:579)
    at oracle.wh.runtime.platform.service.util.TraceManager.switchTraceFiles(TraceManager.java:735)
    at oracle.wh.runtime.platform.service.util.TraceManager.switchTraceFiles(TraceManager.java:702)
    at oracle.wh.runtime.platform.service.util.TraceManager.initialize(TraceManager.java:308)
    at oracle.wh.runtime.platform.service.ServiceObject.initializeTrace(ServiceObject.java:30)
    at oracle.wh.runtime.platform.service.Service.<init>(Service.java:137)
    at oracle.wh.runtime.platform.service.Service.main(Service.java:975)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Launcher.main(Launcher.java:175)
    2013/05/22-10:59:09-CDT [558385E3][] Free Memory(bytes)=218257400 Total Memory(bytes)=248578048 Used Memory(bytes)=30320648 Used Memory(percent)=13%
    2013/05/22-10:59:09-CDT [558385E3][] Control Center Service Version 11.2.0.3.0 starting
    2013/05/22-10:59:09-CDT [558385E3][] Startup due to manual request
    2013/05/22-10:59:09-CDT [558385E3][] Control Center Repository Name OWBSYS on Service w409d at Host wdprd00a0043
    2013/05/22-10:59:09-CDT [558385E3][] Explicit garbage collection - every 1 execution(s)
    2013/05/22-10:59:09-CDT [558385E3][] Initializing Platform
    2013/05/22-10:59:09-CDT [558385E3][] Recovery starting
    2013/05/22-10:59:09-CDT [558385E3][] Service startup complete
    This is the entry from Ref. Doc ID 402401.1 - How To Setup a Remote Control Center Service or Remote Runtime With OWB 10.2, and this is exactly how we called the process:
    cd <owb_home>/bin/unix
    nohup echo <unified_repos_password> | run_service.sh -manual 1 control_center_service_home unified_repository servername listenerport servicename &control_center_service_home --Oracle Home where OWB software is installed
    unified_repository --Schema name of the Unified Repository (owbsys)
    servername --Server where Unified Repository is installed
    listenerport --Listener port for the DB
    servicename --Service name of the DB
    This allows the service to run in the background, even if you log off of the terminal (which is ideal vs. using the local_service_login.sh script and xwindows to start it manually on a unix platform).
    At first, this error smacked of the control center service using the wrong oracle home. It was spitting that error above out to STDOUT, instead of to a file in the owb/log file directory as it should. To see what would happen, I updated the wb_rt_service_nodes table to use the application server home value instead of the server side home... and it actually "worked". Starting it back up made it look almost right, except any sqlldr maps were being deployed with a warning... so I knew that wasn't it.
    After much research and playing around, and a moment of sheer, blind luck (I created myself a unix alias to issue the run_service command, and accidentally added an additional dash in front of the node id parameter i.e. "-1"), the warning dissappeared and we also were able to deploy a sqlldr map without a warning as well (the other symptom of this was that any sqlldr map would deploy with a warning saying it couldn't find/create the .ctl file... but it was looking in the OWB home on the DB server, not the application server!!).
    To summarize, it would appear that in order to startup a standalone 11gr2 control center service on the Linux 64 bit distribution of the code correctly - you must add the extra dash in the nodeid parameter like so:
    <nohup stuff>run_service.sh -manual -1 <everything else>
    If you don't do this, the control center service won't run properly and all the symptoms look like it's runing with the wrong oracle home... which, given the apparent lack of documentation from Oracle on the subject of running remote control centers, you may go crazy with the reset_owbcc_home.sql and remote_owb_install.sql scripts. Hope that helps someone.

    Forget to mention that i did execute the service_doctor.sql and the result is the following
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    There is a problem accessing the service startup script from the databaseserver
    Here is the detailed error message which contains the name of the startscript file:-
    Service startup file '/app/oracle/owb/bin/unix/run_service.sh' is notaccessible from the database server on instance number 1
    Please verify that the disk containing the file is visible to thedatabase server
    Please verify that the database server account has access rights on thefile
    Connection information stored within the repository is correct
    BR

  • PHP EXEC NOHUP

    I am trying to use the php exec command it have a process continue in the background even if the user closes the window. Before this, I would run:
    exec("./a.out > /dev/null &") with no problem.
    however, now i need run:
    exec("nohup ./a.out > /dev/null &")
    when i run this, i receive the following error:
    /var/www/html/secure/functions/nohup: No such file or directory
    how can i have exec take the entire parameter as the command, not just the word?
    Thanks,
    Orlando

    Orlando--
    hi charlie... I figured out the issue. In php.ini,
    i had safe mode equal to on. therefore, it was only
    looking for files in the path specified.
    Glad to hear you worked it out. I'm not that familiar with PHP, so I wasn't sure if there's a setting like that in the php.ini file.
    Make sure, though, that if you change the php.ini file, it doesn't make it possible for someone to compromise your computer. Specifically, look for places where someone could execute a program from input on a web form.
    cheers,
    charlie

  • Issue with rmiregistry with Planning on Solaris

    Hi,
    I just installed Hyperion planning on Solaris machine. When i started planning, i see error in the log file:
    java.rmi.ConnectException: Connection refused to host: 10.32.8.12; nested exception is:
    java.net.ConnectException: Connection refused
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at com.hyperion.planning.HspJSHomeImpl$RebindTask.run(Unknown Source)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:178)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
    I noticed that rmiregistry was not running so I stopped the planning and started RMIRegistry using following command:
    $ cd RMI
    /u02/app/hyperion/common/RMI
    $ nohup ./HyperionRMIRegistry &
    After this i started the planning but I am still getting the above message. I am not sure what is causing this issue and how can i solve.
    Please let me know if anyone has some idea.
    Thanks,

    Hi,
    Port is the issue. We are not using port 11333 for RMI. We changed this to 8333. RMI registry seems to be started and listening on port 8333. But Planning still thinks that RMI registry is listening on port 11333.
    Where, in the planning, i can define the new port for RMI registry. I couldn't see any property file which had rmi port number.
    We are using Planning 9.3.1.
    Appreciate your help...thanks,

  • Hard drive full! Huge nohup.out file?

    I am a new mac user and have had my imac since December 06, so not very long. I mainly use my mac to edit video and found that this took up a large part of my 250GB hard drive. I deleted alot of this and freed up a huge amount of space.
    Since this clear up I have only installed a few applications such as iZoom and Office, only a few GB. However, everytime I have rebooted my mac my hard drive has filled up more and more. I am now left with no free space, with messages appearing within a number of programs saying my disc drive is full. I can't even save images to my desktop.
    I went through a few interent forums for help and downloaded a program called WhatSize to try and locate any large files on my mac. What I found was that my music and video folders were about 5/6 GB each, which I expected. Other than this my documents folder was around 2GB. However, at the top of the list I had a huge file called nohup.out weighing in at 198GB. Is this the problem and the file that is taking up all my hard drive?. Even with all my software and documents, there is no way they all add up to 250GB.
    I couldnt find any information on the net about this nohup.out file so I have no idea if this file size is usual or not. Can I delete this file to free up space or will this corrupt my system? Like I said I am a fairly new mac user so I have no idea about any of these sort of files.
    Any help with this issue will be much appreciated!
    Cheers,
    Duncan

    Hi, cheers for getting back to me. I looked through some of the google searches but really couldn't understand it, so seeing as you said you couldn't find this nohup.out file on your system I decided to just delete it. At first it wouldn't let me delete it, but a quick restart of the system and it went fine.
    So I now have 198GB free on my 250GB hard drive, which is shown when I click the "Get Info" option from the hard drive icon on my dektop. However, underneath this icon it says that I only have 33GB free, as if the icon hasn't updated. I tried restating to get it to update but it has remained the same. Is there anything I can do to correct/update this?
    Thanks for all your help,
    Duncan

  • New DVR Issues (First Run, Channel Switching, etc.)

    I've spent the last 30 minutes trying to find answers through the search with no luck, so sorry if I missed something.
    I recently switched to FIOS from RCN cable in New York.  I've gone through trying to setup my DVR and am running into issues and was hoping for some answers.
    1.  I setup two programs to record at 8PM, I was watching another channel at the time and only half paying attention.  Around 8:02 I noticed a message had popped up asking if I would like to switch channels to start recording.  I was expecting it to force it to switch like my old DVR, but in this case it didn't switch and I missed the first two minutes of one of the shows.  I typically leave my DVR on all day and just turn off the TV, this dual show handling will cause issues with that if I forget to turn off the DVR.  Is there a setting I can change that will force the DVR to choose one of the recording channels?
    2.  I setup all my recordings for "First Run" because I only want to see the new episodes.  One show I setup was The Daily Show on comedy central, which is shown weeknights at 11pm and repeated 3-4 times throughout the day.  My scheduled recordings is showing all these as planned recordings even though only the 11pm show is really "new".  Most of the shows I've setup are once a week so they aren't a problem, but this seems like it will quickly fill my DVR.  Any fixes?
    Thanks for the help.
    Solved!
    Go to Solution.

    I came from RCN about a year ago.  Fios is different in several ways, not all of them desirable.  Here are several ways to get--and fix--unwanted recordings from a series recording setup.
    Some general principles. 
    Saving changes.  When you originally create a series with options, or if you go back to edit the options for an existing series, You MUST save the Series Options changes.  Pretty much everywhere else in the user interface, when you change an option, the change takes effect immediately--but not in Series Options.  Look at the Series Options window.  Look at the far right side.  There is a vertical "Save" bar, which you must navigate to and click OK on to actually save your changes.  Exiting the Series Options window without having first saved your changes loses all your attempted changes--immediately.
    Default Series Options.  This is accessed  from [Menu]--DVR--Settings--Default Series Options.  This will bring up the series options that will automatically be applied to the creation of a NEW series. The options for every previously created series will not be affected by a subsequent modification of the Default Series Options.  You should set these options to the way you would like them to be for the majority of series recordings that you are likely to create.  Be sure to SAVE your changes.  This is what you will get when you select "Create Series Recording" from the Guide.  When creating a new series recording where you think that you may want options different from the default, select "Create Series with Options" instead.  Series Options can always be changed for any individual series set up later--but not for all series at once.
    Non-series recordings.  With Fios you have no directly available options for these.  With RCN and most other DVRs, you can change the start and end times for individual episodes, including individual episodes that are also in a series.  With Fios, your workarounds are to create a series with options for a single program, then delete the series later;  change the series options if the program is already in a series, then undo the changes you made to the series options later; or schedule recordings of the preceding and/or following shows as needed.
    And now, to the unwanted repeats. 
    First, make sure your series options for the specific series in question--and not just the series default options--include "First Run Only".  If not, fix that and SAVE.  Then check you results by viewing the current options using the Series Manager app under the DVR menu.
    Second, and most annoying, the Guide can have repeat programs on your channel tagged as "New".  It happens.  Set the series option "Air Time" to "Selected Time".  To make this work correctly, you must have set up the original series recording after selecting the program in the Guide at the exact time of a first run showing (11pm, in your case), and not on a repeat entry in the Guide.  Then, even it The Daily Show is tagged as New for repeat showings, these will be ignored. 
    Third, another channel may air reruns of the program in your series recording, and the first showing of a rerun episode on the other channel may be tagged as "New".  These can be ignored in your series if you set the series option "Channel" to "Selected Channel".  Related to this, if there is both an SD and HD channel broadcasting you series program, you will record them both if the series option "Duplicates" is set to "Yes".  However, when the Channel option is set to "Selected Channel", the Duplicates Option is always effectively "No", regardless of what shows up on the options screen.  
    As for you missing two minutes,  I have sereral instances in which two programs start recording at the same time.  To the best of my recollection, whenever the warning message has appeared, ignoring it has not caused a loss of recording time.  You might have an older software version.  Newest is v.1.8.  Look at Menu--Settings--System Info.  Or, I might not have noticed the loss of minutes.  I regularly see up to a minute of previous programming at the start of a recording, or a few missing seconds at the beginning or end of a recording.  There are a lot of possibilities for that, but the DVR clock being incorrect is not one of them.  With RCN, the DVR clocks occasionally drifted off by as much as a minute and a half.

Maybe you are looking for

  • In Ical/delegate issue, Please help

    In Ical, I have several calendars I maintain for others.  I currently maintain about 8 calendars.  All of the calendars when added under the delegate tab pop up on Ical under their email address, excep two and they pop up under my email address.  Any

  • Can XI Message be mapped to a flat file attachment in Mail adapter

    Hi guys, I have a requirement, where I have ECC system seding a XI message to XI. Now XI has to convert this to a flat file may be tab delimited and send this as an attachment in email using receiver mail adapter. I want to avoid BPM and make it simp

  • Listbox focused row when more items selected

    Hi, I have following problem. I'm using ListBox with multiple rows selection enabled. I want to identify the row that's focused even when it's not selected. It's shown on attached pictures. I'll appreciate any kind of help Bye jochynator LV 8.0.1, Wi

  • I can't access my account and the password reset is not working. What can I do?

    When I try to sign in to HP ePrintCenter, I input my email address and username and get the following prompt: "EmailInvalid email or password" I figured perhaps I wasn't registered so I tried to register with my email address however the system promp

  • Cost center in FB01 - User exit or BADI

    Hi, I would like to change the cost center field data in transaction FB01 with some other data based upon some conditions. Please suggest with user exits or badi. thanks.