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.

Similar Messages

  • Unable to connect to APEX from remote machine.

    Hi All,
    I have installed APEX 4.2.2 on Oracle 10g XE , the installation was successful and I am able to see the apex home page.
    I have used the port 1234 for the same.
    http://127.0.0.1:1234/apex/f?p=4550:1:14917953436987
    Now I have configured web listener apex_listener2.0.3 for remote machines and used port 8086.
    The listener was started on standalone mode successfully, but when I am trying to access below URL :
    http://localhost:8086/apex/
    I am getting 503 - Service unavailable error.
    I have disabled local listener also , but still it is not woking .
    SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE) ;
    commit;
    Please help .

    Getting below message in console whenever I am trying to access http://localhost:8086/apex/
    SEVERE: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource
    oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled
    Could you please help me on this.

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Tail command to read httpd log from remote machine

    hi!
    does anyone know how to read the httpd log file using the tail command froma remote machine?
    i have a mac using osx sharing the internect connection to other machines. this machine has the http server running on it and i would like to check the httpd log file (from this server) from my computer in the same LAN.
    can anyone help please??
    G5 2.5ghz dual   Mac OS X (10.4.4)  

    As Ashish rightly said, you need to use ftp/scp.
    You can create a shell script on unix machine. Which shall copy the file from Windows machine to Unix machine on particular directory. Then you may need to change permissions of the file.
    Once that is done, same shell script can call procedure in oracle.
    You can schedule this shell script in Crontab to run at specified time daily, if you the timing of availability of file.
    Regards,
    Arpit

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • Unable to connect to WMI on remote machine

    I get this error in my CCM.log after trying to install on a client server 2003 sp2.
    ---> Connected to administrative share on machine LCAPP22.lc100.net using account 'lcdom100\XXXXXX' SMS_CLIENT_CONFIG_MANAGER 11/26/2007 1:43:01 PM 7856 (0x1EB0)
    ---> Searching for SMSClientInstall.* under '\\LCAPP22.lc100.net\admin$\' SMS_CLIENT_CONFIG_MANAGER 11/26/2007 1:43:01 PM 7856 (0x1EB0)
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x80070005 SMS_CLIENT_CONFIG_MANAGER 11/26/2007 1:43:01 PM 7856 (0x1EB0)
    ---> Unable to connect to WMI on remote machine "LCAPP22", error = 0x80070005. SMS_CLIENT_CONFIG_MANAGER 11/26/2007 1:43:01 PM 7856 (0x1EB0)
    ---> Deleting SMS Client Install Lock File '\\LCAPP22.lc100.net\admin$\SMSClientInstall.R01' SMS_CLIENT_CONFIG_MANAGER 11/26/2007 1:43:01 PM 7856 (0x1EB0)
    No CCMSETUP folder is created on the client machine, what should I be looking at next?

    Hi Dears
    i have same problem 
    in ccm.log in server side
    unable to connect wmi on remote machine error 0x80070005
    and
    unable to connect wmi on remote machine error 0x800706ba
    and
    unable to connect wmi on remote machine error 0x8004100e
    my firewall off on client an sccm server
    i have open wmimgmt.msc on client an sccm server without problem
    dcom enable on sccm server (dcomcnfg>default properties)
    but when i right click on three systems on sccm server and install client, ccm.log show these reports 
    unable to connect wmi on remote machine error 0x80070005
    and
    unable to connect wmi on remote machine error 0x800706ba
    and
    unable to connect wmi on remote machine error 0x8004100e
    now i want to know what can i do?
    thanks

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • Connection problems with DI-SERVER 2007 & B1WS from remote machine

    Hi,
    Can you please help us better understand what the issue is, and how to solve it?
    I am seeking to get B1WS working on remote machines.
    I have built a small test application, which works fine on the server which also hosts the SQL Server instance and IIS.
    When I move the application to another machine, no connection happens, and it always throws this error:
    Message: 
    "Unable to connect to the remote server"
    Inner Exception:
    "No connection could be made because the target machine actively refused it 127.0.0.1:80"
    Error Code:
    10061
    This configuration works:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS):  Server B
    Running App:  Server B
    This configuration does not work:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS): Server B
    Running App:  Workstation C
    I have checked permissions on the web services folder, and gave Everyone all permissions.  The same connection problems persists.
    All help is welcome!
    Thank you in advance,
    Mike

    Dear Michael Gurevich,
    Was resolved?
    Thanks.
    João Paulo

  • Weblogic no-stage mode deployment from remote machine

    Context:
    1. Build server is on machine A, where ant script builds the file and package ear
    2. WLST deployment.py script is on build server (machine A).
    3. weblogic admin server in machine B. The managed servers are on machine B and C.
    4. ear file is copied to NFS shared drive mounted on server B and server C.
    5. The deployment.py (which is on machine A) connects using WLST to Admin server of machine B to execute no-stage mode deployment
    Question:
    In above scenario it is observed that deployment fails and observed that though deployment.py is connected using WLST of remote admin server(machine B). the WSLT deployment command tries to validate .ear path on machine A. Is this constraint of the WLST? or Can the WLST deployment command can be invoked form script (in this scenario deployment.py) from build server (machine A) connection to admin server (machine b)?

    Hi,
    Make sure that you give App path in NFS shared location instead of the Machine A.
    You build every thing was successful but when you place the app you need to specify application location. I hope you place app in the shared location.
    Regards,
    Kal

  • Cant conect "sys as sysdba" from remote

    Hi all ,
    A strange thing happening with me ..
    my database is on ip(prod1) and client is ip(Host)
    When I make connecttion from prod1 as follows :
    sqlplus sys@prod1 as sysdba
    connected ...
    Its giving me sys connection .
    But from IP (remote HOst client )
    when i fire
    sqlplus sys@prod1 as sysdba
    LOGON denied ...
    But from IP(remote Host client )when i firng
    sqlplus scott/tiger@prod1
    connected ....
    1.i m typing crrect password
    2. my remote_login_passwordfile = EXCLUSIVE

    1. Are you connecting to the right database ?
    On you remote client:
    $ORACLE_HOME/bin/tnsping prod1 and make sure that it'is resolving to the right service.
    2. Try to connect via EZCONNECT (NAMES.DIRECTORY_PATH should contain ezconnect value):
    $ORACLE_HOME/bin/sqlplus sys@hostname:port/service as sysdba
    On your server
    3. Check your $TNS_ADMIN/sqlnet.ora Make sure there is no such a line as
    tcp.validnode_checking = yes
    If so, make sure that your remote client is a part of tcp.invited_nodes

  • Running ldifmigrator/ldapadd from remote machine

    Hi,
    I installed Infra with OID on machine-1. I am now trying to run ldifmigrator on machine-2 while doing a lookup on the oid on the first machine. Is there some problem with this ?
    The command works fine when I run it locally on machine-1. The command is:
    <--------------------------------------------------------
    ldifmigrator "input_file=d:/config/ldap/system-oid.sbs" "output_file=d:/config/ldap/system-oid.ldif" -lookup "host=machine-1" "port=333" "subscriber=idc" "s_UserCommonNamingAttribute=cn" dn="cn=orcladmin" password=welcome1
    -------------------------------------------------------->
    When I run this command on a remote machine say machine-2 then i get the error:
    <----------------------------------------------------
    Unable to establish connection to directory. Please verify the input parameters:
    host, port, dn & password
    returnInitialLdapContext() times out after 10000 ms - JNDI initialization method
    not returning
    ----------------------------------------------------->
    My http port is 777 and oid port is 333. Another strange thing is that I can only access http://machine-1:777/oiddas from machine-1. This is not possible from machine-2 even though ping works fine.. Hoping for some help !
    Thanks !

    It sounds like your firewall could be preventing external connections. How is that configured?

  • Listener from remote machine

    Hi,
    I have a unix machine in which database is installed.
    Can I start the listener from other unix machine remotely like using any alias.
    Please let me know!
    Regards,

    Hi,
    If you connect from your remote machine to the Server Machine, then you can do this..!!
    I think it will work.. yes you can try it.. !!
    http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/listener.htm
    - Pavan Kumar N

  • 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.

  • How to retrive data through stored procedure in mysql from remote machine?

    Hello everybody,
    I am having problem in accessing data of mysql through stored procedure. It works fine if I use "jdbc:mysql://localhost:3306/[database name]" instead of "jdbc:mysql://[IP address]:3306/[database name]". The connection is fine for both, but when stored procedure is called the system stops at "stmt.execute();" line in java file while debuging. In case of localhost there is no any problem. The code for connecting procedure is:
    stmt = dbConn.prepareCall("{? = call testing()}"); stmt.registerOutParameter(1, Types.VARCHAR); stmt.execute();
    I have to connect java application running in Windows to the mysql database running in remote machine(RHEL 5).
    I am using "mysql-connector-java-5.1.5-bin.jar", jdk 1.5.0 and remote database Mysql version : 5.0.22.
    There is no exception and application hangs at stmt.execute();
    Can anybody help me with this problem?
    Thank you.

    I got it. its about connection...

Maybe you are looking for