<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" 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 12 (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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
p.da3dbcf1-e6a3-4961-a767-fd561efc196d, li.da3dbcf1-e6a3-4961-a767-fd561efc196d, div.da3dbcf1-e6a3-4961-a767-fd561efc196d
        {mso-style-name:da3dbcf1-e6a3-4961-a767-fd561efc196d;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.htmlpreformattedchar0
        {mso-style-name:htmlpreformattedchar;
        mso-style-priority:99;
        font-family:Consolas;}
span.htmlpreformattedchar00
        {mso-style-name:htmlpreformattedchar0;
        mso-style-priority:99;
        font-family:Consolas;}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.htmlpreformattedchar000
        {mso-style-name:htmlpreformattedchar00;
        font-family:"Courier New";}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle28
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle29
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.cgselectable
        {mso-style-name:cgselectable;}
span.EmailStyle31
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1737849632;
        mso-list-type:hybrid;
        mso-list-template-ids:1031307278 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>I
have attached more information on the issues we are having importing deploy.sql
into our oracle 11g database. Does anyone have any ideas as to why we are
seeing these errors?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Jonathan Hooker
<br>
Desktop Support</span><span style='font-size:10.0pt;color:#1F497D'> -
Engineering</span><span style='font-size:10.0pt;color:#1F497D'><br>
Garmin International</span><span style='font-size:10.0pt;color:navy'><br>
<a href="mailto:jonathan.hooker@garmin.com">jonathan.hooker@garmin.com</a></span><span
style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Agrawal, Rinky <br>
<b>Sent:</b> Wednesday, April 07, 2010 11:16 AM<br>
<b>To:</b> Hooker, Jonathan<br>
<b>Subject:</b> RE: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Jonathan,<o:p></o:p></span></p>

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

<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='font-size:10.0pt;color:navy'><span style='mso-list:Ignore'>1)<span
style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span
style='font-size:10.0pt;color:navy'>I re-ran deploy.sql and received the same
error<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='font-size:10.0pt;color:navy'><span style='mso-list:Ignore'>2)<span
style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span
style='font-size:10.0pt;color:navy'>Also, changed the recid to 1 in the INSERT
statements as suggested in the thread but still the same error.<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Thanks<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Rinky<o:p></o:p></span></p>

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

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

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

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Hooker, Jonathan <br>
<b>Sent:</b> Tuesday, April 06, 2010 5:46 PM<br>
<b>To:</b> Agrawal, Rinky<br>
<b>Subject:</b> RE: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Did
you try the deploy.sql not the main.sql? The deploy.sql is the one we want to
import not the main.sql.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Jonathan Hooker
<br>
Desktop Support</span><span style='font-size:10.0pt;color:#1F497D'> -
Engineering</span><span style='font-size:10.0pt;color:#1F497D'><br>
Garmin International </span><span style='font-size:10.0pt;color:navy'><br>
<a href="mailto:jonathan.hooker@garmin.com">jonathan.hooker@garmin.com</a></span><span
style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Agrawal, Rinky <br>
<b>Sent:</b> Tuesday, April 06, 2010 11:39 AM<br>
<b>To:</b> Hooker, Jonathan<br>
<b>Subject:</b> RE: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Jonathan,<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Can you ask the
same person who replied below?<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Ask him that we
are able to run the main.sql from SYSTEM user fine but not from the SPWK_APPS
user and getting the below error. We have assigned all the SYSTEM privileges to
SPWK_APPS user (see attached list of privilieges).<o:p></o:p></span></p>

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

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL>
--------------------------------------------------------------------------------<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL>
-- Source: data/common/rhn_schedule_days.sql<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL>
--------------------------------------------------------------------------------<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>SQL>
INSERT INTO rhn_schedule_days<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'> 
2      (recid, schedule_id, ord, start_1, end_1,
start_2, end_2, start_3, end_3, start_4, end_4, last_update_user,
last_update_date)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'> 
3  VALUES<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'> 
4      (rhn_schedule_days_recid_seq.nextval, 1, 0,
to_date('08-SEP-2000 12:00:02 AM', 'DD-MON-YYYY HH:MI:SS AM'),
to_date('09-SEP-2000 12:00:00 AM', 'DD-MON-YYYY HH:MI:SS AM'), null, null,
null, null, null, null, 'system', null);<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>INSERT
INTO rhn_schedule_days<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>*<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ERROR
at line 1:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ORA-02291:
integrity constraint (SPWK_APPS.RHN_SCHDY_SCHED_SCHEDULE_ID_FK)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>violated
- parent key not found<o:p></o:p></span></p>

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

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Thanks. Let me
know if you’ve any questions.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Rinky<o:p></o:p></span></p>

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

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

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

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Agrawal, Rinky <br>
<b>Sent:</b> Thursday, March 25, 2010 4:32 PM<br>
<b>To:</b> Hooker, Jonathan<br>
<b>Subject:</b> RE: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Jonathan,<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>I was getting some
errors while I was running main.sql. As you said, we have to clean everything
in the schema. But there were existing connection to the spwk_apps user, so I
could not drop it. I created another new schema SPWK_ADMIN and still give me
some errors.<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>Can you ask in the
mailing list following question?<o:p></o:p></span></p>

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

<p class=MsoNormal><span style='font-size:10.0pt;color:navy'>What kinds of user
privileges are required to run Main.sql? I have given the sysdba privileges and
still give me below error.<o:p></o:p></span></p>

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

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

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>SQL> CREATE TABLE web_customer<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>  2  (<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>  3     
id                           
NUMBER NOT NULL<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 
4                                       
CONSTRAINT web_customer_id_pk PRIMARY KEY<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 
5                                       
USING INDEX TABLESPACE [[web_index_tablespace_2]],<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>  6     
name                         
VARCHAR2(128) NOT NULL,<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>  7     
oracle_customer_id           
NUMBER<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 
8                                       
CONSTRAINT web_customer_ocid_unq UNIQUE<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>  9                                       
USING INDEX TABLESPACE [[web_index_tablespace_2]],<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 10     
oracle_customer_number        NUMBER<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 11                                       
CONSTRAINT web_customer_ocn_unq UNIQUE<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 12                                       
USING INDEX TABLESPACE [[web_index_tablespace_2]],<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 13     
customer_type           
     CHAR(1)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 14                                       
DEFAULT ('P') NOT NULL<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 15                                       
CONSTRAINT web_customer_type_list<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 16                                           
CHECK (customer_type in ( 'B' , 'P' )),<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 17     
credit_application_completed  VARCHAR2(1),<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 18     
created                      
DATE<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 19                                       
DEFAULT (sysdate) NOT NULL,<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 20      modified                     
DATE<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 21                                       
DEFAULT (sysdate) NOT NULL<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 22  )<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 23  TABLESPACE [[web_tablespace_2]]<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 24  ENABLE ROW MOVEMENT<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'> 25  ;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>                                     
USING INDEX TABLESPACE [[web_index_tablespace_2]],<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:navy'>                                                            
*<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:red'>ERROR at line 5:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-size:8.0pt;
color:red'>ORA-02216: tablespace name expected<o:p></o:p></span></p>

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

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

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

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

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Hooker, Jonathan <br>
<b>Sent:</b> Monday, March 22, 2010 5:52 PM<br>
<b>To:</b> Agrawal, Rinky<br>
<b>Subject:</b> FW: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Rinky,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Here
is the email thread as well as the .sql file that needs to run… I am also
forwarding one other email that pertains to this. Please let me know if you
have any questions! Thanks for your help!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Jonathan Hooker
<br>
Desktop Support</span><span style='font-size:10.0pt;color:#1F497D'> -
Engineering</span><span style='font-size:10.0pt;color:#1F497D'><br>
Garmin International </span><span style='font-size:10.0pt;color:navy'><br>
<a href="mailto:jonathan.hooker@garmin.com">jonathan.hooker@garmin.com</a></span><span
style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On
Behalf Of </b>Eric<br>
<b>Sent:</b> Thursday, March 11, 2010 7:49 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS
5 and Oracle 11G<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Jonathon,<br>
<br>
I had the exact same issue just a while back.<br>
<br>
<a
href="https://www.redhat.com/archives/spacewalk-list/2010-February/msg00191.html"
target="_blank">https://www.redhat.com/archives/spacewalk-list/2010-February/msg00191.html</a><br>
<br>
<span class=cgselectable>We are running the script on Oracle RAC 11gR2.</span><br>
<br>
<span class=cgselectable>Our DBA ran the main.sql script using sqlplus client. </span><o:p></o:p></p>

<div>

<p class=MsoNormal><br>
-Eric<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

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

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> "Hooker, Jonathan"
<Jonathan.Hooker@garmin.com><br>
<b>To:</b> "spacewalk-list@redhat.com"
<spacewalk-list@redhat.com><br>
<b>Sent:</b> Wed, March 10, 2010 10:13:20 AM<br>
<b>Subject:</b> [Spacewalk-list] Issue with Spacewalk 0.8 install on CentOS 5
and Oracle 11G</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<div>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>I am in the process of trying to get a spacewalk server up
on CentOS 5 and Oracle 11g and the database does not fully populate. In the
logs we are getting the following error:<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>ORA-02291: integrity constraint (SPWK_APPS.RHN_SCHDY_SCHED_SCHEDULE_ID_FK)<o:p></o:p></p>

<p class=MsoNormal>violated - parent key not found<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>And when we tried to manually populate the database using
the main.sql from /etc/sysconfig/rhn/oracle we get the following error:<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>ORA-02303: cannot drop or replace a type with type or table
dependents<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>In both cases we are able to tell that the database is
getting partially populated, the population is just failing partway through.<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>Any help is much appreciated! Thanks a bunch!<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt'>Jonathan Hooker <br>
Desktop Support - Engineering <br>
Garmin International <span style='color:navy'><br>
<a href="mailto:jonathan.hooker@garmin.com" target="_blank">jonathan.hooker@garmin.com</a></span></span><o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<p class=da3dbcf1-e6a3-4961-a767-fd561efc196d><span style='font-size:8.0pt'>--------------------------------------------------------------------------------<o:p></o:p></span></p>

<p class=da3dbcf1-e6a3-4961-a767-fd561efc196d><span style='font-size:8.0pt'>This
e-mail and any attachments may contain confidential material for the sole use
of the intended recipient. If you are not the intended recipient, please be
aware that any disclosure, copying, distribution or use of this e-mail or any
attachment is prohibited. If you have received this e-mail in error, please
contact the sender and delete all copies.<o:p></o:p></span></p>

<p class=da3dbcf1-e6a3-4961-a767-fd561efc196d><span style='font-size:8.0pt'> <o:p></o:p></span></p>

<p class=da3dbcf1-e6a3-4961-a767-fd561efc196d><span style='font-size:8.0pt'>Thank
you for your cooperation.<o:p></o:p></span></p>

</div>

</div>

</div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

</div>

</body>

</html>