User clean up

hi,
is there a single command tro clean a user without dropping it.
thanks
Aswathy J K

AswathyJK wrote:
well.wwat i'm doing is creating a sppol file for
select 'drop table ' || table_name || ' cascade constraints ;'
from   user_tables;
select 'drop ' || object_type || ' ' || object_name || ' ;'
from   user_objects
and executing teh script.wanted to know if thr is any other option ..thnksThat's pretty much the standard way of doing something like this... use a script to write a script.
However, you'd better put some WHERE clauses in there, or you will drop everything. Kind of like a windows "format c:" command

Similar Messages

  • Recovering from Damage to User folder

    My Intel Mac (10.4.11) had a seizure the other day. Something got scrambled, because after the dust settled, when I logged in to my usual account, the Finder went unstoppably in an endless loop, quitting and restarting itself every 15 seconds. Everything else was running correctly -- but it was difficult to do more than the most basic operations in this state.
    (I connected via LAN from another machine to back up my most important files. I tried rebooting and not logging in, in which state I could mount the disk on a remote machine. In that condition, copying worked flawlessly. )
    I tried various standard fixes and finally found that creating a new user fixed the problem -- the system worked completely normally running as the new user. So, I decided to abandon the old user account and use the new one.
    My guess is that something in the user folder for the old account got scrambled, almost certainly something in the ...Users/<oldusername>/Library folder, but not the Preferences folder -- one of the first measure I took was removing the contents of this folder, which had no effect.
    Folders owned by <oldusername> was the most frequent problem I encountered while converting to the new user account. I tried changing ownership at the highest level of my work folders, using Get Info and "Apply to enclosed items...", but there are just enough locked items (I guess) sprinkled around to sabotage that operation. I'd invariably get "The operation could not be completed because you do not have sufficient privileges for some of them."
    My questions:
    1. Is there any way to protect against this kind of failure? (My guess: "No.")
    2. Is it worthwhile trying to locate and correcting the failure rather than abandoning the failing account and starting over? (My guess: "No, though it might be done, the work might take a very long time and the result might not be entirely solid.")
    3. Are there any utilities or shortcut methods that can help the transfer everything to a new username? (My guess: "No. Just gotta do the hard work.")
    4. Is there a web page that summarizes the locations of the databases for all the standard Mac utilities, e.g. Address Book, iTunes, iPhoto etc., along with tips for transferring them to a new user cleanly?
    5. The Finder method of changing owners using Get Info and "Apply to enclosed items..." aborts when the first unchangeable item is encountered, right? (That seemed to be the case.)
    5. Is there any better alternative to changing ownership of a massive folder hierarchy containing a few locked files besides opening a Terminal window and executing a chown -R command as Superuser?
    6. Am I missing anything really obvious in all this? <grin>
    TIA,
    Henry

    Hi Henry,
    1. Several preventative things can be done...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot , (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    The usual reason why updates fail or mess things up, or things don't load/run, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates again, or even do an A&I if you have enough free disk space.
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
    The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Repair Permissions before & after re-install, then reboot again each time.
    If all the above do not resolve the problem, then it's time for an Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120
    Be sure to use Preserve Users & Settings.
    I only use Software Update to see what is needed, then get them for real via...
    http://www.apple.com/support/downloads/
    That way I can wait a week or so, check the forums for potential problems, and get Permissions & such in order before installing.
    DiskWarrior is worth it's weight in gold...
    http://www.alsoft.com/DiskWarrior/
    2. Depends what you need.
    3. Not the way stated.
    5. BatChMod...
    http://www.macchampion.com/index.shtml

  • Solaris users who did login for more than months

    Hello All,
    Can any one help me out to find those users who did not login to the system for more than a month or more? I need to do some user clean up.
    Thanks..
    Edited by: user4027740 on Apr 13, 2011 12:35 AM

    USERS=`grep -v NOLOGIN /etc/passwd | cut -d: -f1`
    for USER in $USERS
    do
    echo "---------- $USER --------------"
    last -n 1 $USER
    done
    ############this script helps you find out the last login time of all users in /etc/passwd file###################

  • Multiple users on migration

    Hi -
    I had a previous problem where the migration assistant would quit during application transfer. As I tried to resolve the issue, I went through the migration several times.
    Ultimately, I gave up on migration assistant, and moved programs by hand... and most of the supporting files were already in place, so it was easy.
    I have deleted the "deleted users."
    Is there other stuff that might have been dupliacted by multiple runs of the migration assistant? Should I do a clean install of the OS and start over, or does deleting "deleted users" clean things up pretty well?
    thanks

    spearheadRocks:
    It is difficult to tell from your post what you are moving, and from what to what. Are you moving data? Or are you moving the OS, applications, Users Folders, all of the above? Some of these do not respond well to manual click and drag. You could use SuperDuper to clone the entire HDD or moving just the Users Folder.
    Good luck.
    cornelius

  • Message Inbox: Long time to receive messages

    Hi All,
    My client is on 8.8 PL15. They complain that it takes a very long time to receive Approvals in th Messages/Alert Overview window, although the Update Messages in General Settings > Services is set to be 1 minute. They complain that they need to log out and back in again in order to receive messages, before they can approve.
    Does somebody maybe know what could cause the delay?
    Kind regards
    Carin

    Hi All,
    The users cleaned up the Inbox and Outbox Messages, but the Approval Messages are still coming through slowly!
    1. Some Authorisers do not even get the messages, while others do, even after they logged off and on again.
    2. Also follow the following scenario: The user is logged on on a laptop and on a terminal. On the Terminal, the approvals almost come through instantly, but on the laptop, it takes forever. If you log off and back on again it then comes through.
    Can anybody help?
    Regards
    Carin

  • How can I run a counter by number of times the script is run

    So I've created a script for disabling exchange mailboxes and moving them to a disabled OU in AD.  I currently have this set to run once a week via scheduled tasks but instead would like to kick it up to nightly and improve on the logging.
    Right now, the only items I record are the name of the person and the OU they were originally in.  I'd also like to include the groups they were a member of.  I could easily enough include all the groups they were a member of in the email but here
    is the twist.
    Since we are going to a nightly run of this script, we would want to keep at least a weeks worth of logs in a text file as a just in case.  After a week, the log would be cleared.  I know that would be a counter but I can't even wrap my mind around
    how that would work.  Is it even possible?
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\TerminateUsersLogFile.txt"
    $LogFile2 = "C:\Scripts\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @MyDomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@MyDomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $newvar = ($user).distinguishedname
    set-aduser $user -replace @{info="$newvar"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled Users OU" -Confirm:$false
    Write-Output $user.name >> C:\Scripts\UserNamesMovedtoDisabledOU.txt
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "SMTP.MyDomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    clear-content C:\Scripts\UserNamesMovedtoDisabledOU.txt

    I apologize for the long delay in replying.  I thank everyone for their help but I'm still running into issues with the script.  Below is the script as it is right now.  I'm having issues with logging as the groups the associate is a member
    of are not logging correctly.
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log"
    $LogFile2 = "C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @mydomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@mydomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $UserOU = ($user).distinguishedname
    set-aduser $user -replace @{info="$UserOU"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Write-Output $user.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    write-output $ADgroups.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    echo $ADgroups.name
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled OU" -Confirm:$false
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "smtp.mydomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    Get-ChildItem -Path C:\Scripts\CleanUpTermedUsers\* -Include *.log | where-object { $_.LastWriteTime -lt $((Get-date).Adddays(-7))} | clear-content C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log
    Clear-Content c:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt

  • Test Execution hangs while executing a test from Command prompt option

    I have done the following
    1) Created a script Test driver
    2) Added different scripts as Script->Properties->Assets to the driver script
    3) Call each of this asset script from TestDriver using command getScript("<<ScrptName>>".run(1, true, true, true);
    4) Now calling this TestDriver script from command prompt with command
    e:\\OracleATS\\agent
    runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriver
    TestDriver.jwg
    The script execution hangs at "Initializing VU 1 for Script TestDriver. After few mintues of seeing this message i get error "Execution Timed Out".
    Do I need to keep openscript UI open for script execution from command line ?
    Is there any way to increase this Execution Time out ? May be it is taking time to load the internal script assets. AS other scripts are running fine on the same machine from command prompt itself.
    Complete error is as follows
    C:\Documents and Settings\oracle>e:\\OracleATS\\agent\\runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriv
    er\\TestDriver.jwg
    Running "TestDriver" ...
    Agent started. Available commands:
    stop - Stop the virtual user after it finishes the current iteration.
    abort - Abort the virtual user cleanly, before it finishes the current itera
    tion.
    exit - Terminate the process immediately
    You may type the above commands at any time.
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    12:17:53,465 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    12:17:53,856 INFO [1] Initialized script service "oracle.oats.scripting.modules.datatable.api.DataTableService"
    12:17:53,856 INFO [1] Initializing VU 1 for script TestDriver
    Execution Timed Out.

    Hi e_raja_sekar,
    You wrote:
    public static void main(String args){should be
    public static void main(String args[]){Granted, the below code was tested on Windows XP using J2SE SDK 1.4.1_02 (and not 1.2.2 like Sridhar is using), but when I compiled and executed this code:
    public class BadMain {
      public static void main(String args) {
        System.out.println("Hello World");
    }The output I got was:
    Exception in thread "main" java.lang.NoSuchMethodError: mainSo I don't think this is Sridhar's problem (but I could be wrong) since he says that he gets no error message.
    Cheers,
    Avi.

  • Problems with iTunes on Windows Vista...please help

    All started with my Laptop recognizing my iPad and iTouch just as a camera
    I keep getting this error in spite of all the methods already listed....one step from formatting....this is the order of appearance of the errors please i need help
    ALREADY TRIED:
    -Uninstall-reinstall
    -new ADMIN STAT user
    -Cleaning APPLE related archives and reinstalling
    -opening install with WinRAR and selecting what to install
    -all forum solutions
    Im using Windows Vista
    THX

    ... I'm not sure I've ever helped someone from the Canary Islands before ...
    Fault Module Name: mcicda.dll
    Fault Module Version: 6.0.6000.16386
    That's part of your Windows operating system, relating to the MCI driver for cdaudio devices.
    Perhaps try running an sfc /scannow as per:
    [How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7|http://support.microsoft.com/kb/929833]
    Does sfc repair any files? If so, does your iTunes start launching properly again afterwards?

  • Photoshop CC 2014.1 not Showing Update for 2014.2

    My Photoshop cc 2014.1 is not showing the update for 2014.2.  I have 2 computers and one updated and the other isn't showing the .2 update.  They both are using Windows 8.1.  I was online with customer service earlier and they weren't able to provide an answer yet.  I had to leave for work so customer service is to get back with me.  In the mean time I'm trying to see any answers out there.  I uninstalled the creative cloud desktop app earlier since I did have problems when it just hung on the update for the creative cloud desktop app.  I deleted some folders that the customer service rep stated and reinstalled and I was able to reinstall the CC desktop app.  I have tried do the update through Photoshop and the application manager also says it's up-to-date.  I did check the version just to ensure that it didn't update but it is 2014.1
    Why is it this computer doesn't see the .2 update?
    Thanks

    Hi Krakat,
    I would recommend below mentioned steps.
    User cleaner to Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 and clean, Adobe Application Manager and Creative Cloud.
    Install Creative cloud from : Free Creative Cloud | Download Adobe Creative Cloud free trial
    If problem persists, create another user account and check if the problem persists.
    Thanks,
    Atul Saini

  • Fix found: Illustrator CS3 (PC) crashes when opening file or starting new file

    Issue:
    -Running Windows XP, tried installing CS3 Web premium on a new machine.
    -All programs worked well except Illustrator; when opening a file or creating a new one, illustrator would crash and give a message of "Microsoft has experienced an error" blah blah "Send error report?"
    -when trying to "open with.." by right clicking on a file, it would crash as well but give the message "The file xxxxxx.pdf is not a valid Win 32 application." Blah blah. Same thing with .ai files, etc.
    Attempts to fix:
    -re-installed CS3
    -updated Illustrator to 13.0.1
    -switched users
    -cleaned up fonts
    Fix that worked:
    -uninstalled pre-loaded version of Acrobat that came with PC.  I had a suspicion that the newer version of Acrobat on the new PC (9.5 or similar) might conflict with Illustrator, as the version of Acrobat to come with CS3 was 8 (I believe). This seemed to fix the problem.
    Cheers,
    Mike

    lol issue still remains... if an admin sees this please remove entire post
    Thanks

  • Is there a way to hide the launcher in Win95?

    Hello forte-users,
    i am wondering if there is a solution to hide the launcher in the
    task-line of Win95 without additional tools.
    I need a way to start the launcher as system-service or in a manner
    that the process is not shown in the Win95 task-line after startup
    the computer. Because if more MS-DOS-tasks are open some users clean
    the task line using close with the right mouse-button to close those
    tasks without looking which kind of process it is. And sometimes they
    close the launcher also during run of a forte-application which makes
    it impossible to continue some work in this application :-).
    Every little help is welcome
    Joseph Mirwald

    Hello forte-users,
    i am wondering if there is a solution to hide the launcher in the
    task-line of Win95 without additional tools.
    I need a way to start the launcher as system-service or in a manner
    that the process is not shown in the Win95 task-line after startup
    the computer. Because if more MS-DOS-tasks are open some users clean
    the task line using close with the right mouse-button to close those
    tasks without looking which kind of process it is. And sometimes they
    close the launcher also during run of a forte-application which makes
    it impossible to continue some work in this application :-).
    Every little help is welcome
    Joseph Mirwald

  • Indesign getting "serious error"

    Hi everyone,
    I'm hoping someone can help me! Of course this problems happens on deadline of my 144pg. magazine. We're using InDesign/InCopy to go back and forth with the designers (us) and the editors. Yesterday, we were updating assignments and having to unlink/relink some assignments that caused very slow opening of the .icma files. We got them fixed and to our client, then very randomly we noticed Indesign stared crashing while trying to open any of the Indesign files. They all have the error "Adobe InDesign is shutting down. A serious error was detected..." It seemed to jump from one file to the next, and now any file we open for that magazine immediately crashes InDesign with that error.
    To date, I've tried:
    Logging in as a new user
    Cleaning font cache
    Trashing Indesign preferences
    Single user rebuild
    Restarting the server (where the files reside)
    None of these have helped us. If anyone could possibly shed some light it I would be so appreciative!
    Many thanks,
    Wendy

    Many times the protective shutdown is indeed related to something wrong with the preferences.
    You might see if there is more information within the protective shutdown log. ~/Library/Caches/Adobe InDesign/[Version]/en_us/InDesign Recovery/Protective Shutdown Log that gives any additional information as to the cause of the crash.
    If the keypress that Youri has mentioned are not enough, go with the manual approach.
    Peter does a great run-through on where they are and what to remove here:
    http://forums.adobe.com/thread/526990

  • SharePoint 2010 content database size issues alldocs streams

    HI All,
    We are planning to do migration from sharepoint 2010 to sharepoint 2013. our database team identified that "all docs streams" and "audit log table" using almost 300 gig
    we dropped "audit log" table today almost 100 gig
     but still "all doc streams" table size is almost 147 gig
    how to handle this situation before migration?
    do I need to migrate as it is or do I need to work on "all doc streams" table
    hot to handle database size
    which way you recommend ? what are the best practices
    please see database table size
    can any one please send me step by step implementation?
    Thanks,
    kumar
    kkm

    First off, touching SharePoint database tables is completely unsupported.
    http://support.microsoft.com/kb/841057
    You shouldn't be making changes within the database at all and you're putting yourself out of support by doing so.
    AllDocStreams is your data. You need to have users clean up data, or move Site Collections to new Content Databases if you feel you need to reduce the size of the table itself.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Fresh install of Oracle VM Manager Template into Oracle VM Server

    Hi,
    I am trying to install the Oracle VM Manager template and then
    create an Oracle VM Manager client.
    I have already done a 'fresh install' of Oracle VM Server.
    I do not have another machine available to use to contain the
    'Oracle VM Manager', therefore, I am attempting to install the
    Oracle VM Manager template directly into an Oracle VM Manager Server and
    run the client.
    I am following the instructions of the Oracle VM Server Users Guide
    in section 4.3.
    When I extract the zip file contents into the
    /OVS/seed_pool directory, I get the following files.
    Deploy_Manager_Template.sh
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    So far, so good.
    Next, I used 'tar' to help me extract the directories of the .tgz file.
    So far, so good.
    Next, as instructed, I used 'python' and 'print randomMAC()' to create a new MAC address.
    Inside the /OVS/seed_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM/vm.cfg file
    I modified the vif MAC address. I replaced the
    xx:xx:xx with the 'last three' that were generated by the python randomMAC
    function from above.
    vif = [ 'mac=00:16:3E:<my generated numbers>', ]
    So far, so good?
    In the Oracle VM Server Users Guide in section 4.3.,
    The next step, expains that I should run
    xm create mv.cfg
    I did this. When I ran this I received back the error.
    Using config file "./vm.cfg"
    Error disk is not accessible.
    When I peek inside my vm.cfg file.
    I see file references starting with the following
    file:/OVS/running_pool/ ...
    Of, course my running_pool directory is empty.
    (Again, this is a fresh install of Oracle VM Server).
    My first question is the following.
    Sometime in this process was I supposed to run
    the the following executable?
    ./Deploy_Manager_Template.sh
    If so, should I have done this early?
    Was the modification of the vif (of adding the MAC address
    into the vm.cfg file, something I 'should have not done'
    or 'something that could be ignored' because the
    './Deploy_Manager_Template.sh' would have done this for me?
    My second question is the following.
    Would the following process be 'more correct?'
    ..1 Not modify the vm.cfg' file.
    ..2 run ./Deploy_Manager_Template.sh.
    ..3 In the /OVS/running_pool/ directory find my
    vm.cfg file of interest, then modify the vif with a new MAC address.
    ..4 In /OVS/running_pool/Change my current location to my directory of interest
    run xm create vm.cfg (to run my Oracle VM Manager)?
    Any help or ideas whould be appreciated.
    Thank you very much,
    AIM

    Hi,
    This is the README file for Oracle VM Manager 2.2.0
    Readme for Media Pack B57738-01
    Print: Access key=P Close: Access key=C
    Oracle VM Templates for Oracle VM Manager 2.2.0 Media Pack v1 for x86 (32 bit)
    =====================================================================
    Template Version 2.3
    Oracle VM Manager Version 2.2.0
    This document contains:
    1. Prerequisites for Oracle VM Manager virtual machine (VM) deployment
    2. Oracle VM Manager Template description
    3. Creating an Oracle VM Manager Virtual Machine from
    Oracle VM Manager Template
    4. Deployment Interview
    5. Known Issues
    For more information on Oracle VM Manager, please refer to
    the "Oracle VM Manager Installation Guide" and the "Oracle VM Manager
    User's Guide" available at:
    http://download.oracle.com/docs/cd/E15458_01/index.htm
    1. Prerequisites
    ================
    - A new install of Oracle VM Server 2.2 that has NOT been managed by another
    Oracle VM Manager. Manager Template 2.2 is intended to be installed on Oracle
    VM 2.2 server. If you have a new Oracle VM 2.1.5 server and want to deploy
    Oracle VM Manager template, please use the Oracle VM 2.1.5 Manager template.
    Note: root access to the server's dom0 is required.
    - It's highly recommended that you upgrade the default agent (ovs-agent-2.3-19)
    to ovs-agent-2.3-27 or later. You can get the latest Oracle VM 2.2 packages
    from Oracle's Unbreakable Linux Network (http://linux.oracle.com).
    Note: Alternate location to get Oracle VM agent 2.3-27 is
    http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-27.noarch.rpm
    - A working directory of the Oracle VM Server 2.2 has at least 4GB free space
    for downloading and installing the template. The working directory can be any
    directory on the Oracle VM server except /OVS/running_pool.
    Note: The /root partition of the default Oracle VM server install may not have
    enough space to temporarily host the template installation. Please use other
    directory that has sufficient free space.
    - At least 15GB of free space in the cluster root storage repository. For storage
    and repository configuration, please refer to Oracle VM 2.2 Server User Guide:
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/storage.htm
    and
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/repository.htm
    - At least 2GB of free memory on the Oracle VM Server
    - A static IP address for the Oracle VM Manager
    - If enabling HA (high availability) for the Oracle VM Manager,
    mount a clustered OCFS2 or NFS filesystem on /OVS. If ext3 or a
    local OCFS2 filesystem is used, enabling HA will cause the high availability
    prerequisite checking to fail. The Oracle VM Manager configuration
    process will exit without completing the configuration.
    - The Oracle VM Manager will register the first VM that it detects.
    To have Oracle VM Manager be the first VM registered,
    make sure there are no virtual machine images besides the Oracle VM Manager
    virtual machine in the /OVS/running_pool directory on the Oracle VM Server.
    - A desktop or other system with a VNC Viewer installed
    The steps below assume that the Oracle VM Server used is not currently
    or was not previously managed by another Oracle VM Manager. If this is not
    the case, the instructions below will ask user clean up Oracle VM Agent DB
    before running the Oracle VM Manager.
    2. Oracle VM Manager Template Description
    =========================================
    The Oracle VM Manager Template is distributed as one archive file which
    includes:
    File Version
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz 2.3
    Deploy_Manager_Template.sh 2.3
    The OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz archive contains two disk images,
    a VM configuration file and a readme file:
    - Oracle Enterprise Linux 5.3 x86 system disk image
    - Oracle VM Manager 2.2 disk image
    - vm.cfg
    - README
    The system image is a JeOS (Just enough OS) installation of Oracle
    Enterprise Linux 5.3. It is a smaller footprint install that contains
    the only packages needed by Oracle VM Manager.
    Oracle VM Manager is configured to use Oracle Database 10g
    Express Edition (included).
    Deploy_Manager_Template.sh is used to check the prerequisite and
    create virtual machine.
    During the first boot of the Oracle VM Manager virtual machine,
    the Oracle VM Manager configuration process will create server pool
    and import the Oracle VM Manager virtual machine.
    Two OS user accounts are created by default:
    user: root password: ovsroot
    user: oracle password: oracle
    The user 'oracle' belongs to the 'oinstall' and 'dba' groups.
    The default vnc console password is 'oracle'
    3. Creating the Oracle VM Manager virtual machine
    =================================================
    1) Download the Oracle VM Manager Template (V19215-01.zip)
    from http://edelivery.oracle.com/oraclevm
    2) Login to the Oracle VM Server's dom0 as 'root'
    Copy V19215-01.zip to your working directory with at least 4GB free space.
    You can choose any directory on OVM Server except /OVS/running_pool.
    This zip file contains the archive file OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    and a deploy script Deploy_Manager_Template.sh
    3) As root, run
    # unzip V19215-01.zip
    4) As 'root', run the deployment script:
    # chmod 755 Deploy_Manager_Template.sh
    # ./Deploy_Manager_Template.sh
    The deployment script Deploy_Manager_Template.sh will complete the following
    tasks:
    a) prerequisite checking
    b) uncompress OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz file to directory
    /OVS/running_pool. This directory will contain the files following files:
    /OVS/running_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM
    |- System.img (OS image file)
    |- Manager.img (Manager image file)
    |- vm.cfg (VM configuration file)
    |- README (Readme file)
    c) generate and assign new MAC address to the virtual machine
    d) interview the user for VM and VM Manager configuration parameters
    (next section 'Deployment interview' provides the list of questions)
    e) create and boot the virtual machine from the Oracle VM Server
    command line
    f) display the access information for Oracle VM Manager and Oracle VM
    Manager VM
    4. Deployment Interview
    =======================
    The deployment script will prompt a user to enter
    a) Agent password
    The agent password is required for the prerequisites check.
    b) Storage configuration
    Storage Source: NFS address, OCFS2 partition path
    The script will automatically detect your cluster root storage repository
    if you have configured it. Or it prompts users to input their storage source
    and the script tries to set it up as cluster root.
    NOTE: how to manually create your own storage repository in OracleVM server 2.2.x
    1) Register your storage source. Example:
    /opt/ovs-agent-2.3/utils/repos.py -n myhost:/mynfslocation
    /opt/ovs-agent-2.3/utils/repos.py -n /dev/sdb3
    Note that the storage source should have at least 15GB free space.
    If the storage source is successfully registered, note down the uuid genereated
    by the command above, such as:
    51d4c69b-e439-41ac-8b31-3cc485c993b0 => /dev/sdb3
    2) Mount your storage repository.
    If the agent version is 2.3-27 or higher, execute:
    /opt/ovs-agent-2.3/utils/repos.py -i
    otherwise, complete the following commands:
    [1] mkdir -p /var/ovs/mount/$(echo <uuid> | sed s/-//g | tr '[:lower:]' \
    '[:upper:]')"
    where '<uuid>' is the uuid noted down in step 2)
    [2] mount your storage source to the directory made in step [1].
    3) If /OVS exists, delete or move /OVS
    mv /OVS "/OVS.$(date '+%Y%m%d-%H%M%S').orig"
    create a symbolic link from storage repository to /OVS
    ln -nsf /var/ovs/mount/<UUID>/ /OVS
    c) Network configuration
    Static IP address
    Netmask
    Default Gateway IP address
    DNS Server IP address
    Hostname
    d) Password for database accounts:
    'SYS' and 'SYSTEM' (the same password the same password is used)
    'OVS'
    'oc4jadmin'
    'admin'
    e) Web Service configuration (supported in template in version 1.2)
    Web Service password (at least 6 characters)
    Enable HTTPS or not
    f) SMTP server (outgoing mail server SMTP hostname)
    E-mail Address for account 'admin'
    g) Data for the manager services configuration:
    Oracle VM Server Pool Name
    Oracle VM Server login user name
    Oracle VM Server login password
    Note that Oracle VM Manager is critical for managing Oracle VM Server Pools.
    Do not pause, suspend or shutdown this virtual machine! Configuring
    HA is recommended for this virtual machine so that Oracle VM will
    automatically restart the Oracle VM Manager virtual machine if there
    is a server crash.
    5. Known Issues
    ===============
    1) You may see messages on a virtual machine's console similar to these
    when the virtual machine is booting up:
    Fatal: No PCI config space access function found
    rtc: IRQ 8 is not free.
    i8042.c: No controller found.
    These messages can be ignored.
    2) Mail server check fails.
    Bug #7140 in bugzilla.oracle.com
    Oracle VM Manager installer only checks the default SMTP port 25 for the
    mail server. If the SMTP port is not 25, the check fails, and you will
    see the following message:
    Mail server '<mail server hostname>' check failed, want to re-enter it(Y|n)?
    You can enter 'n' to skip the mail server checking. You will also see the
    send mail checking fails with following message:
    Failed to send mail to '<Admin e-mail address>'
    want to re-enter the e-mail address(Y|n)?
    You can enter 'n' to skip the send mail checking.
    3) OEL VM console may display error messages similar to those below:
    BUG: warning at drivers/xen/fbfront/xenfb.c:143/xenfb_update_screen() (Not
    tainted)
    Call Trace:
    [<ffffffff803aa461>] xenfb_thread+0x135/0x2c5
    [<ffffffff8024874b>] try_to_wake_up+0x365/0x376
    [<ffffffff8029ba6e>] autoremove_wake_function+0x0/0x2e
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff803aa32c>] xenfb_thread+0x0/0x2c5
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802339c8>] kthread+0xfe/0x132
    [<ffffffff80260b24>] child_rip+0xa/0x12
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802338ca>] kthread+0x0/0x132
    [<ffffffff80260b1a>] child_rip+0x0/0x12
    This will not cause any problems.
    4) If you accidentally power off Oracle VM Manager virtual machine through
    Oracle Manager UI, and restart the virtual machine from OVM server command
    line, although Oracle VM Manager virtual machine is running normally,
    the virtual machine status in Manager UI will stay in 'Shutting Down'.
    This is expected, as the virtual machine status sync will only happen when
    the virtual machine status is "Error" or "Powered Off".
    To re-sync the virtual machine status, please complete the following steps:
    1. Log on the Manager UI;
    2. Navigate to the 'Virtual Machines' tab;
    3. Select Oracle VM Manager virtual machine, "OVM_EL5U3_X86_OVM_MANAGER_PVM";
    4. Choose 'Reset' from 'More Actions' dropdown list;
    5. Click 'Go' button, the status will become "Running" after a while.
    5) (Bug 9191053) For OVS agent version 2.3-19, the following High
    Availability scenario will not work.
    "If a Virtual Machine Server fails, all running virtual machines are
    restarted automatically on another available Virtual Machine Server."
    For OVS agent 2.3-19, Oracle VM Manager virtual machine will not be
    automatically restarted on any other available Virtual Machine Server,
    but on the original Virtual Machine Server when it becomes available again.
    To fix the issue, please upgrade OVS agent to 2.3-27 or the latest version.

  • BDC Sessions in Error Status

    Hello!
    I have a customer that usually have error status in BDC Sessions and they expect that original users clean up their sessions.
    But they are looking for some task in background to help them, is it possible?
    And he has another doubt:
    "How does the system store the data used in the BDC session?  If we have an error and need to correct the data or re-run the session, where will the tool pull the data for that session?  We are trying to determine if failed sessions are leaving data on the unix filesystems, etc."
    Thanks in advance,
    Daniel Kaoro Kobashigawa

    Hi,
    If you are using the BDC session methos then the error logs and other ino are stored in teh session in SM36
    We can re-process the sessiions that are error ones seen in the Error records.
    Search SDN more on this.
    We have many threads on this issue.
    If you are using the Call Transaction then we dont get the exact error but we can see the error records using BDCMSGCOLL.
    Usually both are combined to handle the data in a accurate manner.
    Regards
    Lekha

Maybe you are looking for

  • Document is getting posted but unalble to clear the open items

    hi gurus, i m using the inbound idoc ACC_DOCUMENT03 to post the receipt against invoice. uptill now i can post the receipt but it shows the items are still in the open items. i need to clear the open items for the invoice. how to solve it .

  • My ipod is not recognized and im so desperate,. HELP!!!!!!!

    I have had to change computers recently. I have successfully installed iTunes and have put a load of songs on there but when I connect my ipod is not recognized by either the computer or iTunes. I have restored and reinstalled my ipod more times than

  • I had to reinstall CS4 and now have error messages when opening bridge and photoshop

    The error message is "The specified module could not be found. C:\Program Files (x86)\Common Files\Adobe\Adobe Version Cue CS4\Client\4.0.1\Version Cue.DLL

  • Difference between oracle bpm 10g and 11g

    Newbie: I am trying to understand 10g. The basic questions I have is 1)What is the difference between 10g and 11g? 2)What is the infrastructure & skillset needed for me to do implementation in 10g? 3)How is migration from 10g to 11g is accomplished?

  • ESS Personal Information Errors

    Hi All, I want to implement ess mss for Finland country. I can see the country specific iViews in portal content. But as mentioned in business package guide, for Finland country there are no screens for services like personal data, address, bank , fa