-
Hi guys,
On my database somebody has deleted the BIN directory.
Now what should i do ?
Regards
Rakesh M.D
-
just restore it from backup
-
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..
-
Hi Rakesh,
Just install the oracle software ..... thats it!!!!!!!
Thanks
Laxman
-
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
-
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
-
Have u copied on the same path as earlier...
Just check ur PATH parameter....
I am not sure....
regards
anandkl
anandkl
-
I edited my suggestion above
GOOD LUCK
In GOD I find everything
-
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
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|