- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: svrmgrl and root user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:00 AM
05-01-2002 06:00 AM
svrmgrl and root user
I have a probleme using svrmgrl under root user. when starting svrmgrl under root i get error:
ORA-12560: TNS:protocol adapter error
My environement for root is the same as oracle user for ORACLE_HOME ORACLE_SID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:07 AM
05-01-2002 06:07 AM
Re: svrmgrl and root user
Check this document (TKB #A5500557):
http://us-support.external.hp.com/cki/bin/doc.pl/sid=8d22b04c1b9c779606/screen=ckiDisplayDocument?docId=200000039876174
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:18 AM
05-01-2002 06:18 AM
Re: svrmgrl and root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:23 AM
05-01-2002 06:23 AM
Re: svrmgrl and root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:43 AM
05-01-2002 06:43 AM
Re: svrmgrl and root user
$ oerr ora 12560
12560, 00000, "TNS:protocol adapter error"
// *Cause: A generic protocol adapter error occurred.
// *Action: Check addresses used for proper protocol specification. Before
// reporting this error, look at the error stack and check for lower level
// transport errors.For further details, turn on tracing and reexecute the
// operation. Turn off tracing when the operation is complete.
Do you have any other transport issues on your system? Are you able to establish TCP/IP sessions and communicate between sockets OK?
Check this with #netstat -an. You may want to turn on tracing like the recommendation states.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:46 AM
05-01-2002 06:46 AM
Re: svrmgrl and root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:48 AM
05-01-2002 06:48 AM
Re: svrmgrl and root user
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:51 AM
05-01-2002 06:51 AM
Re: svrmgrl and root user
You may like to look at this
http://www.cryer.co.uk/brian/oracle/ORA12560.htm
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 07:01 AM
05-01-2002 07:01 AM
Re: svrmgrl and root user
Oracle8 also requires that SHLIB_PATH is set to ${ORACLE_HOME}/lib
Do you have this problem with sqlplus as well as svrmgrl?
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 07:16 AM
05-01-2002 07:16 AM
Re: svrmgrl and root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 09:21 AM
05-01-2002 09:21 AM
Re: svrmgrl and root user
su - orausr -c orascr.sh
Just make sure that the orascr.sh have rx permissions also for the orausr
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 10:52 PM
05-02-2002 10:52 PM
Re: svrmgrl and root user
Can you check these two things.
1. Have you got a local .tnsnames.ora file in the Oracle user home directory.
2. Please set the TNS_ADMIN variable for the root user to the directory where tnsnames.ora is residing.
Just my two cents.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 02:32 AM
05-03-2002 02:32 AM
Re: svrmgrl and root user
the
connect internal
will only succeed, if the user issuing it belongs to the "dba" group that was linked into the oracle executables upon installation.
So if this is "dba" you may try to add root to this group.
The other option would be to
connect user as sysdba
which may require a password.
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 03:29 AM
05-03-2002 03:29 AM
Re: svrmgrl and root user
This game you play is very dangerous.
I can tell you from long hours of restoring after starting jobs as 'root', which then killed my production databases.
DO yourself a favour and keep root as far away as possible from playing around with Oracle stuff. I know, that it looks like a piece of cake handling all Oracle things from root, but don't fall for it.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 03:37 AM
05-03-2002 03:37 AM
Re: svrmgrl and root user
I want to second the "motion" that Alexander made. As an ex-DBA I still occasionaly help out the DBA's, but I never use my "new powers" (root access) to do so. One day you'll accidently have a database that gets started as both root and oracle ... and I once saw the result from something like that :-( ... it's not pretty.
Change the script to do a "su - oracle" before svrmgrl !
Regards,
Tom
P.S. N/A for this please. I just wanted to enforce what others already said. You'll make me very happy if you just don't use root :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 04:50 AM
05-03-2002 04:50 AM
Re: svrmgrl and root user
And if a script running svrmgrl have broken a database it would have break it even if it was running under Oracle user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 05:20 AM
05-03-2002 05:20 AM
Re: svrmgrl and root user
For what it's worth, I've never had any trouble running Oracle databases from root. The main trick is to change root's primary group to dba.
When run as root, Oracle switches all the database processes to run as 'daemon' so they are not privileged.
I've also alternated starting databases as root and oracle - again with no problems.
Oracle won't let you run an instance more than once - even from different users.
svrmgrl (and sqlplus for that matter) should be capable of being run from root using the bequeath protocol. It might be worth relinking svrmgrl and sqlplus, what version of Oracle are you using?
Regards,
John