Connect as sysdba from network(client)

when i connect to oracle database on network (client)
as sysdba then it will gives error
but when same command is issue on server then it will connect to oracle with no error
:-on network machine
SQL> CONNECT SYS/CHANGE_ON_INSTALL@SAFEDB AS SYSDBA
ERROR:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
init.ora file
remote_login_passwordfile EXCLUSIVE
and
SQL> select * from V_$PWFILE_USERS ;
USERNAME SYSDB SYSOP
INTERNAL TRUE TRUE
SYS TRUE TRUE
whats the problem??

recreate your passwordfile in order to ensure that it is not shared and try.
Joel P�rez

Similar Messages

  • Connecting as SYSDBA from Remote Machine

    Hello,
    I've installed Oracle8.6.1 on Linux6.2,& i've installed DBA studio on one my windows'NT machine.
    When i want to connect as SYSDBA from DBA Studio & Username/Password as system/manager it says --
    ORA-01031 Insufficient Privileges
    but i'can connect as SYSOPER & Normal.
    Do anyone know how to solve this problem???
    null

    1. use orapwd command-line utility to create a new password file.
    2. set remote_login_passwordfile = exclusive in initxxx.ora file.
    3. restart instance.
    4. use sql*plus or svrmgrl to grant sysdba right to the schemas you want to be able to logon with sysdba rights.

  • Connecting to Db from a client

    Hi All,
    am very new to Oracle.
    I have a db server that is up and running.
    I installed client on another pc.
    After configuring the Client using the oracle net manger , I tried to test my connection, but it gave me the error message:
    ORA-12541: TNS: No listner.
    I was able to test the connection from the server pc to the db, but cannot from the client.
    I am using 10g and on win xp.
    Your help will be highly appreciated.
    NB: I checked the listner status in the DB and every thing seemed alright.
    thanks all

    On your database server check if listener is running.
    lsnrctl status
    On your PC client side double check if you got hostname and port entered correctly. compare with listener status output

  • Cannot connect to database from a client machine (ORA-12154)

    Hi,
    I have installed Oracle XE Server on one of my machines and Oracle XE Client on another. When I try to connect to the server from the client using command line, error ORA-12154 is displayed. I am pasting the data of my .ora files so that you can point out the errors if any in these files.
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Sqlnet.ora
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    I will be very happy if anyone can suggest me a solution.
    Thanks & Regards,
    Harshad

    Harshad,
    CONNECT system/[email protected]
    This was not what I asked you to try, this cannot work ;).
    I asked you to try :
    connect system/[email protected]:1521/XE
    I have also tried accessing the database homepage remotely using the url
    http://abo-server.abosoftware.org:8080/apex
    Per default only local access (from the same machine) is allowed via http.
    You can change that either via the GUI (log in as SYSTEM):
    Home>Administration>Manage HTTP Access
    OR
    connect as SYSTEM via sqlplus and run:
    SQL>exec dbms_xdb.setListenerLocalAccess(false);###
    It is documented at
    http://download-west.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABIJBHJ
    And yes, you need to open both ports 1521 and 8080 to access it remotely.
    ~Dietmar.

  • Help-connect as sysdba from client

    Hi All,
    I'm using oracle 8i, win2k,
    and set the parameter remote_login_passwordfile=exclusive
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    INTERNAL TRUE TRUE
    SYS TRUE TRUE
    But when I tried to login from client(sqplus release 8.0.6.0.0 from oracle developer 6i), and the error occured:
    SQL> connect sys/change_on_install as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    How to solve the problem?
    TIA

    anyone please help.
    TIA

  • Oracle 11g is not connecting from network client machine.

    Oracle 11g was installed on windows server 2003.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor ._
    we are getting the above oracle exception when we give the following command:
    LSNRCTL> services oracle11g_listener
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CBR-SRV-HPORA.CIBER-INDIA.IN)(PORT=1522)))
    The listener supports no services_
    The command completed successfully.
    C:\Documents and Settings\oracle>sqlplus scott/tiger@oracle11g_netservice
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 28 18:10:40 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Please advice what could be the problem.
    Thanks.

    Your Lstener doesn't know anything about services. You must configure the dynamic registration of the service in your database, e.g.
    alter system set local_listener="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CBR-SRV-HPORA.CIBER-INDIA.IN)(PORT=1522)))";
    (for permanent setting don't forget pfile or spfile)
    After that the database will register the services at thie address und you will see the service when asking 'srvctl services oracle11g_listener'
    Regards,
    dojo

  • Error while trying to connect to weblogic from remote client

    Hi
    I was trying to connect to JMX MBeanserver from a aremote client using some sample code that was posted. Ive tried even the samples that I found in the Admin Guide itself. Im not certain if any server configuration is needed. Ive tried the below with all three protocols t3, iiop, http with the same result. I had also enabled IIOP on the server through the console.
    I get an error when trying to conenct using the JMXConnection Factory i.e. at the last line of the following code:
    String protocol = "t3"; // can be t3, http, iiop
    String hostname = "santapoco.eng";
    int port = 7001;
    String uri = "/jndi/"+"weblogic.management.mbeanservers.runtime";
    JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, uri);
    Hashtable h = new Hashtable();
    h.put(Context.SECURITY_PRINCIPAL, "weblogic");
    h.put(Context.SECURITY_CREDENTIALS, "weblogic");
         h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
    JMXConnector connector =JMXConnectorFactory.connect(serviceURL, h);
    The error is:
    "Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException]
         at weblogic.jrmp.Context.lookup(Context.java:189)"

    Pratima Gogineni <> writes:
    This is what worked for me:
    URI uri = new URI(args[0]);
    JMXServiceURL serviceURL =
    new JMXServiceURL(uri.getScheme(), uri.getHost(), uri.getPort(),
    "/jndi/weblogic/management/mbeanservers/runtime");
    Hashtable h = new Hashtable();
    h.put(Context.SECURITY_PRINCIPAL, "system");
    h.put(Context.SECURITY_CREDENTIALS, "ejb2come");
    // String[] jmxCredentials = new String[]{ "system", "ejb2come" };
    // h.put(JMXConnector.CREDENTIALS, jmxCredentials);
    h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
    "weblogic.management.remote");
    h.put(Context.PROVIDER_URL, args[0]);
    // h.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    h.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // InitialContext ic = new InitialContext(h);
    // ic.lookup("weblogic/management");
    JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);
    MBeanServerConnection connection = connector.getMBeanServerConnection();
    NOTE this was with weblogic 91--

  • Cannot connect to DB from a client computer

    Hi,
    I installed 11gR2 last week and can access it from the DB server. However I cannot connect to the DB from my laptop :-(
    ==============================================================
    C:\Users\jchen>tnsping jchen_dev
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-MAY-2011 11:55:49
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\app\jchen\product\11.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = jchen-desktop.us.responsys.com)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jchendev.us.responsys.com)))
    TNS-12535: TNS:operation timed out
    C:\Users\jchen>
    C:\Users\jchen>ping jchen-desktop.us.responsys.com
    Pinging jchen-desktop.us.responsys.com [172.19.192.132] with 32 bytes of data:
    Reply from 172.19.192.132: bytes=32 time=3ms TTL=64
    Reply from 172.19.192.132: bytes=32 time=1ms TTL=64
    Reply from 172.19.192.132: bytes=32 time=1ms TTL=64
    Reply from 172.19.192.132: bytes=32 time=1ms TTL=64
    Ping statistics for 172.19.192.132:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 3ms, Average = 1ms
    C:\Users\jchen>
    ===========================================================
    If I do the same thing on DB server, I got:
    ========================================================
    [oracle@jchen-desktop ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2011 11:49:29
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 16-MAY-2011 10:52:05
    Uptime 4 days 0 hr. 57 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/jchen-desktop/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jchen-desktop.us.responsys.com)(PORT=1521)))
    Services Summary...
    Service "jchendev.us.responsys.com" has 1 instance(s).
    Instance "jchendev", status READY, has 1 handler(s) for this service...
    Service "jchendevXDB.us.responsys.com" has 1 instance(s).
    Instance "jchendev", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@jchen-desktop ~]$
    [oracle@jchen-desktop ~]$ tnsping jchendev
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2011 11:51:15
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = jchen-desktop.us.responsys.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jchendev.us.responsys.com)))
    OK (40 msec)
    [oracle@jchen-desktop ~]$
    ================================================================
    I am totally lost... What is going on here?
    Any help is highly appreciated!
    James

    but I can ping the server and ssh to the server from my laptop...certain ports can be opened through FireWall while all others remain closed.
    Listener accepts initial connection request on Port #1521 & then completes request on random high port
    use of Wire Shark or similar packet sniffer can answer the mystery

  • Connect to OWB from a client computer

    hi ,
    i have installed Oracle 10g and owb 10 on my computer , i have a designed and implemented a WH on it .
    can another user from another computer (which have installed OWB 10 on it's computer ) connect to my computer as a client and work with it's schemas via control center ? if yes , does it need any special condition.
    reagrds
    Padideh

    Hi ,
    i have installed OWB and DB 10g on my computer , my friend wanna connect to my computer as a cleint and work on my target schema via design center . she has installed OWB 10 on her computer .
    my design center connection information is :
    user : padideh1
    pass: padideh1
    host : Shahr
    port : 1521
    service name : orcl.teh.org
    she enters these connection information in her design center logon window .
    regards
    Padideh

  • Connect to SYSDBA from inside SQLplus? Default password?

    Ok, I could call SQLplus with the SYSDBA user as
    sqlplus / as sysdba
    but assume I am in a SQLplus session as SYSTEM user and I just want to quick switch to SYSDBA
    through a "conn" command and execute some instructions?
    How can I do this? How is the default password of SYSDBA (and SYSOPER) ?
    the following does not work:
    SQL>conn SYSDBA/sysdba
    How else can I connect?
    Peter

    user559463 wrote:
    Ok, I could call SQLplus with the SYSDBA user as
    sqlplus / as sysdba
    but assume I am in a SQLplus session as SYSTEM user and I just want to quick switch to SYSDBA
    through a "conn" command and execute some instructions?
    How can I do this? How is the default password of SYSDBA (and SYSOPER) ?
    the following does not work:
    SQL>conn SYSDBA/sysdba
    How else can I connect?
    PeterPeter,
    Well first of all, there is no user called SYSDBA, Its a role not a user. Here is the link which tells what this role contains and another SysOPER also,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref137
    Now the comamnd that you have given, connect sysdba/sysdba, is wrong fron start to finish as there is no user like this. One may think that the option to quickly switch can be setting the current schema to sys but that also doesn't work for SYS user,
    SQL> conn system/oracle
    Connected.
    SQL> select  * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> alter session set current_schema=scott;
    Session altered.
    SQL> select * from salgrade;
         GRADE      LOSAL      HISAL
             1        700       1200
             2       1201       1400
             3       1401       2000
             4       2001       3000
             5       3001       9999
    SQL> alter session set current_schema=sys;
    Session altered.
    SQL> select * from x$bh;
    select * from x$bh
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>So the only option is to actually log in as Sys user.
    HTH
    Aman....

  • Connecting Coherence cache from C++ client

    hi,
    We are trying to connect c++ clients to coherence server running in java. do we need to make any specific changes ? we just tried to load the coherence-client.xml used for java clients in c++. but it doesnt seem to work.. we are getting below error
    Fatal Error coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {
    abchost/1.1.1.1:9015,
    }; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor

    Please check the below documentation. It has instructions to configure Client side and Cluster side
    Setting Up Coherence*Extend

  • Trouble connecting to RDP from single client machine.

    I have a Server 2012 machine running remote desktop services.  Users at our branch offices connect to it over the corporate VPN.
    It has been running for over a year now with no significant issues, until this past Tuesday.
    I have exactly one client machine that immediately disconnects upon connecting to the machine.  This does not generate very helpful error codes - On the server side, just a generic 4005 - The Windows logon process has unexpectedly terminated.
    All other client machines can connect to the server without issue, including other client machines in that branch office.  Furthermore, attempting to simply remote desktop into another 2012 server produces the same results on this machine, while remote
    desktop to another windows 7 client machine seems to work just fine.
    I have seen some similar problems mentioned, but they typically involve a server that consistently fails with all clients, whereas I have a single client machine that suddenly cannot RDP to Server 2012 machines.  Any ideas?

    Hi,
    Thank you for posting in Windows Server Forum.
    Have you check with other user account on that client machine?
    Does ping response successfully to the server?
    Firstly please try to run sfc /scannow, check performance for that system, check event viewer whether can find any particular error\event id. For more information you can refer below article.
    Fix “The Windows Logon Process has Unexpectedly Terminated”
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • ORA-01031 when connecting as sysdba after upgrading DB 10.2.0.1 to 10.2.0.3

    Hello everyone
    I have just finished upgrading my development database from 10.2.0.1.0 to 10.2.0.3.0. I have also upgraded my workstation client software to 10.2.0.3.0. Everything appears to be working fine except that I can no long access the new database "as sysdba" from my client computer. Each time I try to login using sys/password@mydb as sysdba I get an ORA-01031: Insufficient privileges error.
    I have no problem connecting to the database using any other normal user. I can connect using "/ as sysdba" from the server console and I also have no problem accessing my production database -- which is still 10.2.0.1 using the 10.2.0.3 drivers. The server is running SLES9 while my workstation runs openSUSE 10.2.
    Any help will be most welcome
    Thanks in advance.
    Thanassis.

    Ensure you have your password file inatct (recreate it if necessary).
    HTH,
    cciontu.

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • Insufficient Privilege when connect / as sysdba

    Hai All,
    when I connect / as sysdba from sqlplus then,
    insufficient privilege error comes..
    Yesterday I issue a command alter system set fixed_date=none
    after that this error comes..
    How to connect in sqlplus.... oracle version is 9i.
    Shiju

    I have reproduced the conditions you posted here, but I find absolutely no problem and no relation with the fixed_date parameter.
    I figure out the problem lies with the way you are trying to gain access as the SYSDBA role.
    You don't specify your OS. It is important, as several factors influence the success of a SYSDBA connection in windows, meanwhile in a unix environment it is just enough to belong to the install time declared privileged group (dba is the most commonly used).

Maybe you are looking for

  • Envelope Margins on L7580

    I noticed that similar questions have been posted here and never answered, so I thought I'd try again. I have the same problem others have:  when I try to print an envelope, the printer insists on a .665 (or something near that) margin at the top, so

  • Flash as Webcam Community?

    Since I can't seem to find the answer anywhere (or maybe I'm asking it incorrectly?) I'll try it here, and thanks in advance for your input. =) I run a small webcam community, in which people download my proprietary software (WebcamX or SpyCast Webca

  • Database backup steps

    Hello: I am a DBA begineer, and would like to know how to backup a database and restores. Is there single script can do this ? Thanks. Dima

  • Datafile Drop problem

    Hi all, Oracle Version: 10.2.0.1 Os: Windows Server 2003 Scenario: I mistakenly add datafile in a tablespace and now i want to drop that datafile but getting error ORA-02142: missing or invalid ALTER TABLESPACE option But when i try the same scenario

  • Browser does not allow page refresh after Commit!

    Hello everyone, I am using JDeveloper 11.1.2.3.0 I am having a big problem here. I create a simple page and insert a form, a createInsert button and a commit button for example. I run this page and everything is fine. I create a new record, fill the