Deleted Sysman Directory

Hi
I had accidentally deleted 'SYSMAN' directory under ORACLE_HOME, i donot have a backup.
I tried Oracle Universal Install, no results.
I am unable to configure the dbconsole, is there any way to getback the directory.

You can try it by copying the directory from another host. But the "proper" way would be reinstallation.

Similar Messages

  • SYSMAN directory deleted

    Hi,
    The oracle version is 10.2.0.5.0 on IBM-AIX. Accidently one of my team member deleted SYSMAN directory from $ORACLE_HOME. I want to configure DBCONSOLE(enterprise manager) but unable to configure it. Can anyone help me out to sort out the problem. Should i need to re-create the directory or any other method. I dont have any backup for ORACLE_HOME.
    Thanks,
    imran khan

    Lubiez Jean-Valentin wrote:
    You may try to re-configure the Database Control as follow:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    If the SYSMAN directory, which contains the scripts, has been deleted ... I suspect this will not work too well.
    My feeling is that OP will need to do
    - a simple DB s/w-only install into a second ORACLE_HOME,
    - copy the directory to the live DB,
    - run your commands,
    - remove the second ORACLE_HOME,
    - and most important of all start doing proper backups. -)
    I could be wrong, though. It certainly will be interesting to see how recreating the dbconstrol could recreate all the perl scripts that do the metric collection, as well as the other supporting dirs.

  • Is there a way to delete a directory with files in it?

    I am working on a program right now, and i need to know if there is a way to delete a directory that has files in it?
    or do i have to write another program that gets the list and deletes each file individually? if this is the solution, how do you do this?
    Right now, i would prefer some of the logic and some "code snippets" but please do not write the entire code out for me.
    thank you.
    (snippets include how to poll, and how to call the polled item so i can delete it...)

    Right now, i would prefer some of the logic andsome "code snippets" but
    please do not write the entire code out for me.So I assume this is some sort of "homework" (maybe
    self imposed).
    You can't use File's delete() to delete a non empty
    directory as I guess you
    have discovered. So basically, yes, you have delete
    each child file
    separately and then delete the directory.
    But it gets worse. The directory may itself contain
    directories and these may
    not be empty...
    There's a fairly extensive snippet here:
    http://www.exampledepot.com/egs/java.io/TraverseTree.h
    tml which shows
    how you can "visit" every file and folder inside a
    given folder (children,
    grandchildren etc) and "process" them. It may help -
    but be warned there's
    a nearby example which more or less solves your
    problem.Um, did my post above get covered with lemon juice or otherwise become invisible?
    Jakarta Commons IO FileUtils already does the job.

  • Active Directory + Resource action to delete home directory

    Hi all,
    I am trying to delete home directory from the disk physically after the user is deleted from AD. I followed the link http://docs.sun.com/app/docs/doc/820-6551/bzbuc?a=view and implemented the delete resource action as mentioned in the link.
    here are the steps i followed (For testing, I mentioned delete >> C:\test.txt to see if it deletes the text file)
    1. Enter delete after action in the Identity Manager User Attribute column of the resource’s schema map.
    2. In the Attribute Type column, select string.
    3. In the Resource User Attribute column, enter IGNORE_ATTR. Leave the Required, Audit, Read Only, and Write Only columns unchecked.
    4. Add this to the Deprovision Form user form after the </Include> tag:
    <Field name= ’resourceAccounts.currentResourceAccounts[AD].attributes.
    delete after action’>
    <Expansion>
    <s>AfterDelete</s>
    </Expansion>
    </Field>
    5. Create the following XML file and import into Identity Manager. (Change file paths according to your environment.)
    <?xml version=’1.0’ encoding=’UTF-8’?> <!DOCTYPE Waveset PUBLIC
    ’waveset.dtd’ ’waveset.dtd’>
    <Waveset>
    <ResourceAction name=’AfterDelete’>
    <ResTypeAction restype=’Windows Active Directory’ timeout=’6000’>
    <act>
    echo delete >> C:\test.txt
    exit
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    6. Edit the XML for the Active Directory resource and add information to the “delete after action” schema mapping. Here is an example of a complete schema mapping for this resource with the new additions. (You will be adding the views-related information.)
    <AccountAttributeType id=’12’ name=’delete after action’ syntax=’string’
    mapName=’IGNORE_ATTR’ mapType=’string’>
    <Views>
    <String>Delete</String>
    </Views>
    </AccountAttributeType>
    To test, I deleted a user from AD and I was expecting the file c:\test.txt to be deleted as it invokes the Resource action after delete. Has anyone been successful in deleting the home directory from drive after the user is deleted. Any pointers or help
    Thanks,
    Ani

    Hi Gaurav,
    I have to implement Resource Action functionality for Solaris system. I followed the link http://download.oracle.com/docs/cd/E19225-01/820-6551/bzbuc/index.html and the first message of this thread. I am using 8.1 IDM.
    But unfortunately I can’t trigger any bash commands on the resource like echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt.
    There are any errors on log file.
    Can you share your work configuration and steps to reproduce?
    I have done next but Resource Action doesn’t triggered:
    1. My Action:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='AST-ResAct-SOL-AfterDelete'>
    <ResTypeAction restype='Solaris' timeout='6000'>
    <act>
    #!/usr/bin/bash
    echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt
    exit 0
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    2. Added next line to “Deprovision Form”
    <Field name='resourceAccounts.currentResourceAccounts[SOLARIS 10].attributes.delete after action'>
    <Expansion>
    <s>AST-ResAct-SOL-AfterDelete</s>
    </Expansion>
    </Field>
    3. Added a new attribute mapping on the resource:
    <AccountAttributeType id='12' name='delete after action' syntax='string' mapName='IGNORE_ATTR' mapType='string'>
    </AccountAttributeType>
    4. Assigned role (this role provisioned resource to user) to user, delete user from resource via Deprovision IDM page. But my Action commands didn’t trigger on resource.
    Thanks’ in advance!

  • How do I delete home directory /Library/Preferences/Macromedia/Flash\Player ?

    How do I delete<home directory>/Library/Preferences/Macromedia/Flash\Player?

    Note that it'll be created over every time you load a Flash object in a Web browser (at least if it has Flash enabled).
    The only way to consistently get rid of all its content would be to create an AppleScript, or use Automator to create a workflow that would empty this folder when you close the browser.

  • Cant delete User Directory !

    I am managing our students on our xserve with 10.6 running. When they are leaving i delete the student on our server with the workgroupmanager but i cant delete his directory. Our file sharing is AFP based.

    Hi Craig
    Is this what you need? > http://support.apple.com/kb/HT1428
    Dennis

  • Delete AL11 directory

    Hello,
    On SAP R/3 4.6c, I want to delete a directory from AL11. Not delete content but only remove logical link.
    Does anyone know how I can do this ?
    many thanks

    Hi,
    I've got half an answer, and while I've not been able to use it to delete a directory from AL11 I think the potential's there.
    In AL11 highlight a directory on the list and choose 'Configure'.  Now the fun starts, then next screen hasn't actually pulled through the line you selected, but it does have an option to delete on the menu.  So if you could fill the three fields with the right values you could potential delete a directory.
    Like I said, half an answer but hopefully it will set you in the right direction.
    Regards,
    Nick

  • How to find out who deleted the directory in Unix

    Hi Experts,
    In my system some body tampered the directories, and more over some body deleted the bin directory under the /usr/sap/trans in Unix operating system. now i am checking to find out who deleted and for the more logs.
    i am unable to find out the user name and deleted directory logs..i know its completely related to the unix level but mean time i am searching for the same.
    Any ideas and clues will be heighly appreciated.
    -Srini

    To know the OS would have been helpful
    First ask the people around you if anybody did it, maybe he is man enough to admit...
    Try to find out who logged at the time when the directory was deleted.
    - check the OS syslog (/var/adm/syslog/syslog.log for hp-ux, /var/log/messages for linux)
    - try the last commando to get a list of who logged on when
    - check the command histories of the sidadm, root user, use the history command, or the h alias
    - check if there are scripts running, which regularly delete files
    As the trans directory might be NFS mounted to other servers, you might need to do the checks there too.
    Best regards, Michael

  • Deleting Whole directory

    Hi all
    Can anybody help me with a piece of code for deleting all files (including dirctory) in a directory...
    Thanks
    Deepa K

    have a look at this
    http://javaalmanac.com/egs/java.io/DeleteDir.html?l=rel

  • Single user mode to delete backup directory - mackbook air

    i have some problm about backup directory in my macbookair, which keeps increasing volume in disk. now my startup disk is full due to backup files. i cant login on to delete them. i would like to know how to delete them to free some space then i could login again from singleuser mode? one of the user names is this laptop is <<asd f. dsa>>
    thanks in advance

    Well, I assume English isn't your main language because I'm having difficulty understanding you. However, boot into single-user mode. At the prompt enter:
    /sbin/fsck -fy
    If you receive a message that says "*** FILE SYSTEM WAS MODIFIED ***" then re-run the command until you receive a message that says "** The volume (nameofvolume) appears to be OK." If you re-run the command more than seven times and do not get the OK message, then the drive cannot be repaired this way.
    If you were successful then enter:
    /sbin/mount -uw /
    rm -rf "/Path To/File Name"
    Press RETURN after each of the listed commands.
    Be very careful to enter the correct and full path to where the file is located and correct file name. If you are uncertain about using the 'rm' command correctly then before you do use it enter: man rm followed by pressing RETURN. This will list the documentation for the 'rm' command.
    If you have multiple files in the same directory it may be easier to first move into the directory by entering: cd "/PathTo/Folder" followed by pressing RETURN. Then enter: ls -al and press RETURN. This will list the contents of the folder so you can identify the filenames you wish to delete.

  • Deleting a directory, sub directory file, files?

    Ok i was
    1. Wondering if this is possiable
    2. How do i do it.
    What im trying to have java do is start in directory:
    C:\Documents and Settings\Kevin Rose\Desktop\bob
    and from their
    go and delet
    C:\Documents and Settings\Kevin Rose\Desktop\bob\TextScripts\.svn\
    but i want it to do
    C:\Documents and Settings\Kevin Rose\Desktop\bob\*\.svn\
    star being a radical, so it would search the first layer of sub directorries
    then it would go on to
    C:\Documents and Settings\Kevin Rose\Desktop\bob\*\*\.svn\
    and continue on till about 5 layers down.
    IS this possiabel?
    thanks for the help,
    Kevin Rose

    You have two problems:
    - deleting directories recursively. Google brings up this: http://javaalmanac.com/egs/java.io/DeleteDir.html
    - determining which directories to delete. You need to check against your syntax whether the directory name is valid for deletion each time the delete method is called for it.

  • Trying to delete Active Directory but getting error's

    Hi There, 
    I am trying to delete an Active Directory that I have. I have removed all subscriptions from this Active Directory but now I get the message:
    Directory contains one or more applications that were added by a user or administrator.
    Under the Active Directory, I have no applications (it used to have applications and I have since removed them).
    I don't have any other subscriptions tied to this Active Directory. It could have been used for an Office 365 trial quite a few years ago.
    How can I remove this? Tried almost everything.
    Thanks

    Hello,
    A Global Administrator can delete an Azure AD directory from the Azure Management Portal. When a directory is deleted, all resources contained in the directory are also deleted; so you should be sure you don’t need the directory before you delete it.
    ERROR:  Directory has one or more applications
    If you get this error message you may have applications associated with the directory, in order to proceed with the deletion of the directory you must ensure these are removed.
    If you select the Applications pane within Azure Active Directory check the applications, and if they are not required then proceed with deleting them. If no applications are visible then you may find that you have ‘hidden’ applications that are not yet
    exposed via the UI.
    In order to delete this, you will need to use Azure Active Directory PowerShell module. You can download this (Manage Azure AD using Windows PowerShell)
    Once you have downloaded the required components and successfully installed them go ahead and launch a Powershell Console
    Connect -MsolService
    Enter your global admin credentials {example:
    [email protected]}
    It is important to note here that you wont be able to login using a Microsoft Account aka Live ID and so if this is the only identity you have. create a work account aka organizational account in the directory first to perform this action which you can
    delete once finished.
    Get -MsolServicePrincipal | Select DisplayName
    This will then show you what applications you have listed, some of which are require and won’t be able to be removed. if you don’t need any of the applications listed you can go ahead and remove them
    Get -MsolServicePrincipal | Remove-MsolServicePrincipal
    NOTE:
    You will find that some error (red text will be displayed) ignore that, those ones are service side service principals but they are white-listed and the deletion will work with them present.
    If this then fails, take a look at the PowerShell MSONLINE Log Files and if you still need further guidance, ensure to attach that to the support incident as it is super helpful to the support engineering teams when investigating the problem your having.
    These files can be found “C:\Users\%username%\AppData\Local\Microsoft\Office365\Powershell\”
    Regards,
    Neelesh.

  • Can not delete a directory

    Hi all folks,
    I spend some time to migrate from 10.2.8 to 10.4.3 and Update to 10.4.8 some days ago.
    But now I can't delete/handle a directory with a special character in the name. After starting 10.2.8 again I can use the directory like any other directory again.
    The directory name was called "Gelöschte Dateien", ö is ouml (html), on a WebDAV drive and copied to my PB a long time ago.
    The Finder from 10.2.8 shows something like "Gel"schte Dateien" (on my HFS disk), 10.4.8 shows "Gel?" only.
    I use Telnet to get more Information,
    10.2.8 show "Gel\342\200\235schte Dateien" and
    10.4.8 can't show this directory, ls -la hangs.
    Drop to the trash does not work, I try it, but the Finder hang all the time too (with 10.4.8).
    I start 10.2.8 again, I can delete/handle the directory, I drop it to the trash, and the directory is deleted now.
    Any idea what's going wrong,
    Lutz
    BTW, with 10.4.8 the directory "Gelöschte Dateien" is not displayed on the WebDAV drive, but 10.2.8 and WindowsXP display this directory all the time, .

    Lutz
    This is a known problem with certain special characters in file/folder names. I won't go into tedious detail, since it seems Apple may have fixed it.
    Someone else with this problem manage to cure it by running Repair Disk from the 10.4 Install disk and then using Secure Empty Trash. I don't know that the "Secure" made any difference, it is the disk repair that counts. If it doesn't work after trying Disk Utility, run fsck instead:
    Mac OS X: About Using Disk Utility and fsck for File System Maintenance
    Let us know if this helps!

  • Deleted Open Directory but WGM Policies are stuck

    I removed my Macbook Pro from our Open Directory server (unbind) and then I sold the server. The problem is now my MacBook is suddenly locking me out of the exact same preference panels that the WGM in the server used to lock me out of (as per policy). I can't access the Account panel, Sharing panel, or any custom ones such as Growl/ NTFS-3G or anything that wasn't on the server itself. How can I delete the WGM prefences restrictions that are on my machine? I have full access to the Terminal, and can su to the root account, as well as me being an Administrator on the OS itself. I just can't access these panels as they were blocked from all network users. I really don't want to reformat my Mac over this. Thanks

    Hi, I'm having a similar issue, but the client is Snow Leopard 10.6.6, not Snow Leopard Server. I don't believe Workgroup Manager comes with the client (plain Snow Leopard) OS. If it does, please help me find it. I have found these (http://discussions.apple.com/thread.jspa?threadID=726115&tstart=855) command line options, but they're from an old post and it hasn't seemed to work. Here is my post: http://discussions.apple.com/thread.jspa?messageID=13262474&#13262474

  • Server serves cached copy. Have to delete .wlnotdelete directory

    Hi all,
    I have had this issue on development as well as on production. We are using WLS
    6.1 sp4 on Win2k. If I have to redeploy an app, I have to manually delete the
    .wlnotdelete directory sometimes. Otherwise, WLS serves the cached copy. However,
    this is not an issue all the times. It is intermittent. Is there any parameter
    in config.xml which would force WLS to generate a fresh copy everytime an app
    is redeployed. Or am I missing anything? Appreciate any help.
    Thanks,
    Abbas

    We are analysing the same problem, but we can find out a pattern and without a reproducer we can't go on. So I have a list of questions about your deployment:
    - is production mode on or off?
    - do you use stage or no stage?
    - do you have a simple web app, with that you already experienced the problem?
    - what did you change in the application exactly?
    - did you shut down the server before redeploying?
    - do you use the ANT hot deployment script that comes with WLS (see http://e-docs.bea.com/wls/docs81/deployment/tools.html#999152) or do you use the console?
    thanks for answering: I'd like to open a Bug with a reproducer soon by BEA.
    ciao
    carlo

Maybe you are looking for

  • SAP NetWeaver 7.02 ABAP Trial Version Installation issues

    I have been trying to install 7.02 trial version for a while but I keep running into issues. At present I am stuck, the install has been at the same load for the past 6 hours with no indication of an error or progress. Below is the last part of the p

  • Device Switch Wizard Copies Messenger Contacts??​? CURVE 8900

    Hi there I got a curve 8900 and it was slightly faulty so i got another one and got told that the device switch wizard copies pretty much everything to phonebook, messages, calender dates etc HOWEVER does it also copy my messenger contacts?  Also doe

  • Identify the regions where the checkbox is checked

    Hi All, I've a page which contains 3 report regions each one with a checkbox column. User has the flexibility to select any/all rows from each region and I need to store the selected rows into a database table. I've created the below process to inser

  • Satellite Pro M10: image on the screen is very dark

    I have a Satellite Pro M10 Notebook that has a black screen, i.e. the back light doesn't work. There is an image on the screen but it is very dark. When connecting an external monitor I get a normal image on that monitor. From information gathered fr

  • Add several elements to a node

    Hello experts, I'm trying to add several elements to a node I have, the node cardinality is 0..n and the data I'm trying to pass comes from a hashtable, this is the code I have: ICifrasControlElement cifras = wdThis.wdGetContext().createCifrasControl