Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot start svrmgrl 1

Status
Not open for further replies.

Moose467

Technical User
Joined
Aug 6, 2002
Messages
47
Location
GB
Hi,
can anyone help.
I'm performing a disaster recovery test. I'm trying to restore an oracle database (8.1.7.3 64 bit) on AIX 4.3.3.
due to problems with the $ORACLE_HOME backup I am having to use an $ORACLE_HOME from a different machine, the versions are identical but the database SID is not. I am having trouble starting svrmgrl to start the database as it keeps trying to look in the directory /oracle/<old SID>/817_64/lib64 I have been through the configuration files I know to find this parameter with no joy, can anyone please help?

the messages I get on loading svrmgrl are...
0509-036 Cannot load program oracleP30 because...
0509-150 Dependent module /oracle/T30/817_64/lib64/libibk.a could not be loaded
0509-022 cannot load module
0509-026 system error

Thanks for any help you can give

Phil
 
make sure you have changed references to old directory of the .profile of the user you are using to start svrmgrl.



Sy UK
 
Yes Thanks I have tried there, and all references point to the new SID.
Are there any other config files I might have missed?
 
i take it you have reloaded your profile, or logged off and back on again once you had made the change!

from your .profile, are you referencing any other environment files?



Sy UK
 
yes I have relogged on to activate the profile.
The only other reference I can see is to .kshrc, I've checked this as well and made the nessesary changes, but still no joy.

can you tell me if it is possible to do what I am trying to do? use the $ORACLE_HOME filesystem with another databases datafiles?

Thanks for your help with this
 
yes, am i correct in assuming... You have copies your db product top (oracle home) to another machine or directory and you are trying to invoke svrmgrl, but the oracle home has changed and are receiving problems.

If this is the case then yes you can, no problem as i have done it numerous times, yesterday in fact!

When you say datafiles, we are not at that stage yet correct? as at present i thought we were trying to get svrmgrl executable to work!

pls post a copy of your .profile. + echo $ORACLE_HOME



Sy UK
 
Hi.
Have you already tried to relink ($ORACLE_HOME/bin/relink) after you copied the binaries?

Stefan
 
Good point however i dont think it stores the absolute path when you relink the binaries, rather instead use the relative path to oracle home.

syntax:

You can relink most of the executables associated with an Oracle Server Installation by running the following command: % relink all This will not relink every single executable Oracle provides(you can discern which executables were relinked by checking their timestamp with 'ls -l' in the $ORACLE_HOME/bin directory). However, 'relink all' will recreate the shared libraries that most executables rely on and thereby resolve most issues that require a proper relink.

Sy UK
 
Hi again,
I have tried useing the relink all command, and that sorted my problems with the listener, but server manager was still a problem.
I managed to get round the problem, by giving the program what it wanted, I created the directory it was asking for and created a symbolic link pointing to the real $ORACLE_HOME. This worked fine, but as you will agree its not the most ideal solution.
Unfortunately I don't have the machine anymore as I was doing a disaster recovery test off site, but at least I have a better idea if the sistuation ever arises.
Thanks very much to all those who helped.

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top