DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Urgent....BIN directory lost

  1. #1
    Join Date
    Sep 2002
    Posts
    12
    Hi guys,
    On my database somebody has deleted the BIN directory.
    Now what should i do ?

    Regards
    Rakesh M.D

  2. #2
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    342
    just restore it from backup

  3. #3
    Join Date
    Sep 2002
    Posts
    12
    No, all my datafiles are intact.........
    I copied the bin directory from some other machine with the same version and put it on my machine...but it doesn't works....
    seems linking problem........

    Is there any way of stating my d/b

    Bye
    rakesh..

  4. #4
    Join Date
    Mar 2002
    Posts
    24
    Hi Rakesh,

    Just install the oracle software ..... thats it!!!!!!!


    Thanks
    Laxman



  5. #5
    Join Date
    Sep 2002
    Posts
    42
    if it is Solaris ,Great then
    First check the permissions of the file
    $ORACLE_HOME/bin/oracle
    they should be 4751 by oracle_owner
    login as oracle_owner and do
    chmod 4751 $ORACLE_HOME/bin/oracle
    for all other files you should have execute permssion

    Then try your operations like shutdown abort etc

    If not successful then do the following

    --------------------------------------------


    You kill all the oracle processes using kill -9 command

    Since oracle uses shared memory concept to create SGA's

    you have to remove them using ipcrm command(check with local expert).

    to identify shared memory keys use the following command

    ipcs -amp|grep

    the output will be as follows

    m 5373972 0x66ee288c --rw-rw---- oracle dba oracle dba 11 9
    9721216 145808 47772 11:13:24 11:13:24 0:11:33

    use the second argument in ipcrm

    ipcrm -m 5373972

    When it is successful you have removed shared memory areas

    after you do this then try once again,

    Let us know the status anyway



    GOOD LUCK

    [Edited by servant on 10-09-2002 at 06:34 AM]
    In GOD I find everything

  6. #6
    Join Date
    Sep 2002
    Posts
    12
    Hi,
    It is 8.1.7 on SOLARIS.....

    Is there no other way other than reinstalling the software..

    By the way any body know how to RELINK oracle after copying the BIN directory
    bye
    rakesh

  7. #7
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    Have u copied on the same path as earlier...
    Just check ur PATH parameter....

    I am not sure....

    regards
    anandkl
    anandkl

  8. #8
    Join Date
    Sep 2002
    Posts
    42
    I edited my suggestion above

    GOOD LUCK
    In GOD I find everything

  9. #9
    Join Date
    Sep 2002
    Posts
    12
    Yes to the same path ie...$ORACLE_HOME


    i am getting the follwing error after copying

    $ sqplus /nolog

    ld.so.1: sqlplus: fatal libclntsh.so.8.0 open failed: No such file or directory

  10. #10
    Join Date
    Sep 2002
    Posts
    42
    Are your databases UP???when the bin directory was removed

    If any oracle processes were running while the bin was removed follow the above steps

    You can get rid of sqlplus error by exporting LIBPATH

    export LIBPATH=$ORACLE_HOME/sqlplus/lib:$ORACLE_HOME/lib:/usr/lib:/lib .Then atleast you won't get the error

    In GOD I find everything

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width