﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-20000 Through ORA-29968 </title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Sat, 31 Jul 2010 07:27:45 GMT</lastBuildDate><ttl>20</ttl><item><title>ORA-28000: the account is locked ora error</title><link>http://www.franklinfaces.com/Topic221-56-1.aspx</link><description>&lt;FONT face="Courier New"&gt;&lt;FONT size=4&gt;&lt;SPAN class=msg&gt;ORA-28000: the account is locked&lt;/SPAN&gt; &lt;!-- class="msg" --&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DL&gt;&lt;DD&gt;&lt;DIV class=msgexplan&gt;&lt;FONT size=4&gt;&lt;SPAN class=msgexplankw&gt;Cause:&lt;/SPAN&gt; The user has entered wrong password consequently for maximum number of times specified by the user"s profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account&lt;/FONT&gt;&lt;/DIV&gt;&lt;!-- class="msgexplan" --&gt;&lt;DD&gt;&lt;DIV class=msgaction&gt;&lt;FONT size=4&gt;&lt;SPAN class=msgactionkw&gt;Action:&lt;/SPAN&gt; Wait for passWORD_LOCK_TIME or contact DBA&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;P&gt;When you get this ora error and, if you want to unlock account called SCOTT follow these steps.&lt;/P&gt;&lt;P&gt;From your command prompt, type &lt;BR&gt;sqlplus "/ as sysdba"&lt;/P&gt;&lt;P&gt;Once logged in as SYSDBA, you need to unlock the SCOTT account &lt;BR&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;gt; &lt;STRONG&gt;&lt;FONT color=#113333&gt;alt&lt;/FONT&gt;&lt;FONT color=#113333&gt;er user scott account unlock;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;</description><pubDate>Fri, 11 Jun 2010 11:20:00 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>20005 - ORA-20005: object statistics are locked ora 20005 object statistics are locked stattype all</title><link>http://www.franklinfaces.com/Topic132-56-1.aspx</link><description>&lt;FONT color=#3333dd&gt;I got the following error:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=aw-ti-resultsPanel-text&gt;&lt;FONT color=#0066cc&gt;ora 20005 object statistics are locked stattype all&lt;/FONT&gt;&lt;/SPAN&gt;&lt;A class=aw-ti-resultsPanel-trend title="View search trends in Google Insights for Search." &amp;#111;nclick="keywordColumnRendererInsightsCallback();return true" tabIndex=0 href="http://www.google.com/insights/search/#date=today+12-m&amp;amp;q=ora%2020005%20object%20statistics%20are%20locked%20stattype%20all" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;SQL error. Function:  SQLExec&lt;BR&gt;  Error Position:  0&lt;BR&gt;  Return:  20005 - ORA-20005: object statistics are locked (stattype = ALL) ORA-06512: at "SYS.DBMS_STATS", line 13437 ORA-06512: at "SYS.DBMS_STATS", line 13457 ORA-06512: at line 1&lt;BR&gt;  Statement:  EXECUTE SYS.DBMS_STATS.GATHER_TABLE_STATS(OWNNAME =&amp;gt; 'SYSADM', TABNAME =&amp;gt; 'SS_JAMES', ESTIMATE_PERCENT =&amp;gt; SYS.DBMS_STATS.AUTO_SAMPLE_SIZE , DEGREE =&amp;gt; 4, CASCADE =&amp;gt; TRUE)&lt;BR&gt;  Original Statement:  Execute sys.dbms_stats.gather_table_stats(OwnName =&amp;gt; 'SYSADM', TabName =&amp;gt; 'SS_JAMES', Estimate_Percent =&amp;gt; SYS.DBMS_STATS.AUTO_SAMPLE_SIZE , Degree =&amp;gt; 4, Cascade =&amp;gt; TRUE)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;SQL error in Exec. (2,280) SCRTY_SJTUPD.MAIN.GBL.default.1900-01-01.UPDSTATS.OnExecute  PCPC:1535  Statement:4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Process 16318 ABENDED at Step SCRTY_SJTUPD.MAIN.UPDSTATS (PeopleCode) -- RC = 8 (108,524)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s&lt;BR&gt;Application Engine Program ended with a return code of 100&lt;BR&gt;AE Program: scrty_sjtupd Failed!&lt;BR&gt;Wed May 20 12:15:04 CDT 2009    /prod/bin/scrty_sjtupd.sh  ERROR : psae.sh FAILED, APPL=scrty_sjtupd&lt;BR&gt;Wed May 20 12:15:04 CDT 2009    (/prod/bin/alert_email.sh) BEGIN : PID = 16318, APPL = scrty_sjtupd, RETURN_CODE = 9017&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;To fix this error I did the following :&lt;/FONT&gt;  &lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt; exec DBMS_STATS.UNLOCK_TABLE_STATS('SYSADM','SS_JAMES');&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This unlocks the statistics on the table.    The table SS_JAMES has its statistics locked and this particular job issues the following command : &lt;FONT color=#113333&gt;exec DBMS_STATS.UNLOCK_TABLE_STATS('SYSADM','SS_JAMES');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After unlocking it.   It resolved the error.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Do let me know if it does.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks,</description><pubDate>Wed, 27 May 2009 08:23:58 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes</title><link>http://www.franklinfaces.com/Topic196-56-1.aspx</link><description>I kept getting this error and couldn't figure it out. &lt;P&gt;Oracle Error ORA-20000&lt;/P&gt;&lt;P&gt;Error: ORA-20000: ORU-10027: buffer overflow, limit of 20000 bytes&lt;BR&gt;ORA-06512: at "SYS.DBMS_OUTPUT", line 32&lt;BR&gt;ORA-06512: at "SYS.DBMS_OUTPUT", line 97&lt;BR&gt;ORA-06512: at "SYS.DBMS_OUTPUT", line 112&lt;BR&gt;ORA-06512: at line 121, Batch 2 Line 1 Col 1&lt;/P&gt;&lt;P&gt; Oracle basically says this:&lt;/P&gt;&lt;P&gt;20000, 00000, "%s"&lt;BR&gt;// *Cause:  The stored procedure 'raise_application_error'&lt;BR&gt;//          was called which causes this error to be generated.&lt;BR&gt;// *Action: Correct the problem as described in the error message or contact&lt;BR&gt;//          the application administrator or DBA for more information.&lt;/P&gt;&lt;P&gt;It doesn't really help.&lt;/P&gt;&lt;P&gt;I finally found the answer to increase the output characters using:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;DBMS_OUTPUT.ENABLE()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;By default, you can output 2000 characters, the maximum is 1,000,000&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;DBMS_OUTPUT.ENABLE(1000000);&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;However, If the code excedes the limit you will get the same error.&lt;/P&gt;&lt;P&gt;You can also also use the following to fix the error message:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;set serveroutput on size 1000000&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,</description><pubDate>Thu, 10 Jun 2010 11:38:18 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;FONT color=#3333bb&gt;ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333bb&gt;You can see this type of ora error when executing a command like:&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ALTER TABLE CUSTOMER_SERVICE&lt;BR&gt;DEFAULT DIRECTORY 'IMP_DIR';&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;ORA-22929: invalid or missing directory name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#3333bb&gt;The problem is in the single quotes surrounding the directory object name.&lt;BR&gt;The same error is also returned when using a &lt;SPAN style="FONT-FAMILY: courier new"&gt;CREATE TABLE&lt;/SPAN&gt; statement.&lt;BR&gt;&lt;BR&gt;The correct syntax requires either double quotes for case sensitive names or no quotes at all for case insensitive names.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#115555&gt;ALTER TABLE IMP_BAD_BOXES&lt;BR&gt;DEFAULT DIRECTORY "IMP_DIR";&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#117777&gt;or&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#115555&gt;ALTER TABLE IMP_BAD_BOXES&lt;BR&gt;DEFAULT DIRECTORY IMP_DIR;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#3333bb&gt;Note that when using case sensitive names, if you mistype the name you'll get:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;ORA-06564: object Import_Dir does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;/SPAN&gt; </description><pubDate>Mon, 14 Jun 2010 09:55:25 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-29701: unable to connect to Cluster Manager</title><link>http://www.franklinfaces.com/Topic166-56-1.aspx</link><description>When I try to start the ASM instance,(RHEL 5 and 10gR2 -10.2.0.4)  i'm getting the following error message:&lt;/P&gt;&lt;P&gt;ORA-29701: unable to connect to Cluster Manager&lt;/P&gt;&lt;P&gt;There are couple of reasons why this errors occurs.  You need to do the following things:&lt;/P&gt;&lt;P&gt;As root run the following from the db $ORACLE_HOME/bin&lt;/P&gt;&lt;P&gt;localconfig reset&lt;/P&gt;&lt;P&gt;and you can also try this if it doesn't successfully run:&lt;/P&gt;&lt;P&gt;localconfig add&lt;/P&gt;&lt;P&gt;Finally, after running reset option, you need to run root.sh .&lt;/P&gt;&lt;P&gt;Hopefully this helps resolve your issue.  It worked for me.&lt;/P&gt;&lt;P&gt;Thanks,</description><pubDate>Mon, 16 Nov 2009 14:42:06 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-27123: unable to attach to shared memory segment</title><link>http://www.franklinfaces.com/Topic116-56-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt; &lt;P&gt;&lt;FONT color=#3333dd&gt;I am getting the following error message when using sqlplus to login to oracle.   I am logged in as my own unix account and not oracle.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:gguser@prodhost:/u01/home/gguser"&gt;gguser@prodhost:/u01/home/gguser&lt;/A&gt; &amp;gt; &lt;FONT color=#113311&gt;sqlplus ggadmin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL*Plus: Release 9.2.0.4.0 - Production on Wed Apr 18 13:23:00 2009&lt;BR&gt;&lt;BR&gt;Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.&lt;BR&gt;&lt;BR&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-01034: ORACLE not available&lt;BR&gt;ORA-27123: unable to attach to shared memory segment&lt;BR&gt;Error: 13: Permission denied&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Here is the solution to this error message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  ls -ltr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;-rwxr-xrwx 1 oracle dba 74053740 Sep 04 2003 oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;The file permissions for "oracle" executable should be "-rwsr-s--x",  so that others can access the oracle environment from the same host.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;You need to shutdown the oracle database and then issue the command:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;chmod 6751 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#113311&gt;ls -lr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;rwsr-s--x 1 oracle dba 74053740 Sep 04 2003 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After you do this, startup the oracle database and then try to connect .   This should have resolved the issue.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;BR&gt;</description><pubDate>Thu, 23 Apr 2009 10:24:22 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-24237: object id argument passed to DBMS_UTILITY.INVALIDATE is not legal</title><link>http://www.franklinfaces.com/Topic176-56-1.aspx</link><description>I wanted to compile schema as sys and was getting this error .  Couldn't figure it out and then finally i did after some research.  &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;SQL&amp;gt; conn / as sysdba&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;Connected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;SQL&amp;gt; exec dbms_utility.compile_schema('SERVICEACCT');&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;BEGIN dbms_utility.compile_schema('SERVICEACCT'); END;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;*&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;ERROR at line 1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;ORA-20000:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;ORA-06512: at "SYS.DBMS_UTILITY", line 347&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;ORA-24237: object id argument passed to DBMS_UTILITY.INVALIDATE is not legal&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;ORA-06512: at line 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="MARGIN: auto 0in"&gt;&lt;SPAN style="FONT-SIZE: 10.5pt; COLOR: #333333; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Cause&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;FONT color=#000000&gt;SYS does not have the required privileges to run the procedure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="MARGIN: auto 0in"&gt;&lt;A name=FIX&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 10.5pt; COLOR: #333333; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Solution&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 12pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;FONT color=#000000&gt;To check whether SYS has the required privileges, run the following query connected as SYS:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; select username, privilege from user_sys_privs order by privilege;&lt;BR&gt;&lt;BR&gt;If SYS does not have the following privileges, then grant them to SYS directly:&lt;BR&gt;&lt;BR&gt;CREATE ANY DIMENSION&lt;BR&gt;CREATE ANY EVALUATION CONTEXT&lt;BR&gt;CREATE ANY INDEX&lt;BR&gt;CREATE ANY INDEXTYPE&lt;BR&gt;CREATE ANY LIBRARY&lt;BR&gt;CREATE ANY MATERIALIZED VIEW&lt;BR&gt;CREATE ANY OPERATOR&lt;BR&gt;CREATE ANY PROCEDURE&lt;BR&gt;CREATE ANY RULE&lt;BR&gt;CREATE ANY RULE SET&lt;BR&gt;CREATE ANY SYNONYM&lt;BR&gt;CREATE ANY TRIGGER&lt;BR&gt;CREATE ANY TYPE&lt;BR&gt;CREATE ANY VIEW&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 12pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 12pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 12pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;FONT color=#000000&gt;&lt;o:p&gt;hope this helps&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;</description><pubDate>Fri, 08 Jan 2010 18:56:38 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-27054: NFS file system where the file is created or resides is not mounted with correct options</title><link>http://www.franklinfaces.com/Topic175-56-1.aspx</link><description>I was exporting using expdp and i got the following error message. &lt;P&gt;(OS:  Linux 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux)&lt;/P&gt;&lt;P&gt;(DB:   Oracle Enterprise 10.2.0.4 )&lt;/P&gt;&lt;P&gt;#&amp;gt;/ora01/EXPORTS[PRODDB] expdp content=metadata_only schemas=scott dumpfile=scott.dmp logfile=scott.log directory=expdir&lt;/P&gt;&lt;P&gt;Export: Release 10.2.0.4.0 - 64bit Production on Wednesday, 06 January, 2010 14:21:22&lt;/P&gt;&lt;P&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;/P&gt;&lt;P&gt;Username: / as sysdba&lt;/P&gt;&lt;P&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;BR&gt;With the Partitioning, Data Mining and Real Application Testing options&lt;BR&gt;ORA-39001: invalid argument value&lt;BR&gt;ORA-39000: bad dump file specification&lt;BR&gt;ORA-31641: unable to create dump file "/ora01/EXPORTS/scott.dmp"&lt;BR&gt;ORA-27054: NFS file system where the file is created or resides is not mounted with correct options&lt;BR&gt;Additional information: 3&lt;/P&gt;&lt;P&gt;At first I couldn't figure out the exact message and why because I was able to read write successfully as the oracle account to /ora01/EXPORT directory.  No issues.  But i realized that oracle checks the mount permisssions now.  I had the unix SA update the mtab file show that the word "hard" is placed correctly and update the mtab file.    Here is the before and after:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;BEFORE:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;cat /etc/mtab&lt;/P&gt;&lt;P&gt;host:/vol/dbdump_col/proddb_prd1 /ora01 nfs rw,nfsvers=3,tcp,intr,rsize=4096,wsize=4096,addr=192.168.1.2 0 0&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;AFTER:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;cat /etc/mtab&lt;/P&gt;&lt;P&gt;host:/vol/dbdump_col/proddb_prd1 /ora01 nfs rw,bg,hard,rsize=32768,wsize=32768,nfsvers=3,nointr,timeo=600,proto=tcp,addr=192.168.1.2 0 0&lt;/P&gt;&lt;P&gt;&lt;BR&gt; Hope this helps.&lt;P&gt; &lt;P&gt;Thanks,</description><pubDate>Wed, 06 Jan 2010 15:51:54 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-28030: Server encountered problems accessing LDAP directory service</title><link>http://www.franklinfaces.com/Topic162-56-1.aspx</link><description>I am getting the following error messages:&lt;P&gt;H:\&amp;gt;sqlplus &lt;A href="mailto:produser@proddb"&gt;produser@proddb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SQL*Plus: Release 10.2.0.3.0 - Production on Mon Oct 26 13:58:12 2009&lt;/P&gt;&lt;P&gt;Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.&lt;/P&gt;&lt;P&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-28030: Server encountered problems accessing LDAP directory service&lt;/P&gt;&lt;P&gt;My sqlnet.ora and ldap.ora shows the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;sqlnet.ora&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ldap.ora&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY_SERVERS= (oid1p.iam.com:389:636,oid2p.iam.com:389:636,oid3p.iam.com:389:636)&lt;/P&gt;&lt;P&gt;DEFAULT_ADMIN_CONTEXT = "dc=iam,dc=com"&lt;/P&gt;&lt;P&gt;DIRECTORY_SERVER_TYPE = OID&lt;/P&gt;&lt;P&gt;I couldn't figure out what was going on.  Every userid that was idnetified GLOBALLY was having this same error message:&lt;/P&gt;&lt;P&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-28030: Server encountered problems accessing LDAP directory service&lt;/P&gt;&lt;P&gt;I was able to login to other remote servers from the database server using ldap entries.  Didn't make sense.  &lt;/P&gt;&lt;P&gt;Finally after numerous attempts, this is what I did to fix it.   I had started up the database with the wrong ORACLE_BASE set.  It was set to following :   ORACLE_BASE=/oracle     It should have been set to :  ORACLE_BASE=/u01/oracle&lt;/P&gt;&lt;P&gt;Then I shutdown and restart the database and the user was able to login.    The reason why this was the issue was because the wallet was under /u01/oracle/admin/&amp;lt;sid&amp;gt;/wallet directory and it couldn't find it.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Now you can also set something similar in your sqlnet.ora if possible so you prob. don't have to restart your database:&lt;/P&gt;&lt;P&gt;WALLET_LOCATION=  &lt;BR&gt;  (SOURCE=&lt;BR&gt;      (METHOD=file)&lt;BR&gt;      (METHOD_DATA=  &lt;BR&gt;         (DIRECTORY=/u01/oracle/admin/wallets)))&lt;/P&gt;&lt;P&gt;You can also run this command to check if your wallet is open:&lt;/P&gt;&lt;P&gt;select * from system.is_wallet_open;&lt;/P&gt;&lt;P&gt;You'll get something like : &lt;/P&gt;&lt;P&gt;WALLET_STATUS&lt;BR&gt;-------------&lt;BR&gt;            1&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;BR&gt; </description><pubDate>Mon, 26 Oct 2009 14:21:23 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-22615 attribute is not a collection</title><link>http://www.franklinfaces.com/Topic150-56-1.aspx</link><description>&lt;STRONG&gt;Error Message:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;ORA-22615 attribute is not a collection&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Error Cause:&lt;/STRONG&gt;&lt;BR&gt;Collection routine is invoked upon a non-collection attribute. 12-52 Oracle9i Database Error Messages&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Action:&lt;/STRONG&gt;&lt;BR&gt;Make sure attribute is a collection. &lt;BR&gt;</description><pubDate>Tue, 08 Sep 2009 14:40:51 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-23421: job number 141 is not a job in the job queue</title><link>http://www.franklinfaces.com/Topic131-56-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I was logged in as SYS and trying to remove a job but was getting the following error :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;SQL&amp;gt;&lt;/FONT&gt; &lt;FONT color=#113333&gt;&lt;STRONG&gt;execute DBMS_JOB.REMOVE (141);&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color=#113333&gt;BEGIN DBMS_JOB.REMOVE (141); END;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;*&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-23421: job number 141 is not a job in the job queue&lt;BR&gt;ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86&lt;BR&gt;ORA-06512: at "SYS.DBMS_IJOB", line 529&lt;BR&gt;ORA-06512: at "SYS.DBMS_JOB", line 171&lt;BR&gt;ORA-06512: at line 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Then after some reseach, I found how to remove the job that is owned by another user:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;SQL&amp;gt; &lt;STRONG&gt;EXECUTE SYS.DBMS_IJOB.REMOVE (141);&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;PL/SQL procedure successfully completed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;/FONT&gt;</description><pubDate>Sun, 24 May 2009 13:18:35 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-27092: skgfofi: size of file exceeds file size limit of the process</title><link>http://www.franklinfaces.com/Topic103-56-1.aspx</link><description>[b]I recently saw this in the alert log:[/b]&lt;br&gt;&lt;br&gt;Errors in file /u8oracle/local/QA/bdump/qa_dbw0_164816.trc:&lt;br&gt;ORA-01157: cannot identify/lock data file 15 - see DBWR trace file&lt;br&gt;ORA-01110: data file 15: '/u8oraindex1/QA/libraryx_01.dbf'&lt;br&gt;ORA-27092: size of file exceeds file size limit of the process&lt;br&gt;Additional information: 131071&lt;br&gt;Additional information: 281601&lt;br&gt;Tue Mar 10 22:13:06 2009&lt;br&gt;Errors in file /u8oracle/local/QA/bdump/qa_dbw0_164816.trc:&lt;br&gt;ORA-01157: cannot identify/lock data file 18 - see DBWR trace file&lt;br&gt;ORA-01110: data file 18: '/ux228oradata1/QA/masterd_01.dbf'&lt;br&gt;ORA-27092: size of file exceeds file size limit of the process&lt;br&gt;Additional information: 131071&lt;br&gt;Additional information: 704001&lt;br&gt;Tue Mar 10 22:13:06 2009&lt;br&gt;Errors in file /u8oracle/local/QA/bdump/qa_dbw0_164816.trc:&lt;br&gt;ORA-01157: cannot identify/lock data file 19 - see DBWR trace file&lt;br&gt;ORA-01110: data file 19: '/u8oraindex1/QA/masterx_01.dbf'&lt;br&gt;ORA-27092: size of file exceeds file size limit of the process&lt;br&gt;&lt;br&gt;&lt;br&gt;[b]Cause:[/b]&lt;br&gt;&lt;br&gt;The account that is used to run the stored procedure or simple SQL query could yield the above errors. The issue was related to the ULIMIT set to the user account.&lt;br&gt;&lt;br&gt;[b]Solution:[/b]&lt;br&gt;&lt;br&gt;Have UNIX administrator reset the ULIMIT to a higher value or "unlimited" .&lt;br&gt;&lt;br&gt;&lt;br&gt;I checked my environment and it was set to unlimited:&lt;br&gt;&lt;br&gt;proddbserv01: /u8oracle/local/QA/bdump/&gt; ulimit -a&lt;br&gt;time(seconds)         unlimited&lt;br&gt;file(blocks)              unlimited&lt;br&gt;data(kbytes)           unlimited&lt;br&gt;stack(kbytes)          4194304&lt;br&gt;memory(kbytes)      unlimited&lt;br&gt;coredump(blocks)     2097151&lt;br&gt;nofiles(descriptors)  2000&lt;br&gt;&lt;br&gt;and still saw in the alert log the error message.   Then I realized that the database was not started using the oracle account which has the unlimited settings.   It was started by another user.   I then logged in to sqlplus and shutdown immediate and then issued startup.   &lt;br&gt;&lt;br&gt;This worked and the database started up successfully.&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 11 Mar 2009 01:46:35 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-29339: tablespace block size 16384 does not match configured block sizes</title><link>http://www.franklinfaces.com/Topic91-56-1.aspx</link><description>Current Database Block Size:  8192&lt;br&gt;&lt;br&gt;You want to try to add a tablespace that is of block size 16k  (16384).&lt;br&gt;&lt;br&gt;You get an error message:&lt;br&gt;ORA-29339: tablespace block size 16384 does not match configured block sizes&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;SQL&gt;  create tablespace PRODDATA datafile '/oradata1/PRODDATA/oradata/proddata03_01.dbf' size 10000m  blocksize 16384;&lt;br&gt; create tablespace PRODDATA datafile '/oradata1/PRODDATA/oradata/proddata03_01.dbf' size 10000m  blocksize 16384&lt;br&gt;*&lt;br&gt;ERROR at line 1:&lt;br&gt;ORA-29339: tablespace block size 16384 does not match configured block sizes&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Here is the solution to it:&lt;br&gt;In the newer databases you can have tablespaces with different block sizes but you need to make sure your cache parameters are configured properly.&lt;br&gt;&lt;br&gt;At the sqlplus prompt type in:&lt;br&gt;SQL&gt; show parameter cache&lt;br&gt;&lt;br&gt; show parameter cache&lt;br&gt;&lt;br&gt;NAME                                 TYPE                             VALUE&lt;br&gt;------------------------------------ -------------------------------- ------------------------------&lt;br&gt;db_16k_cache_size                    big integer                      0&lt;br&gt;db_2k_cache_size                     big integer                      0&lt;br&gt;db_32k_cache_size                    big integer                      0&lt;br&gt;db_4k_cache_size                     big integer                      0&lt;br&gt;db_8k_cache_size                     big integer                      0&lt;br&gt;db_cache_advice                      string                           ON&lt;br&gt;db_cache_size                        big integer                      3568M&lt;br&gt;db_keep_cache_size                   big integer                      0&lt;br&gt;db_recycle_cache_size                big integer                      0&lt;br&gt;object_cache_max_size_percent        integer                          10&lt;br&gt;object_cache_optimal_size            integer                          102400&lt;br&gt;session_cached_cursors               integer                          150&lt;br&gt;&lt;br&gt;&lt;br&gt;If you have enough memory you should not need to reduce anything else but in case you don't you will need to reduce your db_cache_size.  Normally you don't.   &lt;br&gt;&lt;br&gt;In this case we're trying to add 16k tablespace so we will need to adjust the db_16k_cache_size:&lt;br&gt;&lt;br&gt;SQL&gt; alter system set db_16k_cache_size=32M;&lt;br&gt;&lt;br&gt;&lt;br&gt;This basically allows us to allocate 16k buffers inside our sga.  This way we can you non-standard blocksizes in the database.&lt;br&gt;&lt;br&gt;Now it will allow us to create the tablespace with 16k block size:&lt;br&gt;&lt;br&gt;&lt;br&gt;SQL&gt; create tablespace PRODDATA datafile '/oradata1/PRODDATA/oradata/proddata03_01.dbf' size 10000m  blocksize 16384;&lt;br&gt;&lt;br&gt;Tablespace created.&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 26 Feb 2009 02:42:19 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>