ORA-01031 Error When starting Database

I have installed Oracle 11gr2 on my laptop having OS ubuntu 10.04, after installation i am receiving ORA-01031 error when try to log in with the command
sqlplus / as sysdba what should i do to resolve it...

Hi,
there are a lot of possibilities why this can be wrong. Look at Oracle Support for note 233223.1, "Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues". This gives links to notes which leads you to maybe the solution.
Possibilities are:
- you are root, which is not allowed. You should connect with the oracle user
- your user is not part of the dba group
- permissions on files
- and many more
Herald ten Dam
http://htendam.wordpress.com

Similar Messages

  • Ora-01031 error while starting oracle9i server on linux advanced redhat 3.1

    I am encountering some errors while trying to start the oracle9i database on linux server.
    I am getting the error ora-01031 while trying to connect to the server as sysdba.
    I give the following commands
    sqlplus /nolog
    Sql> conn sys/xxxx as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    The listener service is started. The user "oracle" belongs to the groups oinstall and dba on linux.
    When I try to connect to the sys account through enterprise manager console, it connects.
    But when I try to start the database it says
    ERROR:
    ORA-01031: insufficient privileges
    I am trying to solve this problem since the past two days but to no avail.
    The last time the database was used it was not shutdown properly (we had rebooted the linux server through command prompt).
    Might be this has caused some problem.
    I would be very grateful to you if you could spare some time and look into this problem.

    Listen Sheikh Abdullah, if u don't need remote access to that server over secure conn., don't use password file authentification but change REMOTE_LOGIN_PASSWORDFILE to NONE and when u conn thru OEM as sysdba try to change his pass and then try conn thru command promt(CP) usin that new pass.
    Or recreate pass file adding new pass in it, set REMOTE_LOGIN_PASSWORDFILE to exclusive or shared and conn thru CP using password file pass.
    Try this possible solutions in order u wish.

  • "Insufficient privileges"-error when starting database when on network

    Hi
    I have an Oracle 9.2.0.5 database installed on my laptop (Windows 2000 Prof), but I have a small problem.
    When I'm plugged in to the company's network, I can start the database normally.
    However, when I'm not connected to the company network, i.e. only logged in locally on my laptop, then I get an ORA-01031 Insufficient Privileges error when I start the database. Therefor, I can't do anything.
    When I'm plugged into the company network, start the database, and then unplug my laptop, I can still connect to the database. So I guess it checks some userrights only when it starts the database.
    I checked the user account settings, and my user is a local administrator, and is in the ORA_DBA usergroup.
    Does someone know which setting I have to change?

    You can install MS Loopback Adapter on your system and assign an IP Address to the loopback adapter. You should then be able to work even when not connected to the network.
    Mudassar Choudhry.

  • ORA-01041 error when duplicating database to new host

    I'm using RHEL 5 with Oracle 11g and I'm testing data guard.
    I am trying to setup data guard by following this link:
    http://www.databasejournal.com/features/oracle/article.php/3816751/Oracle-11g-Data-Guard-Building-a-Physical-Standby-Database.htm
    I use the following command:
    [oracle@linux-test ~]$ rman target sys/oracle auxiliary sys/oracle@stdby
    Recovery Manager: Release 11.1.0.6.0 - Production on Tue Oct 6 11:54:47 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: ORCL (DBID=1227314034)
    connected to auxiliary database: STDBY (not mounted)
    RMAN> RUN {
    ALLOCATE CHANNEL d1 TYPE DISK;
    ALLOCATE CHANNEL d2 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv1 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv2 TYPE DISK;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    FROM ACTIVE DATABASE
    DORECOVER
    SPFILE
    SET db_unique_name='stdby'
    SET control_files='/home/u01/app/oracle/oradata/orcl/control01.ctl'
    SET log_file_name_convert='/home/u01/app/oracle/oradata/orcl/','/home/u01/app/oracle/oradata/stdby/'
    SET log_archive_dest_1='location=/home/u01/app/oracle/flash_recovery_area/STDBY/ valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=stdby'
    SET log_archive_dest_2='service=orcl ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orcl'
    SET fal_client='stdby'
    SET fal_server='orcl'
    SET standby_file_management='AUTO'
    SET log_archive_config='dg_config=(orcl,stdby)'
    NOFILENAMECHECK;
    When it's starting datafile copy, I get this error:
    channel d1: starting datafile copy
    input datafile file number=00001 name=/home/u01/app/oracle/oradata/orcl/system01.dbf
    channel d2: starting datafile copy
    input datafile file number=00002 name=/home/u01/app/oracle/oradata/orcl/sysaux01.dbf
    RMAN-03009: failure of backup command on d1 channel at 10/06/2009 11:56:41
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    channel d1 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/06/2009 11:56:54
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on d2 channel at 10/06/2009 11:56:54
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    I have googled it but I still have no solution yet.
    Any idea please?
    Sarith

    Use a 'Try and Error' strategy, remove the manual channel allocations from the script, these are not mandatory. Let RMAN automatically allocate channels.
    Werner

  • ORA-01005 error when starting OBIEE

    Hi All,
          I am having error ORA-01005 when I try to start OBIEE (bi_server1) from WLST.  However this server was working fine an hour ago and  I don't know how, but the schema DEV_BIPLATFORM returns the following error when I query as SYSTEM.
    DEV_BIPLATFORM LOGON 17/10/13 12:13:35,715827000 1005
         Does someone knows how can I recreate the password for this schema ?
    Thanks in advance

    I've found the issue. THe archive area from databse server has reached 100%. After it was cleaned up the services started without any error.
    Thanks

  • ORA-00490 error when opening database

    I am having a problem starting up my database. It had been running without problems for a long time, but it crashed recently, and now every time I attempt to restart it I get 'ORA-00490: PSP process terminated with error.' Here is the info from the alert log:
    Tue Jul 20 08:35:16 2010
    Starting ORACLE instance (normal)
    Dump file d:\oracle\product\10.2.0/admin/iceman/bdump\alert_iceman.log
    Tue Jul 20 09:06:13 2010
    ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 8 - type 8664, 2 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:7404M/8186M, Ph+PgF:19658M/20025M
    Tue Jul 20 09:06:13 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =61
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 500
    sga_max_size = 2097152000
    __shared_pool_size = 352321536
    __large_pool_size = 16777216
    __java_pool_size = 33554432
    __streams_pool_size = 33554432
    spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEICEMAN.ORA
    sga_target = 1258291200
    control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 805306368
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=ICEMANXDB)
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\CDUMP
    audit_trail = OS
    db_name = ICEMAN
    open_cursors = 300
    pga_aggregate_target = 418381824
    PSP0 started with pid=3, OS id=2372
    MMAN started with pid=4, OS id=2388
    PMON started with pid=2, OS id=2456
    DBW0 started with pid=5, OS id=2396
    LGWR started with pid=6, OS id=2376
    CKPT started with pid=7, OS id=2380
    SMON started with pid=8, OS id=1496
    RECO started with pid=9, OS id=2296
    CJQ0 started with pid=10, OS id=2300
    MMON started with pid=11, OS id=2128
    MMNL started with pid=12, OS id=2784
    Tue Jul 20 09:06:15 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Tue Jul 20 09:06:17 2010
    ALTER DATABASE MOUNT
    Tue Jul 20 09:06:21 2010
    Setting recovery target incarnation to 2
    Tue Jul 20 09:06:21 2010
    Successful mount of redo thread 1, with mount id 2079135369
    Tue Jul 20 09:06:21 2010
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Tue Jul 20 09:10:42 2010
    Starting ORACLE instance (normal)
    Tue Jul 20 09:10:55 2010
    alter database open
    Tue Jul 20 09:10:56 2010
    Beginning crash recovery of 1 threads
    Process P000 died, see its trace file
    parallel recovery setup failed: using serial mode
    Tue Jul 20 09:10:57 2010
    Started redo scan
    Tue Jul 20 09:10:57 2010
    Completed redo scan
    233 redo blocks read, 74 data blocks need recovery
    Tue Jul 20 09:10:57 2010
    Started redo application at
    Thread 1: logseq 36859, block 3
    Tue Jul 20 09:10:57 2010
    Recovery of Online Redo Log: Thread 1 Group 3 Seq 36859 Reading mem 0
    Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO03.LOG
    Tue Jul 20 09:10:57 2010
    Completed redo application
    Tue Jul 20 09:10:57 2010
    Completed crash recovery at
    Thread 1: logseq 36859, block 236, scn 832195314
    74 data blocks read, 74 data blocks written, 233 redo blocks read
    Tue Jul 20 09:10:57 2010
    Thread 1 advanced to log sequence 36860
    Thread 1 opened at log sequence 36860
    Current log# 1 seq# 36860 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO01.LOG
    Successful open of redo thread 1
    Tue Jul 20 09:10:57 2010
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Tue Jul 20 09:10:57 2010
    SMON: enabling cache recovery
    Tue Jul 20 09:10:58 2010
    Successfully onlined Undo Tablespace 1.
    Tue Jul 20 09:10:58 2010
    SMON: enabling tx recovery
    Tue Jul 20 09:10:58 2010
    Database Characterset is AL32UTF8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=16, OS id=672
    Tue Jul 20 09:11:05 2010
    Completed: alter database open
    Tue Jul 20 09:11:10 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_j000_976.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x77EF1CD6] [ADDR:0x4F0] [UNABLE_TO_READ] []
    Tue Jul 20 09:11:13 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_pmon_2456.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:13 2010
    PMON: terminating instance due to error 490
    Tue Jul 20 09:11:13 2010
    Error occured while spawning process J001; error = 490
    Tue Jul 20 09:11:13 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_reco_2296.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:13 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_smon_1496.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:14 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_ckpt_2380.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:14 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_lgwr_2376.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:14 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:14 2010
    Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_mman_2388.trc:
    ORA-00490: PSP process terminated with error
    Tue Jul 20 09:11:14 2010
    Instance terminated by PMON, pid = 2456
    The background process dumps all look very similar. Here is the file iceman_dbw0_2396.trc
    Dump file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc
    Tue Jul 20 09:11:14 2010
    ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Windows NT Version V5.2 Service Pack 2
    CPU : 8 - type 8664, 2 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:7133M/8186M, Ph+PgF:18431M/20025M
    Instance name: iceman
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Windows thread id: 2396, image: ORACLE.EXE (DBW0)
    *** 2010-07-20 09:11:14.316
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-07-20 09:11:14.316
    *** SESSION ID:(552.1) 2010-07-20 09:11:14.316
    error 490 detected in background process
    ORA-00490: PSP process terminated with error
    I have been searching, but I have not found a reference to a problem quite like this anywhere. Any pointers to how this can be solved would be greatly appreciated.

    HI
    1) can you post OS version?
    2) antivirus/firewall enabled
    3)Increase the depleted swap/memory or other resource which is logged in the OS log file
    Have sufficient physical memory on Server so that you can allocate more SGA/PGA to the database.
    4) Increase SGA_MAX_SIZE and SGA_TARGET so that you can accommodate following pools.
    5) Restart the instance.
    6) Increase INIT.ORA memory parameters and make sure following pools are set to recommended value i.e. 200M.
    7) SHARED_POOL_SIZE
    8) JAVA_POOL_SIZE
    9) STREAMS_POOL_SIZE
    there is no swap to grow stack.
    Edited by: CKPT on Jul 20, 2010 7:26 PM

  • Error when starting database

    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 19 20:21:21 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> SQL> Connected.
    SQL> SQL> alter database open resetlogs
    ERROR at line 1:
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF'
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options

    Hi,
    ORA-01190: control file or data file string is from before the last RESETLOGS
    Cause:     Attempting to use a data file when the log reset information in the file does not match the control file. Either the data file or the control file is a backup that was made before the most recent ALTER DATABASE OPEN RESETLOGS.
    Action: Restore file from a more recent backup.
    In fact, if I'm not wrong, when you tried to open the database with "resetlogs" clause, it seems that the information kept in this control file points to datafiles checkpoints information that are older than the most recent resetlogs currently recorded in this control file. Have you tryied issue a recover database using backup controlfile?
    Cheers
    Legatti

  • TNS-12560: TNS:protocol adapter error (when starting database)

    Hi.. everyone.
    I am testing oracle9i and oracle10g on the same machine, windows xp pro.
    When I was trying to start oracle10g using command line mode,
    I got the error, TNS-12560: TNS:protocol adapter error.
    I entered these command.
    set oracle_home=10g_homexxxx
    set oracle_sid=xxdb
    sqlplus /nolog
    conn sys/xxx as sysdba
    I got the error, TNS-12560: TNS:protocol adapter error.
    The install of two different versions of oracle , oracle9i and oracle10g,
    on the same machine(windows xp pro) could cause this problem?
    Is it safe to install two different versions of oracle on the same window machine?
    Is there any confliction in environment variables?
    I think there is no problem on the linux, unix system.
    I stoped the listener of oracle9i and tried again. But I failed.
    I am looking forwared to hearing your experience and advice.
    Thanks in advance. Have a good day.
    Ho.

    Dear Werner.
    Thanks for your reply.
    I shutdown oracle9i and 10g, using "services.msc" utility from windows.
    Therefore, "OracleService<xxdd>" is not running.
    What I want to do is to startup 10g database using "cmd",command line mode.
    In addition, I would like to know why I could not start 10g database, using "cmd"
    on windows xp pro.
    I installed 9i first and installed 10g. I think there are a kind of environment variable
    conflictions.
    I am wondering how I can fix them, and whether or not they are curable.
    Thanks for your reply. Have a good day.
    Regards.
    Ho.

  • ORA-01180 and ORA-01110 error when restoring database by RMAN in 11.1.0.6.0

    I have a new installed database running in ARCIHVELOG mode on SUSE 10SP3. Catalog is not used. When I try to restore the database from a level 0 backup based on SCN, ORA-01180 and ORA-01110 were raised out today. Please help me through this. Thx. The senario follows:
    1. I got the current SCN by "select dbms_flashback.get_system_change_number from dual". Say it's 12345;
    2. I did a level 0 hot backup with current control file, archived logs and parameter files. Everything went well;
    3. Some other DMLs are applied to the database;
    4. I want to do a SCN-based incomplete recovery for this database to SCN 12345. Then I
    1) shutdown immediate;
    2) startup nomount;
    3) restore the control file from backupset;
    5) startup mount;
    6) catalog start with "[backupset path]";
    7) restore database until scn 12345.
    Just at step 4.7, ORA-01180 and ORA-01110 were raised out, saying cannot create data file 1. Note: Backup files are existing and file permissions are all OK.
    Then I issues "list incarnation of database". There is just one record with incarnation id 1.
    So I queried v$log_history, found serveral record there. The most recent one has NEXT_SCN later than 12345, say 12400. Then I tried to restore database until this SCN. It WORKED! The restore and recovery succeeded.
    My questions are:
    1. Why cannot I restore the database to a previous SCN, say 12345, but 12400 is OK?.
    2. If the database was RESETLOG prior to my recovery, should I reset database to the incarnation where I took my backup? What can I do if there is no that incarnation information in my control file?
    Waiting for your suggestion.

    Hi guys. There is one update.
    This issue is caused by the incorrect SCN vs. backup set. I got this SCN before the backup started. According to Oracle docs, it's not allowed for an SCN based recovery.
    Now, I changed the sequence of my operations, so that SCN is got once backup is done, which is exact the "most recent sequence# and least SCN" mentioned by some thread in this forum. It works now.
    Anyone could explain why the SCN got prior to the level 0 backup is not recognized by restore/recovery phase? Thanks.

  • End-of-file on communication channel error when starting database

    Hi All,
    I have small problem, when we specify at startup without any pfile, it will go to read spfile,in our case it gives error end-of-file on communication channel.
    Can anyone please help me to resolve this issue?
    Thank you
    Chirag

    Oracle unable to spawn job slave processes should not prevent the instance from starting - these are not critical system processes and the instance can function without them (as it can when the job queue is set to zero processes).
    The o/s failure message also does not make much sense.. overlapped I/O is Microsoft Windows term for async I/O. This can be used at file I/O level, but is also supported for any other file handle like sockets - thus applicable at the network layer too.
    I'm a bit confused to how a PFILE versus a SPFILE startup can cause this. If that is the case, then surely there are something different ito init instance settings that triggers this error?
    Can you copy and paste the actual SQL*Plus session (as already requested). Show us startup command (and params) used in SQL*Plus and the resulting messages (and errors displayed) in response to the startup.

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Ora-01031 error: insufficient Priviliges

    hi experts,
    im was completely enervated by a simple error for which im hanging out for plenty of hours. kindly advice me what to do to eradicate it.
    i have a Redhat Linux AS 4 server and 9.2.0.4 database version.
    The problem is, when im trying to connect database as sysdba with netservice name, i.e using remote authentication method, i was thrown ora-01031 error: insufficient priviliges. But when i tend to connect it locally using OS authentication method it permits me to do it.
    for example,
    Sql> connect sys@<sid> as sysdba
    Enter password:
    ERROR: insufficient priviliges
    where as,
    Sql>conn sys as sysdba
    connected
    sql>
    i've configured oracle in Linux environment as per the documentation. i can't figure out the exact problem. the sqlnet.ora file contains SQLNET.AUTHENTICATION_SERVICES=none
    kindly tell me where im missing out?
    Thanks
    SM

    yes. i've Password file in its appropirate location,
    which is named as orapw$ORACLE_SID
    and the parameter, remote_login_passwordfile is set
    as EXCLUSIVE.This should be fine.
    Try
    - select * from v$pwfile_users; to check whether oracle sees the password file
    - recreate the password file, if possible (it can get corrupted sometimes)
    - delete sqlnet.ora to go with the defaults (of course, backup it first)
    - check whether you can connect as usual user using the net service name (and check whether you connect to the proper database, just to be sure)
    - try to connect from a different machine
    - check that TWO_TASK and TNS_ADMIN environment variables are not set.

  • ORA-01031 error...need enter password prompt

    Hi.
    I'm creating a form which kills a session, using this command:
    Forms_DDL('ALTER SYSTEM KILL SESSION'|| :v_$session.sid|| ',' ||:v_$session.serial# );
    in my when-button-pressed trigger. But I get ora-01031 error insufficient privileges. So I'd like to prompt the user to enter his password when he tries to kill a session, because only the administrator should be able to kill a session. Thanks in advance.
    -K

    Hi Kristine:
    First I would ask you why can't they just use the normal logon to establish their access level?
    Then, let me say there is no way to just popup the logon screen in forms, however, it is relatively simple to create a signon screen. Just create a dialog popup with two fields for username and password, and a button with a label maybe "Signon". Then in the WHEN-BUTTON-PRESSED associated with Signon button, you use the code like following. Please test it and modify as needed, because I do not have a database to test it with. Note I use ... as needed to indent because the forum strips leading spaces.
    DECLARE
    ..V_CONNECT_STRING VARCHAR2(100) :=
    ..........GET_APPLICATION_PROPERTY(CONNECT_STRING);
    BEGIN
    ..LOGOUT;
    ..LOGON(:B1.UN, :B1.PW ||'@'|| V_CONNECT_STRING, 'TRUE');
    ..EXIT_FORM;
    END;
    Hope this helps,
    Thomas

  • Error when starting parser: timeout during allocate / CPIC-CALL:'TfSAPCMRC'

    Hello experts.
    When I try to preview or refresh a Crystal Report document built on a BEx query I get the following error msg:
    Database connector error: BAPI Error #0. Error when starting parser: timeout during allocate / CPIC-CALL: 'TfSAPCMRCV'.
    We have done as suggested in "SAP Note 1032461 - MDX parser does not start", but without success.
    This is what we've tried so far:
    replaced the file "librfc32.dll" (in C:\Windows\System32 and C:\Windows\SysWOW64)  with the new version mentioned in Note 413708.
    tested the connection in SM59 - non successful
    tested the report query with transaction MDXTEST - non successful
    tried to start the mdxparser manually on server - non succesful, error msg: "The application failed to initialise.."
    We have the following config:
    MS server 2003 SP2 x64 ed.
    SAP logon 7.20
    MS SQL server 2005
    CR 2008
    new librfc32.dll version 7200.1.39.6461
    Any ideas on what to try next would be highly appreciated!
    Cheers, IngA

    Hi Ingo.
    We have only one application server.
    I registered the new version of the file C:\windows\SysWOW64\librfc32.dll with regsvr32.exe successfully. I've also tried to copy the new file to the same directory as the mdxsvr.exe-file is located, but it made no difference.
    Should I remove all other copies of librfc32.dll and only keep the one in folder C:\Windows\SysWOW64, or maybe register them all with regsvr32.exe?
    --IngA
    Edited by: Ingeborg Andreassen on Nov 5, 2010 10:36 AM

  • Error when starting configtool.

    The installation is successful. But I am getting the following error when starting configtool:
    PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while conn
    ecting to DB.
    This is not during the installation as given in some of the other posts. The installation is successful and I am able to start and run the J2EE engine and the Portal. This error occurs when I try to start the config tool.
    Any help would be appreciated. Thanks.

    Hi Arul,
    Have you checked the parameters that the configtool is using to connect? (don't use default settings)
    What database is this on? In the case that it is oracle can you TNS ping the db? The listener is running?
    Regards
    Daniel

Maybe you are looking for

  • Docuemnt uploading not opening in cv01n

    Dear all We want to upload a document in the SAP system by using portal We have created a Z RFC and in this rfc we are calling : SCMS_XSTRING_TO_BINARY  to convert to binary BAPI_DOCUMENT_CREATE2 : when debugging , the docuemtn number is generated CV

  • Please help me with my old Laserjet 8000dn

    When I had this printer working about a year ago, it was always a kind of delicate situation.  Sometimes it would work, sometimes not. I use windows xp. I have my 8000dn hooked up to xp laptop with an ethernet cable, going through some "JetDirect" th

  • Error while creating query

    Hi , I am creating 7.1 laptop application, I am getting error while creating the queries. I have 2 queries in my Model DC, When I create the 1st query I am able to use it in the applicationDC without any problem, But when I am creating the second que

  • 10g RMAN backup in 11g

    Hi all, 1. Have installed 11.1.0.1 and upgraded that to 11.2.0.1. Have taken a cold rman golden backup of database files without any data. 2. Now doing a cloning to another server. Copied the oracle home 11.2.0.1. 3.Unfortunately the datafiles backup

  • How do I stop error message "Configuration appears to have changed"  reactivate!

    Adobe Acrobat repeatedly posts error message "configuration appears to have changed ...reactivate".  How to get rid of this annoyance?