Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Import Help

Import Help

2005-08-12       - By Mercadante, Thomas F (LABOR)

Reply:     1     2     3     4     5     6  

Bryan,



What Oracle account are you using to run the import command?  Is it the
CONSOL user?  Does this user have IMP_FULL_DATABASE role?  I think this
is a permissions problem where maybe you can create the tables but do
not have permissions to import the stats to the tables/columns.  Does
the table get created correctly in the CONSOL account?



Tom



__ ____ ____ ____ ____ ____ ____

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Bryan Wells
Sent: Thursday, August 11, 2005 4:40 PM
To: Oracle-L
Subject: Import Help



Can some one see what I am missing/doing wrong?  I am attempting to
import data from a parfile to get data from a partitioned table to
non-partitioned table and am getting the following error.  i have
truncated the tables and set ignore=y.  is that not enough?



FILE=\\lon1-gdwt\f$\Oracle\GDWSTG\Backups\GDWSTG_CONSOL_EXP.DMP
LOG=\\lon1-gdwt\f$\Oracle\GDWSTGT\Backups\GDWSTG_CONSOL_IMP.log
STATISTICS=NONE
FROMUSER=CONSOL
TOUSER=CONSOL
TABLES=(
INVOICE,
INVOICE_ITEM,
JOURNAL_ENTRY,
JOURNAL_ENTRY_LINE,
ORDER_DETAIL,
ORDER_HEADER,
RMA_DETAIL,
RMA_HEADER,
RMA_NOTES)
CONSTRAINTS=N
INDEXES=N
IGNORE=Y



IMP-00017: following statement failed with ORACLE error 20000:
"DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C105';
SREC.MAXVAL "
":= 'C32C065D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS :=
DBMS_STA"
"TS.NUMARRAY(4,430592); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1);
SREC.EPC :="
" 2;
DBMS_STATS.SET_COLUMN_STATS(NULL,'"INVOICE"','"DW_SOLD_TO_CUSTOMER_ID"'"


",'"CONSOL_INVOICE_FY05"',NULL,NULL,3137,.000318775900541919,0,srec,4,0)
; EN"
"D;"
IMP-00003: ORACLE error 20000 encountered
ORA-20000 (See ORA-20000.ora-code.com): Unable to set values for column DW_SOLD_TO_CUSTOMER_ID: does
not exist or insufficient privileges
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS", line 3365
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS", line 3523
ORA-06512 (See ORA-06512.ora-code.com): at line 1

--
Bryan Wells
bunjibry@(protected)
Oracle DBA hopeful


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft
-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1=
"urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC
-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@(protected)
  {font-family:Tahoma;
  panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0in;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:blue;
  text-decoration:underline;}
span.EmailStyle17
  {mso-style-type:personal-reply;
  font-family:Arial;
  color:navy;}
@(protected) Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
 color:navy'>Bryan</span></font></st1:place></st1:City><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>What Oracle account are you using to run
the import command? &nbsp;Is it the CONSOL user?&nbsp; Does this user have IMP
_FULL_DATABASE
role?&nbsp; I think this is a permissions problem where maybe you can create the
tables but do not have permissions to import the stats to the tables/columns.
&nbsp; Does
the table get created correctly in the CONSOL account?<o:p></o:p></span></font>
</p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tom<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Bryan Wells<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 11, 2005
4:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Oracle-L<br>
<b><span style='font-weight:bold'>Subject:</span></b> Import Help</span></font>
<o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Can some one see what I am missing/doing wrong?&nbsp; I am attempting
to import data from a parfile to get data from a partitioned table to
non-partitioned table and am getting the following error.&nbsp; i have
truncated the tables and set ignore=y.&nbsp; is that not enough? <o:p></o:p><
/span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>FILE=\\lon1-gdwt\f$\Oracle\GDWSTG\Backups\GDWSTG_CONSOL_EXP.DMP<br>
LOG=\\lon1-gdwt\f$\Oracle\GDWSTGT\Backups\GDWSTG_CONSOL_IMP.log<br>
STATISTICS=NONE<br>
FROMUSER=CONSOL<br>
TOUSER=CONSOL<br>
TABLES=(<br>
&nbsp;INVOICE,<br>
&nbsp;INVOICE_ITEM, <br>
&nbsp;JOURNAL_ENTRY,<br>
&nbsp;JOURNAL_ENTRY_LINE,<br>
&nbsp;ORDER_DETAIL,<br>
&nbsp;ORDER_HEADER,<br>
&nbsp;RMA_DETAIL,<br>
&nbsp;RMA_HEADER,<br>
&nbsp;RMA_NOTES)<br>
CONSTRAINTS=N<br>
INDEXES=N<br>
IGNORE=Y<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>IMP-00017: following statement failed with ORACLE error 20000:<br>
&nbsp;&quot;DECLARE&nbsp; SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C105';
SREC.MAXVAL &quot;<br>
&nbsp;&quot;:= 'C32C065D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS :=
DBMS_STA&quot;<br>
&nbsp;&quot;TS.NUMARRAY(4,430592); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1);
SREC.EPC :=&quot;<br>
&nbsp;&quot; 2;
DBMS_STATS.SET_COLUMN_STATS(NULL,'&quot;INVOICE&quot;','&quot;DW_SOLD_TO
_CUSTOMER_ID&quot;'&quot;
<br>
&nbsp;&quot;,'&quot;CONSOL_INVOICE_FY05&quot;',NULL,NULL,3137,
.000318775900541919,0,srec,4,0);
EN&quot;<br>
&nbsp;&quot;D;&quot;<br>
IMP-00003: ORACLE error 20000 encountered<br>
ORA-20000 (See ORA-20000.ora-code.com): Unable to set values for column DW_SOLD_TO_CUSTOMER_ID: does not
exist or insufficient privileges <br>
ORA-06512 (See ORA-06512.ora-code.com): at &quot;SYS.DBMS_STATS&quot;, line 3365<br>
ORA-06512 (See ORA-06512.ora-code.com): at &quot;SYS.DBMS_STATS&quot;, line 3523<br>
ORA-06512 (See ORA-06512.ora-code.com): at line 1<br clear=all>
<br>
-- <br>
Bryan Wells<br>
<a href="mailto:bunjibry@(protected)">bunjibry@(protected) </a><br>
Oracle DBA hopeful <o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>