Trouble with Post Migration Scripts

I try to run the volrepair script but am getting errors. I have run the Update NDS option from nssmu but still now luck.
ccs_fs1:~ # /opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a admin.ccboe -p darabc -f /var/opt/novell/migration/
Information: Checking NSS status ...
Information: Getting GUID for NSS Pool ADMIN
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
Error: Failed to get guid for pool ADMIN
Information: Getting GUID for NSS Pool APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
Error: Failed to get guid for pool APPS
Information: Getting GUID for NSS Pool SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
Error: Failed to get guid for pool SYS
Information: Getting GUID for Volume APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume APPS
Information: Getting GUID for Volume SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume SYS
Information: Updated NSS Pool objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Information: Updated NSS volume objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Warning: The following NSS Pools does not exist on the source server. Use "nssmu " option "Update NDS" for these Pools to repair.
Warning: ADMIN
Warning: APPS
Warning: SYS
Warning: The following NSS Volumes does not exist on the source server. Use "nss mu" option "Update NDS" for these Volumes to repair.
Warning: APPS
Warning: SYS

$(UYou need to have the same set of pools and volumes on the source server and target server (atleast the names should be identical).
The error says the pools or volumes that exists on the target server doesn't match with those on the source server.
Try updating them from nssmu or iManager.
Refer section "9.0 Preparing for Transfer ID -> 9.1. Prerequisites " of http://www.novell.com/documentation/....html#bookinfo
-Ramesh
>>>
From:
dmilam<[email protected]>
To:
novell.support.open-enterprise-server.migration
Date:
05/03/2010 11:06 PM
Subject:
Trouble with Post Migration Scripts
I try to run the volrepair script but am getting errors. I have run the
Update NDS option from nssmu but still now luck.
ccs_fs1:~ #
/opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a
admin.ccboe -p darabc -f /var/opt/novell/migration/
Information: Checking NSS status ...
Information: Getting GUID for NSS Pool ADMIN
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
Error: Failed to get guid for pool ADMIN
Information: Getting GUID for NSS Pool APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 ..6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
Error: Failed to get guid for pool APPS
Information: Getting GUID for NSS Pool SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
Error: Failed to get guid for pool SYS
Information: Getting GUID for Volume APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume APPS
Information: Getting GUID for Volume SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume SYS
Information: Updated NSS Pool objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Information: Updated NSS volume objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Warning:The following NSS Pools does not exist on the source server.
Use "nssmu " option "Update NDS" for these Pools to repair.
Warning: ADMIN
Warning: APPS
Warning: SYS
Warning: The following NSS Volumes does not exist on the source server.
Use "nss mu" option "Update NDS" for these Volumes to repair.
Warning: APPS
Warning: SYS
dmilam
dmilam's Profile: http://forums.novell.com/member.php?userid=11991
View this thread: http://forums.novell.com/showthread.php?t=409414

Similar Messages

  • Issue with post migration, from 11.1.1.1.3 to 11.1.1.1.5

    Hi,
    We are facing issues post migration issue in 11.1.1.1.5.
    We are using JMS adapter with 3rd party Queues (IBM MQ). We are able to produce and consume the messages in 11.1.1.1.3. But, post migration to 11.1.1.1.5, we are able to only prouce the messages and not able to consume the same.
    We use JMS message id as Correlation id.
    Please assist us on this.
    Thanks!

    and not able to consume the same.Do you see any error in log? Paste the error info here. Alternatively, you may log a SR with support.
    Regards,
    Anuj

  • Trouble with Oracle Migration Workbench - need help urgently

    Hi,
    I have trouble with capturing informix7 model, capture wizard hangs with following error in log:
    EXCEPTION : ProjectImpl.setAttribute() java.sql.SQLException: ORA-00917: missing comma
    what is wrong ? (Default repository also doesn't work because of known bug) Where can i find older version of OMW that worked well?
    Thanks a lot
    Jack

    I worked this out , it was cause by informix password. Password contains special symbols like ' and $ and . and so on. Replace them fix this.

  • 10g Questions - Folder structure, Files, Post-migration Scripts

    Hi, Oracle Pros
    I have a few questions that I have encountered in my 10g installation process. I hope I could get some help from you.
    1- After I have installed 10g (release 2) software AND Enterprise Manager (release 1), I have noticed the installation has arranged the folders under 'Oracle' differently in my Windows 2003 Server. For example, I have two 'oradata' folders; one (EM) is right under the root 'oracle'; the other one (10g) under 'product > 10g'.
    We'd like to re-arrange those folders to make it consistent and make more sense. Would this re-arrangement of folders affect applying patches later? I assume the way the install arranges the folders is following the OFA. That's why I am afraid to re-arrange folders after the install.
    2- Does one use p-file or sp-file to start a database? I understand one can create one from the other. Does using either make any difference? If so, how?
    3- I was told that after the software is said and done, not only do we need to import our 8i datafiles, but also write some script for the user, grant, tablesspace to be migrated as well. Is writing script for those objects really necessary? Why can't the OUI take care of all that?
    I'd appreciate any of your help.
    Have a good day.
    CJ

    2- Does one use p-file or sp-file to start a
    database? I understand one can create one from the
    other. Does using either make any difference? If so,
    how?Either one.
    The issue with PFILE is that it must be available to the DBA running the STARTUP command - on that DBA's platform. If you have multiple DBAs and possibly permit remote administration, there is a danger that you will have several PFILEs that are not in sync.
    Because of this, Oracle created the SPFILE concep. It ensures there is only one natural initialization file, and that file is under the control of the server. It can be backed up by RMAN, it can be used by RAC instances, etc.
    After kicking and screamiung at the change, I have become quite happy using SPFILE only - except for those increasingly rare non-dynamic parameter changes.

  • [nForce] K7N2 Delta2 Platinum w/Version B.5 BIOS, trouble with post and XP install.

    I have
    K7N2 Delta2 Platinum
    MS-6570E Version 1.0 motherboard
    AMD Sempron 2600+
    Elixir 500MB PC-3200 DDR (3 sticks, total 1.5GB)
    eVga Nvidia MX4000 64MB AGP card
    Maxtor ATA-100 PCI controller
    I pulled everything else out of the box. I've tried the B.3, B.4, and B.5 BIOS and set everything to Optimized Defaults. I created a striped RAID Array of 4 WD 80GB drives on the primary and secondary onboard controller. The CD is on the Maxtor controller.
    There are some problems I can't figure out.
    1) The mobo identifies the CPU as Athlon XP 1100
    2) The POST hangs just before seeking the IDE drives. I have to hit a key for it to continue.
    3) The LED's on the D bracket have the top right light dark until the key is hit. Something to do with initializing the floppy controller.
    4) The XP install fails to a blue screen just after hitting the F8 key to accept the license. The code is 0x0000007B.
    Can someone tell me what these issues have to do with each other and how I can correct them?

    Quote from: dmichael34 on 17-September-05, 22:42:56
    The Maxtor controller was removed when you originally suggested to do so. The add on controller is an SIL 680 RAID.
    I will try reseating the processor next.
    I can also attempt a boot through POST without the array, as this shouldn't affect the boot process.
    I did notice that the ctrl-alt-del on the LEFT side of the keyboard doesn't work.
    However, the ctrl-alt-del on the RIGHT side of the keyboard does work.
    Maybe I've been looking for a serious problem and overlooking the obvious.
    I do not see how the CPU temp would cause a pause at boot until "any key" is hit... it sounds more to me like the system has paused to either look for a device or boot a BIOS on a device card.
    If I am not mistaken, you are using a RAID card to boot windows? Is this correct?
    If that is true it is possible the boot sequence is not set correctly in the BIOS such as "BOOT OTHER DEVICE" ( I cannot remember the exact term in the BIOS)
    I am not sure about that but you could try changing the boot sequence so your RAID card is above "HARD DISK" on the list

  • Troubles with rule action scripting, again

    I'm baaack, I have another question with a rule action script that I can not figure out how to get to run. In this instance I want the script to sort messages from various members of a group into their respective mailboxes. The mail rule selects the group and sends it to the following Script.
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with eachMessage in theMessages
    set theSender to sender of eachMessage
    if theSender contains "+the full address of the sender+" then
    set mailbox of eachMessage to mailbox "+the desired mailbox+ "
    end if
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    What am I missing this time? This is the most recent version of several attempts.I may as well add, when I expand this to include the numerous members of the group, do I end each of the "if" statements with a "end if" or will the script evaluate several "if" statements in one toss. tT

    The most likely place it could fail is in the comparision:
    if theSender contains "the full address of the sender" then
    You should add some debugging to see whether this evaluates to true or false. If it's true and the message doesn't move that's a whole different problem from it evaluating false.
    As for the 'if' question, you can do it either way. Depending on the situation, one path may be more or less efficient than the other, so it may take some experimentation:
    In general, I try to group the statements into the action, not the clause - for example, if there are three clauses that cause a specific action then I'd have one if statement with three clauses rather than three separate if statements that all lead to the same task.

  • HT4796 Trouble with Windows Migration Assistant

    I was trying to transfer my information from window to mac; then, I diconnected it because I thought I did not need anything from my old laptop. Now, my MacBook is freezing up. What can I do to refresh it?

    Welcome to the Apple Support Communities
    You mustn't disconnect the PC before Migration Assistant has finished. Hold Power button to turn off your computer and turn on again the Mac

  • Trouble with: "do shell script" password

    Here's the code I'm trying to use to unlock my login.keychain via Applescript:
    do shell script "security unlock-keychain login.keychain" password "mypasswordgoeshere"
    I'm getting the following error message in AppleScript Editor:
    error "password to unlock login.keychain:
    security: SecKeychainUnlock login.keychain: The user name or passphrase you entered is not correct." number 51
    Any suggestions on how to get this working?

    That function uses the password differently. Run the following:
    do shell script "security unlock-keychain -p password login.keychain"
    (52720)

  • I'm having trouble with the server2server scripts...

    I'm trying to call getRoomInfo from python but it throws an exception.
    My code looks something like:
    account = "%s/%s" % (lccsSettings.HOST, lccsSettings.ACCOUNT)
    am = accountmanager(account)
    am.login(lccsSettings.USER, lccsSettings.PASSWORD)
    am.getRoomInfo( 'leakrunnyauk' ) # leakrunnyauk is the name of the room
    It gets a response of:
    <result>
         <status code="error" subcode="not-active"/>
    </result>
    I'm probably doing something silly, any idea what it might be?
    -sandy

    Oh, I had assumed that as long as the room exists ( which it does) that it would return the salient data.
    For example, dateCreated, bytesUp, bytesDown, etc...all make sense even when a room isn't currently in use.
    I'm trying to get the usercount, so I can just assume it's 0 if it throws the exception.
    Thanks,
    -sandy

  • Having trouble with post install

    After i install Solaris 10 x86 on my Compaq it keeps saying that X server cannot start on display 0 what can i do?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99214)

  • My 'run with administrative privileges' script no longer works - help

    Hey all. I have an applescript that shuts down the computer that I made a while back. I pulled it out today to use it and it no longer works. Here's part of the code I'm having trouble with:
    do shell script ¬
    "sudo shutdown -h now" password "myadminpassword" with administrator privileges
    On old machines this worked great, I would just put the admin password where myadminpassword is and it would work perfectly. Now though, I run it on my machine and I get the prompt to enter my admin username and password before it will shutdown.
    Now this is going on a remote install so I need it to work. Any ideas? The machine is running snow leopard, but it seems to still work on an old leopard macbook pro.

    Well, for one, do not use sudo in do shell script.
    The whole 'with administrator privileges' part takes care of elevating your privileges. sudo has no place in do shell script.
    Don't know if that's your issue, but it's the first thing I'd fix.
    If that doesn't help, are you running the script as your admin user?
    Nowhere in your script are you defining the username to run the command as, therefore it will attempt to run as the current user who may not be the same as your admin user, nor have the same password. You might need to include the username:
    do shell script "shutdown -h now" user name "admin" password "myadminpassword" with administrator privileges

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Safari produces 404 with login & redirection script, Firefox, IE work fine

    Hi!
    I'm having a bit of trouble with a login script and I was wondering if there were any particular safari bugs I should be aware of?
    The script is a php script that takes login details, redirects the user to an appropriate site based on the login details and logs them into that site automatically... In firefox and IE it works without issue... in safari I get a 404 page not found error...
    The weirdest part is that the script is at:
    www.site.com/script.php
    the 404 not found error appears with:
    www.site.com in the url bar, and if you press refresh the 404 error remains, even though the site can be found... it's really weird...
    Any thoughts would be much appreciated...

    Okay... I've solved it!
    Safari has a little bug/feature: if there is no action specified in a form(meaning the page that will receive the data is the same as the page containing the form) Safari misinterprets it and relocates to... null. I just hardcoded the target in the form and it... worked.

  • Pdf reader X has problems with small pdf and printer with post script driver

    Hi friends.
    I have installed new Reader X and then i saw that, when i print a very small pdf with about 50 kb and i print it on a Laserjet 4000 printer the printer has problem with the amount of data that reader 10 produces.
    When i install a Postscript driver for the printer my computer makes up to 3.5MB printer data from a 50kb pdf.
    When i install a PCL driver for the printer my computer makes only 350kb from the same 50kb pdf file!!!!
    When i install Reader 9.3 the 50kb file becomes also only 350kb on the printer with post script driver, and i can print without problems also.
    my printer has 8 MB Ram and that should be enough for 3.5MB printer data.
    But when i print the pdf with 1 side only, the printer created a side who is only filled with 50% of the text, then there comes out a second page with the message.....not enough memory in the printer.
    i can not change the postscript driver to a pcl driver cause our ERP System can not handle printer with PCL drivers.
    Can someone help me please.........are there settings in Reader X who can solve my problem ???
    Thank you very much for help!

    put ? after rwcgi60.exe

  • Patches with pre and or post patch scripts not executable -- why?

    In my frustration with update manager hangs I have had to kill processes and restart and even manually unjar files and patchadd. Sometimes I run across the error that the pre or post patch scripts are not executable. I have in the past chmod 744 and patchadd then applies the patch. This has happened several times in my latest patch update. I also had a patch ( X11) that implied a lack of entitlement but the manual patchadd showed that the real problem was a missing prerequisite patch.
    My questions are:
    1. is this lack of executable permission on scripts ( pre and post) by design and am I missing the correct procedure?
    2. missing prerequisite scripts? why?
    3. out of frustration --- IS THIS PATCHING UTILITY THE BEST THAT SUN CAN DO?

    Update Manager is sometimes a little flaky, particularly on unpatched systems (as it uses many different utilities). I would suggest that if you are having problems then you should use smpatch instead - it's not really any more difficult to use and is often much quicker.
    If a patch has a script that is not executable that is not a fault of updatemanager, but a fault with the patch itself (being archived with incorrect settings) or possibly your umask setting, which should ideally be globaly set to 0022 prior to patching to prevent problems during extraction and application.
    If updatemanager has complained about a lack of entitlement I would tend to believe that this was the case, check the contents of your entitlement file:
    # cat /var/sadm/spool/cache/entitlement/*entitlement_clientYou may be missing SolarisAllUpdates or other entitlements - please post the output.
    Sun do offer other patching tools, but what is best for one person/company may not be the best for all. There is also the possibility that you don't have it setup correctly - I would ask that you run the attached script and upload the output file generated to our [Support Uploads|http://supportuploads.sun.com/] site.

Maybe you are looking for