Posts

Showing posts with the label Errors and resolutions

Missing datafile while clone

*** This is unsupported scenraio**********Please use it at your own risk****May work only if INDEX datafile is missing while clone. If you clone from a hot/cold backup and by mistake you miss a datafile and you have already done 'alter database open resetlogs' , Then in order to bring the missing datafile you need to copy all data files again. What you can do it you can list the objects in the datafile and then recreate the objects. ** This is UNsupported scneraion*** but a possible scenario**** Suppose datafile is missing from WIPX tablespace. check for the missing datafile. SQL> select file_name from dba_data_files where tablespace_name='WIPX'; FILE_NAME -------------------------------------------------------------------------------- /dbdata/data2/wipx05.dbf /dbdata/data2/wipx03.dbf /dbdata/data2/wipx01.dbf /dbdata/data2/wipx04.dbf /dbdata/data1/wipx07.dbf /dbdata/data1/wipx02.dbf /oracle/10.2.0/dbs/MISSING00894 7 rows selected. **Find out ...

mkstore : ORA-01017: invalid username/password; logon denied : I am entering correct password.

A strange problem: Oracle_home: 10.2.0.1 Oracle wallet connection is setup properly. sqlplus username/password@connectstring works fine. When we try to connect through wallet, Then it gives invalid username/password error. sqlplus /@connectstring gives error : ORA-01017: invalid username/password; logon denied Password entered was correct. as a workaround, use a tns connect string that is not 4, 8 or 12 bytes in length. Its unpublished bug in oracle. (4395883) Bugs fixed in the 10.2.0.2 Patch Set

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

Apr 3, 2010 12:30:03 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly CONFIG: SQLEngine created successfully and connected Apr 3, 2010 12:30:04 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650) at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1898) at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230) at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1000) at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:345) at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConf...

11gr2 on RHEL 5 missing rpms

While install 11gr2 on RHEL 5 Warning for missing packages. gcc-4.1.2 elfutils-libelf-devel-0.125 glibc-devel-2.5 glibc-headers-2.5 gcc-c++-4.1.2 You will go in a loop if you keep finding this. [root@rac1 Server]# rpm -Uvh glibc-2.* gcc-4* warning: glibc-2.5-42.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 error: Failed dependencies: glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-46.el5.x86_64 [root@rac1 Server]# rpm -Uvh glibc-devel-2.5* warning: glibc-devel-2.5-42.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 error: Failed dependencies: glibc-headers is needed by glibc-devel-2.5-42.i386 glibc-headers = 2.5-42 is needed by glibc-devel-2.5-42.i386 glibc-headers is needed by glibc-devel-2.5-42.x86_64 glibc-headers = 2.5-42 is needed by glibc-devel-2.5-42.x86_64 [root@rac1 Server]# rpm -Uvh glibc-headers* warning: glibc-headers-2.5-42.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 error: Failed dependencies: kernel-headers i...

11g install : -bash: ulimit: pipe size: cannot modify limit: Invalid argument

[oracle@rac1 ~]$ ulimit -p 16384 -bash: ulimit: pipe size: cannot modify limit: Invalid argument [oracle@rac1 ~]$ ulimit -p 16384 -bash: ulimit: pipe size: cannot modify limit: Invalid argument [oracle@rac1 ~]$ ulimit -n 65536 -bash: ulimit: open files: cannot modify limit: Operation not permitted [oracle@rac1 ~]$ ulimit -u 16384 -n 65536 -bash: ulimit: max user processes: cannot modify limit: Operation not permitted [oracle@rac1 ~]$ exit     Fix:   Add the following lines to the /etc/security/limits.conf file: oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536

SP2-0642: SQL*Plus internal error state 2131, context 0:0:0. Unsafe to proceed

There was an issue today, A DBA from our team has installed four databases in same oracle home. For one of the Database, everything was working normal. For rest 3 DBA was getting this error while running any sql command.. SP2-0642: SQL*Plus internal error state 2131, context 0:0:0. Unsafe to proceed Oracle suggested to relink the Oracle executables and We checked the sudo bit on oracle executable also. Then, I compared the spfile for all four instances and found. The working Database had NLS_DATE_FORMAT = And Non working Databases were having NLS_DATE_FORMAT='DD-MM-YYYY' As the date format was different and after unsetting DD-MM-YYYY , all Databases worked fine. Now , I have a question , That all DB under one oracle home must have the same NLS_DATE_FORMAT  ? OR same NLS_Parameters. I will try to find more on this.

make -f ins_forms60w.mk install fails

I am trying to apply the developer patch 6194129 As a post patch step, I am trying to relink the forms executables using make make -f ins_forms60w.mk install : trying to fix this....... ld: 0711-773 WARNING: Object /u01/app/oradba01/product/dba01db/8.0.6/lib//libuimotif60.a[uirf.o], imported symbol xmTextFieldWidgetClass Symbol was expected to be local. Extra instructions are being generated to reference the symbol. make: 1254-053 Command "$(GENERICMSG)" expands to empty string. ld -brtl -o f60cgi -L/u01/app/oradba01/product/dba01db/8.0.6/lib/ -L/u01/app/oradba01/product/dba01db/8.0.6/forms60/lib/ /u01/app/oradba01/product/dba01db/8.0.6/forms60/lib/izcgi.o /u01/app/oradba01/product/dba01db/8.0.6/forms60/lib/izc.o /u01/app/oradba01/product/dba01db/8.0.6/forms60/lib/izs0main.o -ld2la60 -lcore4 -lld -lm `cat /u01/app/oradba01/product/dba01db/8.0.6/lib/sysliblist` -lm ; mv f60srvm /u01/app/oradba01/product/dba01db/8.0.6/bin/ mv f60webm /u01/app/oradba01/product/dba01...