Operating System - HP-UX
1753792 Members
6563 Online
108799 Solutions
New Discussion юеВ

how to start svrmgrl after cold-installation of HP-UX 11

 
SOLVED
Go to solution
Teck Sim
Frequent Advisor

how to start svrmgrl after cold-installation of HP-UX 11

AFter a cold-install of HP-UX, I tried to startup Oracle database:

$ svrmgrl
su: svrmgrl: not found.

Thanks.
7 REPLIES 7
Dave Chamberlin
Trusted Contributor

Re: how to start svrmgrl after cold-installation of HP-UX 11

Sounds like a path issue. Did you restore the .profile for your oracle user after the install?
PIYUSH D. PATEL
Honored Contributor

Re: how to start svrmgrl after cold-installation of HP-UX 11

Hi,

Have you created the Orcale user and whether it has a proper home directory.

Get the .profile for the Oracle user from the backup.

Note : You may have to re-install Oracle if Oracle was installed in the root volume group.

Piyush
MANOJ SRIVASTAVA
Honored Contributor

Re: how to start svrmgrl after cold-installation of HP-UX 11

Hi Tic

I assume you have installed oracle and the svrmgrl can be invoked with the proper path specified , or loginto oracel like su - oracle and run it . svrmgrl is a file found in /opt/oracle/product/8.1.7/bin/svrmgrl.


Manoj Srivastava
Wodisch_1
Honored Contributor
Solution

Re: how to start svrmgrl after cold-installation of HP-UX 11

Hello,

does your oracle-owning user ("oracle" perhaps) set the neccessary environment variables?
ORACLE_HOME=/u01/product/8.1.7
ORACLE_SID=DEMO

The values will be different for you, of course. And both have to be exported!
Then I would add a line like this to that user's "$HOME/.profile":
PATH=$PATH:$ORACLE_HOME/bin

Now try the "su - oracle" and the "svrmgrl" again...

HTH,
Wodisch
A. Clay Stephenson
Acclaimed Contributor

Re: how to start svrmgrl after cold-installation of HP-UX 11

Let's not overlook the obvious. Have you installed Oracle 9i? If so, svrmgrl is no more.
If it ain't broke, I can fix that.
Dave Wherry
Esteemed Contributor

Re: how to start svrmgrl after cold-installation of HP-UX 11

Along Clay's point. A cold install wipes out everything. Hopefully you Oracle environment was on another disk in which case you should be able to vgimport it. You will also need to add the oracle user back in. A cold install gives you a new password file so all your old users would also be gone. Since you have tried to start oracle I'm assuming you added the users back in though.
Jack Werner
Frequent Advisor

Re: how to start svrmgrl after cold-installation of HP-UX 11

When I installed Oracle 9i on HP/UX 11.0, I had to modify our scripts that stop/start the server's databases. The scripts used "svrmgrl" for Oracle 8i databases. The scripts now use "sqlplus" ala:

sqlplus /nolog <connect / as sysdba
shutdown transactional
startup
EOF

This example will recycle the $ORACLE_SID database and can handle an 8i or 8i instance. In a mixed-version Oracle environ you may have to fully qualify the path to sqlplus depending on how the PATH variable is managed.
i'm retired