Unable to login to the database with Oracle login ID from today
I have an Oracle user (jjcdba) through which I login to the database.
From today morning, I am unable to login to the database and I am getting this error.
$=> id
uid=123(jjcdba) gid=3203(jjcdba)
[jjcdba@jjcprd04:/jjc/orasw10/oracle/product/10.2.4]
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:22:31 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:Could someone please tell me how to troubleshoot this issue. I need to get into the database urgently!
Hi,
jjcdba user should be the member of "dba" group to enjoy the OS authentication otherwise you would need to use the sys password to login to the database. Please make sure that "dba" os group exists and make this user member of this group.
Salman
Similar Messages
-
INS0009: Unable to connect to the database with user SYS
Hi all,
I'm trying to create an OWB repository with OWB repository assistant (10.2.0.2.) on a 10.2.0.1. database (windows XP platform). I get the following error every time I fill in the connect info for the SYS user:
INS0009: Unable to connect to the database with user SYS. java.sql.SQLException: ORA-01017: invalid username/password; logon denied
I can connect to the database (sqlplus sys/<password>@orcl as sysdba) and the OS user is in the ora_dba group. Also checked the database parameters remote_login_passwordfile (= EXCLUSIVE) and O7_DICTIONARY_ACCESSIBILITY=TRUE.
Does anyone know what the problem is? Any help is appreciated.
Regards,
QuintenOk I found the problem myself, I used the wrong sys password :-(. I thought the password I used to logon in sqlplus was right (sqlplus sys/<password>@orcl as sysdba) but the password doesn't matter when you logon as sysdba! So I altered the password for the user sys and now I can continue the steps of the repository assistant.
Quinten -
Installing oracle application express from the database with oracle 11g
Hi,
I installed oracle 11g release 1 and trying to install oracle APEX from the database with Embedded PL/SQL gateway. The installation guide require grant connect privilege to any host for the APEX_030200 database user, but this schema does not exist in the database...
How to continue the installation of APEX ?Thanks Hari,
But I need to enable network services in my database (oracle 11g).
Do I have to replace in the PL/SQL script below apex_030200 by flows_030000 ?
DECLARE
ACL_PATH VARCHAR2(4000);
ACL_ID RAW(16);
BEGIN
-- Look for the ACL currently assigned to '*' and give APEX_030200
-- the "connect" privilege if APEX_030200 does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
-- Before checking the privilege, ensure that the ACL is valid
-- (for example, does not contain stale references to dropped users).
-- If it does, the following exception will be raised:
-- ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200'
-- ORA-06512: at "XDB.DBMS_XDBZ", line ...
SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
FROM XDB.XDB$ACL A, PATH_VIEW P
WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
EQUALS_PATH(P.RES, ACL_PATH) = 1;
DBMS_XDBZ.ValidateACL(ACL_ID);
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_030200', 'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,'APEX_030200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml','ACL that lets power users to connect to everywhere',
'APEX_030200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
COMMIT;
Regards -
Not able to login into the database on oracle 10g on vista os
Hi,
I have install oracle 10g on vista machine.
I am not able to log in to the database ia have tryied with scott/tiger, system/manager, sys/changeoninstall.
can anyone please tell me what the default username password to 10g version for vista machine.
Oracle version 10g
OS: Vista
Thanks
Amitsqlplus / as sysdba
or
sqlplus /nolog
conn / as sysdba
or
sqlplus '/ as sysdba' -
Hai,
How to find the list of queries currently running in the Database with User Login Information.
Since my database application is running slow, to find the slow queries.Try the below query
SELECT r.start_time [Start Time],r.session_id [SPID],
DB_NAME(database_id) [Database],
s.host_name,
s.program_name,
s.login_name,
SUBSTRING(t.text,(r.statement_start_offset/2)+1,
CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
END) [Executing SQL],
r.status,command,wait_type,wait_time,wait_resource,
last_wait_type
FROM sys.dm_exec_requests r
OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
inner join sys.dm_exec_sessions s
on s.session_id = r.session_id
WHERE r.session_id !=@@SPID -- don't show this query
AND r.session_id > 50 -- don't show system queries
ORDER BY r.start_time
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
i am using my MS Access 2013 to connect with my oracle database. I created the odbc link and successfully have connection test pass. However i can;t link the database with my MS access. When i am using different software (mapinfo), i am able to connect to oracle database. The error is"1013: user requested cancel of current operation"
In MS access, i open the external data and select odbc. Select my odbc link created previously, enter the password and after a while the error message pop up.
But if i am using another tools, such as SQL Developer or Mapinfo, i will able to connect to oracle database using the same odbc link. -
Could not signon to the database with user VP1!!
Hello All,
people tools : 8.53 - windows 7, my local one
peoplesoft application: HRMS 9.2 version -- oracle linux OS
oracle 11g database -- oracle linux OS
when i start the app server domain for HSMS application using psadmin, its not starting
when i look for appserv logs, i got this error
Password has expired
could not sign on to database with user vp1
i can able to login into the database, and able to connect to SYSADM schema also
so i tried manually updated the password operpswd in sysadm.psoprdefn table as VP1 and updated,. committed.
and tried to connect to database using datamover to encrypt the password in my local machine, it says tns could not find the id specified
but i can able to ping to linux database , tnsping is working, and i can able to establish a database session from my local one to linux server.
Still unable to start the HRMS application domain in linux server
kindly help.
Regards.oops sorry Nicolas. ITs my typo mistake.
Its peoplesoft finance application. not the hrms. and user id and password is VP1/VP1 was set during implementation.
After implementation , we have not used the application for some months. I think that may be the reason for password expire.
the following are the error:
File: sql access ManagerSQL error . stmt #: 2 Error Position: 0 Return:28001 - ORA 28001: the password has expired
SQL Access Manager: File: SQL Access ManagerSQL error. stmt #: 2 Error Position: 0 Return: 2 ORA 28001: the password has expired
Database Options: override_connection_reset:0
Database Signon: Could not sign on to database PSFNDEMO with user VP1
Server failed to start
End boot attempt on domain PSFNDEMO
i also performed the steps pointed by Hakan in your blog
On The Peoplesoft Road: Peoplesoft passwords
Still no luck.
kindly suggest
Thanks. -
Can I use the database with as the ses as a regular database?
I write a application base on SES recently, and I need to store some data in the database. Can I use the the database with ses?
I can login using sqlplus login the database using the same pc as the ses installed, but I cannot login using sqldeveloper on other pc.
I set ORACLE_HOME equals SES_HOME
ORACLE_SID as sesI have similar requirement to connect to the database.
I have removed those two lines from sqlnet.ora.
However, when I using tnsping, I got below error
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=SES.us.oracle.com))(ADDRESS=(PROTOCOL=TCP)(HOST=144.25.165.5)(PORT=1521)))
TNS-12541: TNS:no listener
anythings else that I need to do -
Unable to Connect to the database in RCU, Oracle11g XE on Laptop/Windows
Software downloaded unzipped and installed from OTN
OBIEE foundation 11.1.1.5
Repository Creation Utility 11.1.1.5
Oracle Database Express Edition 11.2
Issues
1. I installed Oracle 11g express edition. I am able to start/stop and run sql against the database however the homepage ("get started " accessed from Start > Programs > Oracle Database 11g XE > Get Started) does not work. This i will post in a separate thread but I am writing this anyway just in case it has some relevance.
2, This is the one I need help with. Can you confirm that these are the parameters when I hit the "create" option in RCU because I get the error message saying I cannot connect.
Hostname:This is the same as the hostname, when I go to cmd prompt like below
C:>hostname<enter> That is what I am using.
Port and Service :Can you confirm, Port = "1521" and Service = "XE". 1521 is the Database listener port when I installed Oracle 11g Database Express Edition. I am not putting the quotes in the boxes in the RCU.
Should the service be OracleServiceXE - i have tried it but does not work.
Anyway I get this message:
Unable to connect to the database using the provided details.
Please enter a valid hostname and port or check if the listener is up and running.
Any ideas appreciated.
By the way My lsnrctl status returns the following: (meaning the listeners are up!0
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\dir>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 13-MAR-2012 13:44
:03
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 13-MAR-2012 10:55:11
Uptime 0 days 2 hr. 48 min. 51 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\myspecifichostname\listene
r\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myspecifichostname)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myspecifichostname)(PORT=8080)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Edited by: ideakat on Mar 13, 2012 1:57 PMHi,
Like Abhi said, check your tnsnames.ora file to check the port number and service name is correct or not for the Express Edition database you have installed.
and when you are running RCU installer, Please give system adminstrator account of OracleXE like 'sys' or 'system' account with confirmed port number and service name.
Hope this helps.
Regards,
Bose
Edited by: Bose on Mar 16, 2012 11:42 AM
Edited by: Bose on Mar 16, 2012 5:35 PM -
Error when opening the database with resetlogs
ORA-00603: ORACLE SERVER SESSION TERMINATED BY FATAL ERROR
WHEN I open the database with RESETLOGSWell you definitely need to post more information here.
Looking at what you have posted, all that I can reply is
ORA-00603: ORACLE server session terminated by fatal error
Cause: An ORACLE server session is in an unrecoverable state.
Action: Login to ORACLE again so a new server session will be created -
Unable to connect to the database to product shared services
Hi
I got an error in configuring shared services with the Oracle server database
"" Unable to connect to the database to product shared services ""
I created a database that is working properly when accessed by a client.
I typed everything in config utility, Does we need to take care of any other servies?
I appreciate if any one help with this.
Thanks
Abel Junior
Version: Hyperion System 9 and Oracle 9iJohn is of course correct that XP is not a supported environment for Essbase 9.3.x.
Having said that, I have successfully installed Shared Services, Essbase, and EAS on multiple XP laptops. I have done so with 9.2 (painful) and 9.3.1 (just about painless) although always against SQL Server. This is strictly for development/kick the tires work, never as a production environment.
Planning has quite an issue with XP (and Vista) although I have heard that there is a Windows Registry fix for this.
Of course Oracle support is going to gong you if you call up with questions about your laptop -- it isn't supported.
One last thing -- Shared Services and laptop suspends =! stability. For my development purposes, I have backed off Shared Serivces and just go with Essbase as a service with native security and EAS.
Regards,
Cameron Lackpour
P.S. VMs are probably the way to go if your desktop/laptop has the horsepower to drive a proper OS with the VM overhead. On a 4 gigabyte laptop with a Duo Core (no, not a Mac, I just can't remember what Intel calls it -- the power of marketing) VMServer running Windows Server 2003 and the full stack is pretty slow, but it works. -
"Unable to connect to the database" when connected to corporate network
Hi
Installed Primavera P6 V7 and Oracle 10g in Stand alone on XP 32bit machines with SP3. When our machines are NOT connected to the corporate network it works fine.
However when connected to the network we can not access the locally stored database. We get message "primavera unable to connect to the database. would you like to configure the database connection now"
Database on servers that we set up are fine regardless.
If we connect machines to just the internet, again no issues.
So something is stopping Primavera opening local database when connect on our corporate network.
Any ideas please?
ThanksThis may be a long shot but look into how your TNSNAMES.ora file is being distributed on the domain (or are you possibly utilizing LDAP.ora on the domain side?).
Some time ago I remember a company scripting an ENV variable on domain logon that altered where the Oracle client would pull the TNSNAMES from. -
Report Viewer unable to log into the database
I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
Is it SQL now?
Thanks for any help.Originally Posted by youngj
I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
Is it SQL now?
Thanks for any help.
If you are using the Sybase database with ZDM7, take a look at the file \database drivers\odbcreadme.txt file on the Novell ZENworks 7 Companion 2 CD (downloadable from novell.com if you don't already have it). Page 347 of the ZDM 7 Install Doc also mentions this procedure:
http://www.novell.com/documentation/...dm7install.pdf -
Restore Database with Oracle 9i with a New Host using RMAN
Gurus,
I am trying to restore a database from some RMAN created files on a new host with a new directory structure for some testing. I do not have access to the source database.
The database is Oracle 9i.
The files that have been created are the following:
'C-2995630462-20110214-00' is the control file and SP file backup.
'B_ABM4KAJ5_1_1' is the database backup.
B_ACM4KARS_1_1 and B_AAM4KAIV_1_1 are archived redo logs
Here is the RMAN listing from when the files were created:
BS Key Size Device Type Elapsed Time Completion Time
329 56M DISK 00:00:02 14/FEB/11
BP Key: 329 Status: AVAILABLE Tag: TAG20110214T050015
Piece Name: D:\BACKUPS\CRYSTAL\B_AAM4KAIV_1_1
List of Archived Logs in backup set 329
Thrd Seq Low SCN Low Time Next SCN Next Time
1 184 4602414767 13/FEB/11 4602533494 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
330 Full 13G DISK 00:04:33 14/FEB/11
BP Key: 330 Status: AVAILABLE Tag: TAG20110214T050021
Piece Name: D:\BACKUPS\CRYSTAL\B_ABM4KAJ5_1_1
List of Datafiles in backup set 330
File LV Type Ckp SCN Ckp Time Name
1 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\SYSTEM01.DBF
2 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\UNDOTBS01.DBF
3 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\USERS01.DBF
BS Key Size Device Type Elapsed Time Completion Time
331 37K DISK 00:00:01 14/FEB/11
BP Key: 331 Status: AVAILABLE Tag: TAG20110214T050500
Piece Name: D:\BACKUPS\CRYSTAL\B_ACM4KARS_1_1
List of Archived Logs in backup set 331
Thrd Seq Low SCN Low Time Next SCN Next Time
1 185 4602533494 14/FEB/11 4602533686 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
332 Full 3M DISK 00:00:01 14/FEB/11
BP Key: 332 Status: AVAILABLE Tag:
Piece Name: D:\BACKUPS\CRYSTAL\C-2995630462-20110214-00
SPFILE Included: Modification time: 23/NOV/10
I am new to using RMAN and I'm hoping someone could point me in a direction of some documentation to assist with the scenario described above. I've looked at several Oracle documents but have been unable to find a way to separate out the spfile from the control file.
Any help you can provide would be greatly appreciated.
Thanks.Thanks Meeran.
I have attempted to follow the directions from the RMAN document that you posted and have run into the following error:
C:\>rman target / nocatalog
Recovery Manager: Release 9.2.0.6.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: DUMMY (not mounted)
using target database controlfile instead of recovery catalog
RMAN> startup force nomount
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\ORACLE\ORA92\DATABASE\INITCRYSTAL.O
RA'
trying to start the Oracle instance without parameter files ...
Oracle instance started
Total System Global Area 97591104 bytes
Fixed Size 454464 bytes
Variable Size 46137344 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
RMAN> RESTORE SPFILE TO 'C:\oracle\admin\crystal\pfile\init.ora' from 'C:\oracle
\ora92\CRYSTALbk\C-2995630462-20110214-00';
Starting restore at 30-MAR-11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/30/2011 11:30:07
ORA-00600: internal error code, arguments: [1866], [0x41AA450], [6144], [0x41BAD
B4], [], [], [], []
RMAN>
Am I not correctly connected to the target?
It looks like it correctly tried to create a dummy spfile, but when attempting the restore from the file it breaks.
Any suggestions? Thanks. -
Running more than one instance of the database on oracle 9i
I have a oracle 9i database on linux 8 . I had created a database db1 . Its working fine
then i created another database db2 on the same server.
When i am trying to start the database with the command
sqlplus /nolog
sql> set instance db2
it gives error sid coudn't be found.
How can i resolve it. My other database is running fine at startup also.
Is there any modification needed in startscript to start this database alsoHi
the SID is an environment variable, so try:
at the unix-prompt:
$ ORACLE_SID=DB2
$ export ORACLE_SID
$ sqlplus /nolog
SQL> connect / as sysdba
getting:
SQL> connected to an idle instance
and now
SQL> startup
regards
Roman
Maybe you are looking for
-
The instalation stops in the middle, when the DVD-RW stops the read of DVD for Windows 7 instalation. One message shows that reading of CD instalation is failing. I can to install only the Windows XP.
-
Hi I need to play an animated GIF in my application. I've tried it but it is showing the first frame of the A-Gif only. Please help me in this regard asap., It is very much required... Tnx in anticipation RK Raju
-
Htp.p doesn't work from the custom button event handler ...
Hi, I am trying to pop up an alert from the custom button event handler. I created a button and put the following code. htp.p('<script language='JavaScript1.3"> alert ("Test Message"); </script>; But alter doesn't show up after clicking the button. T
-
How can I get the class(ification) for an equipment with BAPI ?
Hello Experts, I have created an Equipment with a BAPI. ("BAPI_EQUI_CREATE") and i create the assignment to a (equipment-)class with the BAPI BAPI_OBJCL_CREATE. When I use another BAPI BAPI_EQUI_GETDETAIL I get all information to the equipment,
-
Flash CS5 - Failed to Open Document
Hello, I am running Flash CS5. I was saving a document and then the program crashed in the middle of saving. It now says "failed to open document". I am running a Macbook, so I can't try that little WinRAR thing I've been told to do here. Help! I've