<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sqlplus connection error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049428#M813089</link>
    <description>We've found a way around the problem - which we found to be:&lt;BR /&gt;&lt;BR /&gt;1) The opcdbpwd script isn't changing the encrypted passwd file (/etc/opt/OV/share/conf/OpC/mgmt_sv/.opcdbpwd.sec) but I don't know why so we:&lt;BR /&gt;copied the .opcdbpwd.sec file from the production system (because we know what that password is) and changed the opc_op password to be the same but :&lt;BR /&gt;2) The opc_op password is hard coded into the opcdbsetup script for some reason. So I just edited the script to contain the password in the copied over .opcdbpwd.sec file.&lt;BR /&gt;&lt;BR /&gt;But it worked so we're happy - for now...</description>
    <pubDate>Fri, 15 Aug 2003 02:57:21 GMT</pubDate>
    <dc:creator>Ronelle van Niekerk</dc:creator>
    <dc:date>2003-08-15T02:57:21Z</dc:date>
    <item>
      <title>sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049417#M813078</link>
      <description>We're a little stumped as to why root does not have "sufficient privelages" when connecting to the database via sqlplus.&lt;BR /&gt;&lt;BR /&gt;[/opt/OV/bin/OpC]openview&amp;gt; sqlplus&lt;BR /&gt;&lt;BR /&gt;SQL*Plus: Release 9.2.0.1.0 - Production on Fri Aug 15 09:58:32 2003&lt;BR /&gt;&lt;BR /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Enter user-name: / as sysdba&lt;BR /&gt;ERROR:&lt;BR /&gt;ORA-01031: insufficient privileges&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When we run sqlplus as oracle and connect in the same way we can get into the database.&lt;BR /&gt;&lt;BR /&gt;btw: we have to connect from root because the script that is giving us errors has to be run by root.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;-Ronelle</description>
      <pubDate>Thu, 14 Aug 2003 21:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049417#M813078</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-14T21:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049418#M813079</link>
      <description>Root is most likely not in the DBA group (or group that you specified on installation).  This is required for a connection as sysdba to occur.&lt;BR /&gt;&lt;BR /&gt;You shouldn't do maintenence from the root account.  It is better to work from the oracle or DBA account.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Thu, 14 Aug 2003 21:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049418#M813079</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2003-08-14T21:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049419#M813080</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;Thanks - I tried putting root in the dba group but it still didn't help.&lt;BR /&gt;&lt;BR /&gt;We're running this as root because it is part of the opcconfig script that sets up the database. This script is run by root....</description>
      <pubDate>Thu, 14 Aug 2003 21:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049419#M813080</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-14T21:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049420#M813081</link>
      <description>Can this works:&lt;BR /&gt;&lt;BR /&gt;1. login as root &lt;BR /&gt;2.change path to the oracle/bin directory &lt;BR /&gt;3.su - oracle &lt;BR /&gt;4.enter ./sqlplus (If that doesn't work, enter the full pathname: /oracle/bin/sqlplus) &lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 22:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049420#M813081</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-14T22:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049421#M813082</link>
      <description>Twang,&lt;BR /&gt;&lt;BR /&gt;I mentioned before that the oracle user can connect via sqlplus.&lt;BR /&gt;&lt;BR /&gt;The problem is with the root user connecting via sqlplus.&lt;BR /&gt;&lt;BR /&gt;-Ronelle&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 22:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049421#M813082</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-14T22:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049422#M813083</link>
      <description>Hi Ronelle&lt;BR /&gt;&lt;BR /&gt;I presume you're talking about an OVO (ITO) install here and are trying to setup the Oracle DB?&lt;BR /&gt;&lt;BR /&gt;Its been a while since I did an ITO install but you run the opcconfig script as root &amp;amp; this prompts you for a whole series of questions related to the DB. Is it during the script that the sqlplus connection is failing?&lt;BR /&gt;I may be going over you ground you've already covered but prior to running opcconfig I think you need to set $ORACLE_HOME, $ORACLE_SID &amp;amp; maybe a few other Oracle variables?&lt;BR /&gt;&lt;BR /&gt;On my OVO server, when I'm logged in as user root I cannot connect to the DB and get exactly the same error message you posted.&lt;BR /&gt;&lt;BR /&gt;Can you advise when you get this error message, during the script execution or attempting a manual sqlplus connection as user root.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 00:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049422#M813083</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-08-15T00:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049423#M813084</link>
      <description>It is quite common for the 'root' user to be required to have 'connect internal' privilege. Unfortunately it is also common for the root users primary group to be the group 'daemon' which precludes it from being allowed to connect internal. There are two ways to tackle this problem: &lt;BR /&gt;a) Make the root users PRIMARY group the DBA group &lt;BR /&gt;or b) Where available use the 'newgrp' command to change the users  &lt;BR /&gt;     primary group to the DBA group. &lt;BR /&gt;     Eg:  $ newgrp dbagroup &lt;BR /&gt;         $ svrmgrl &lt;BR /&gt;         SVRMGR&amp;gt; connect internal &lt;BR /&gt;This can also be used in shellscripts thus: &lt;BR /&gt;         newgrp dbagroup &amp;lt;</description>
      <pubDate>Fri, 15 Aug 2003 00:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049423#M813084</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-15T00:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049424#M813085</link>
      <description>Thanks for the replies!&lt;BR /&gt;&lt;BR /&gt;Con, you're right, on the production server we can't connect as root either so this is obviously not where the problem lies.&lt;BR /&gt;&lt;BR /&gt;TYhis is the error from teh opcconfig command that prompted me to test it :&lt;BR /&gt;&lt;BR /&gt;         Checking, if Oracle Net listener is already configured ..&lt;BR /&gt;&lt;BR /&gt;         Found the following names in tnsnames.ora:&lt;BR /&gt;                 ov_net&lt;BR /&gt;&lt;BR /&gt;NOTE:    Oracle Net listener alias ov_net used.&lt;BR /&gt;         Assuming Oracle Net listener is configured by VPO.&lt;BR /&gt;         Creating the ITO tables ...&lt;BR /&gt;Error opcdbinst(12636) : Database: ORA-01017: invalid username/password; logon d&lt;BR /&gt; (OpC50-15)&lt;BR /&gt;Could not connect to database ov_net.&lt;BR /&gt;Please look if the database processes are running. (OpC50-2)&lt;BR /&gt;ERROR:   Error occurred in the program opcdbinst during creation of the&lt;BR /&gt;         database tables.&lt;BR /&gt;ERROR:   An error ocurred running opcdbsetup&lt;BR /&gt;-------&amp;gt; Do you want to continue the configuration (y/n) n&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas as to which user opcdbinst is trying to connect as?&lt;BR /&gt;Or why it cannot connect</description>
      <pubDate>Fri, 15 Aug 2003 00:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049424#M813085</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-15T00:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049425#M813086</link>
      <description>Hi Ronelle&lt;BR /&gt;&lt;BR /&gt;Afraid I can't be much help.  The only suggestion I could make would be to go through the Installation Guide again &amp;amp; recheck all the steps ie oracle, opc users set up correctly, correct groups, umask settings, required variables correctly defined, perms on directories/files etc etc.  Its possible that its some small little thing like that.&lt;BR /&gt;&lt;BR /&gt;Another thing, I don't know much about TNS Names &amp;amp; SQL*NET setup but might be worth getting a DBA to check this setup etc.  &lt;BR /&gt;&lt;BR /&gt;I'd also post this message in the OpenView ITO forums:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/CategoryHome/1,,162,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/CategoryHome/1,,162,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 15 Aug 2003 00:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049425#M813086</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-08-15T00:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049426#M813087</link>
      <description>Hi Ronelle&lt;BR /&gt;&lt;BR /&gt;One other thing, opcconfig script has lots of hard coded stuff in it &amp;amp; often relies on a completely standard Oracle DB install.  I'd also go back &amp;amp; check the DB install etc.&lt;BR /&gt;&lt;BR /&gt;Have a search on the ITRC forums, there's loads of threads on opcconfig problems/failures etc.  One of them might point you in the right direction.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Fri, 15 Aug 2003 01:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049426#M813087</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-08-15T01:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049427#M813088</link>
      <description>Thanks Con,&lt;BR /&gt;&lt;BR /&gt;We've gone over it a thousand times already.</description>
      <pubDate>Fri, 15 Aug 2003 01:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049427#M813088</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-15T01:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus connection error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049428#M813089</link>
      <description>We've found a way around the problem - which we found to be:&lt;BR /&gt;&lt;BR /&gt;1) The opcdbpwd script isn't changing the encrypted passwd file (/etc/opt/OV/share/conf/OpC/mgmt_sv/.opcdbpwd.sec) but I don't know why so we:&lt;BR /&gt;copied the .opcdbpwd.sec file from the production system (because we know what that password is) and changed the opc_op password to be the same but :&lt;BR /&gt;2) The opc_op password is hard coded into the opcdbsetup script for some reason. So I just edited the script to contain the password in the copied over .opcdbpwd.sec file.&lt;BR /&gt;&lt;BR /&gt;But it worked so we're happy - for now...</description>
      <pubDate>Fri, 15 Aug 2003 02:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-connection-error/m-p/3049428#M813089</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-08-15T02:57:21Z</dc:date>
    </item>
  </channel>
</rss>

