{"id":51,"date":"2009-06-05T11:13:22","date_gmt":"2009-06-05T10:13:22","guid":{"rendered":"http:\/\/www.gadgetdude.co.uk\/blog\/?p=51"},"modified":"2009-06-05T11:14:24","modified_gmt":"2009-06-05T10:14:24","slug":"the-oracle-challenge","status":"publish","type":"post","link":"https:\/\/www.gadgetdude.co.uk\/blog\/?p=51","title":{"rendered":"The Oracle Challenge"},"content":{"rendered":"<div style=text-align:left;><a class=\"wpptopdfenh\" target=\"_blank\" rel=\"noindex,nofollow\" href=\"https:\/\/www.gadgetdude.co.uk\/blog\/?p=51&#038;format=pdf\" title=\"Download PDF\"><img alt=\"Download PDF\" src=\"https:\/\/www.gadgetdude.co.uk\/blog\/wp-content\/plugins\/wp-post-to-pdf-enhanced\/asset\/images\/pdf.png\"><\/a><\/div><p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal<\/w:View> <w:Zoom>0<\/w:Zoom> <w:TrackMoves \/> <w:TrackFormatting \/> <w:PunctuationKerning \/> <w:ValidateAgainstSchemas \/> <w:SaveIfXMLInvalid>false<\/w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false<\/w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false<\/w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF \/> <w:LidThemeOther>EN-GB<\/w:LidThemeOther> <w:LidThemeAsian>X-NONE<\/w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE<\/w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables \/> <w:SnapToGridInCell \/> <w:WrapTextWithPunct \/> <w:UseAsianBreakRules \/> <w:DontGrowAutofit \/> <w:SplitPgBreakAndParaMark \/> <w:DontVertAlignCellWithSp \/> <w:DontBreakConstrainedForcedTables \/> <w:DontVertAlignInTxbx \/> <w:Word11KerningPairs \/> <w:CachedColBalance \/> <w:UseFELayout \/> <\/w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4<\/w:BrowserLevel> <m:mathPr> <m:mathFont m:val=\"Cambria Math\" \/> <m:brkBin m:val=\"before\" \/> <m:brkBinSub m:val=\"&#45;-\" \/> <m:smallFrac m:val=\"off\" \/> <m:dispDef \/> <m:lMargin m:val=\"0\" \/> <m:rMargin m:val=\"0\" \/> <m:defJc m:val=\"centerGroup\" \/> <m:wrapIndent m:val=\"1440\" \/> <m:intLim m:val=\"subSup\" \/> <m:naryLim m:val=\"undOvr\" \/> <\/m:mathPr><\/w:WordDocument> <\/xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=\"false\" DefUnhideWhenUsed=\"true\"   DefSemiHidden=\"true\" DefQFormat=\"false\" DefPriority=\"99\"   LatentStyleCount=\"267\"> <w:LsdException Locked=\"false\" Priority=\"0\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Normal\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"heading 1\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 2\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 3\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 4\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 5\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 6\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 7\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 8\" \/> <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 9\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 1\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 2\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 3\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 4\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 5\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 6\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 7\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 8\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 9\" \/> <w:LsdException Locked=\"false\" Priority=\"35\" QFormat=\"true\" Name=\"caption\" \/> <w:LsdException Locked=\"false\" Priority=\"10\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Title\" \/> <w:LsdException Locked=\"false\" Priority=\"1\" Name=\"Default Paragraph Font\" \/> <w:LsdException Locked=\"false\" Priority=\"11\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtitle\" \/> <w:LsdException Locked=\"false\" Priority=\"22\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Strong\" \/> <w:LsdException Locked=\"false\" Priority=\"20\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Emphasis\" \/> <w:LsdException Locked=\"false\" Priority=\"59\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Table Grid\" \/> <w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Placeholder Text\" \/> <w:LsdException Locked=\"false\" Priority=\"1\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"No Spacing\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 1\" \/> <w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Revision\" \/> <w:LsdException Locked=\"false\" Priority=\"34\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"List Paragraph\" \/> <w:LsdException Locked=\"false\" Priority=\"29\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Quote\" \/> <w:LsdException Locked=\"false\" Priority=\"30\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Quote\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 1\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 2\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 3\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 4\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 5\" \/> <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 6\" \/> <w:LsdException Locked=\"false\" Priority=\"19\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Emphasis\" \/> <w:LsdException Locked=\"false\" Priority=\"21\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Emphasis\" \/> <w:LsdException Locked=\"false\" Priority=\"31\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Reference\" \/> <w:LsdException Locked=\"false\" Priority=\"32\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Reference\" \/> <w:LsdException Locked=\"false\" Priority=\"33\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Book Title\" \/> <w:LsdException Locked=\"false\" Priority=\"37\" Name=\"Bibliography\" \/> <w:LsdException Locked=\"false\" Priority=\"39\" QFormat=\"true\" Name=\"TOC Heading\" \/> <\/w:LatentStyles> <\/xml><![endif]--> <!--[if gte mso 10]>\n<mce:style><!   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0cm 5.4pt 0cm 5.4pt; \tmso-para-margin-top:0cm; \tmso-para-margin-right:0cm; \tmso-para-margin-bottom:10.0pt; \tmso-para-margin-left:0cm; \tline-height:115%; \tmso-pagination:widow-orphan; \tfont-size:11.0pt; \tfont-family:\"Calibri\",\"sans-serif\"; \tmso-ascii-font-family:Calibri; \tmso-ascii-theme-font:minor-latin; \tmso-hansi-font-family:Calibri; \tmso-hansi-theme-font:minor-latin;} --><\/p>\n<p><!--[endif]--><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">As Oracle have now bought out Sun I thought it might be a good time to look at running an oracle database on linux. Especially as Sun have MySQL in their portfolio and that is one of if not the major database currently running on most linux systems.Now lucklily Oracle allow you to pull down a demo version and have a play. So I did. And what follows is the traps and pitfalls I found along the way.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Now before I start I have to say I broke a few rules by installing this on Centos 5.3 instead of RedHat or any of the approved operating systems. But to be honest, I did not have a single problem with the OS. A lot of the issues are really to do with the linux environment unless all the tricks and traps are done then something will break lol<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">So firstly register with oracle and pull down the database software. Due to me mucking about I ended up pulling down 10 and 11g versions. This document will be around the 10 version.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Once pulled down you have to ensure a few things are done on your system.<span> <\/span>Firstly ensure that the following RPM&#8217;s are installed<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">libaio-devel<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">elfutils-devel<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">sysstat<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">compat-libstdc++<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">unixodbc<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal; text-align: left;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">unixodbc-devel<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><br \/>\n<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Then you have to modify the \/etc\/sysctl.conf file. The additions\/modifiations I had to make were the following<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">net.core.rmem_default = 4194304<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">net.core.rmem_max<span> <\/span>= 4194304<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">net.core.wmem_default = 262144<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">net.core.wmem_max<span> <\/span>= 262144<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">net.ipv4.ip_local_port_range = 1024 65000<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">kernel.sem = 250 32000 100 128<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">If you add these lines and then use the &#8216;sysctl -p&#8217; command to load them, failing any typos it will be fine.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Next you need to create a user accounts and groups for the database, this will make it easier for you in the future. For this i created an oracle user and a dba and oinstall groups.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">These are easy to add using the following commands<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">groupadd oinstall<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">groupadd dba<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">useradd -m -g oinstall -G dba oracle<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">passwd oracle<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">That is the installation account ready then ( as oracle will not let you install as root ).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Next create some directories for oracle. For this I just created a top level folder called oracle.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Again , easy to do with the following commands :<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">mkdir -p \/oracle<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">chown -R oracle:oinstall \/oracle<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">chmod -R 775 \/oracle<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Now oracle advise setting limits for the number of processes and open files for each account. This is done by adding the following lines to \/etc\/security\/limits.conf just before the &#8220;# End of file&#8221; marker.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">oracle soft nproc 2047<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">oracle hard nproc 16384<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">oracle soft nofile 1024<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">oracle hard nofile 65536<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">And also add the following for PAM security in &#8220;\/etc\/pam.d\/login&#8221;<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">session required \/lib\/security\/pam_limits.so<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Ok now for the first gotcha I came across. In order to install oracle your system MUST have a fixed IP address. I couldn&#8217;t for the life of me get it working on DHCP. ONce you have your fixed IP done check to ensure your \/etc\/hosts file has your IP defined. If it hasn&#8217;t then oracle won&#8217;t install.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Just one simple line can muck up a whole installation, grrrrr.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Right you&#8217;ll be glad thats all the system tuning done. If you want to you can reboot here to ensure everything is set, but it should be all ok.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Now log into the oracle account you just created and unzip the oracle installation kit into it. ( Linux does have the unzip command so don&#8217;t worry it&#8217;s a zip file you got for the linux installation).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Start the Oracle Universal Installer.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">$ .\/runInstaller<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>1. Select Installation Method<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Select Basic Installation<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Oracle Home Location: \/oracle\/product\/10.2.0\/db_1<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Installation Type: Enterprise Edition (1.3GB)<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* UNIX DBA Group:<span> <\/span>oinstall<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Make sure Create Starter Database is checked<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Global Database Name: demo1<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Enter the Database Password and Confirm Password<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Click on Next<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>2. Specify Inventory Directory and Credentials<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Inventory Directory: \/oracle\/oraInventory<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span><span> <\/span>* Operating System group name:<span> <\/span>oinstall<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Click on Next<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>3. Product-specific Prerequisite Checks<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* If you&#8217;ve been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Click on Next<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>4. Summary<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* A summary of the products being installed is presented.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Click on Install.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>5. Configuration Assistants<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>6. Execute Configuration Scripts<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* At the end of the installation, a pop up window will appear indicating scripts that need to be run as root.<span> <\/span>Login as root and run the indicated scripts.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Click on OK when finished.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>7. End of Installation<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>* Make note of the URLs presented in the summary, and click on Exit when ready.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>8. Congratulations! Your new Oracle Database 10g Release 2 database is up and ready for use.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">You should now have an up and running Oracle installation. But, if you reboot the system it won&#8217;t be up and running. For some reason they don&#8217;t install any automatic startup script ??<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">The first thing to do is add some environment variables to the oracel user account. This is done by editing the .bashrc file in the account and add the following lines<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">ORACLE_OWNER=oracle; export ORACLE_OWNER<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">ORACLE_HOME=\/home\/oracle\/oracle\/product\/10.2.0\/db_1<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">ORACLE_SID=demo1<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">PATH=$PATH:$ORACLE_HOME\/bin<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME\/lib:$ORACLE_HOME\/network\/lib<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">export PATH ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">So I surfed around and eventually came across a simple script I built up. This is my finished script that is located in \/etc\/rc.d\/init.d\/oracle<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">#!\/bin\/bash<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">#<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># Run-level Startup script for the Oracle Instance and Listener<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">#<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># chkconfig: 345 91 19<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># description: Startup\/Shutdown Oracle listener and instance<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">ORA_HOME=&#8221;\/oracle\/product\/10.2.0\/db_1&#8243;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">ORA_OWNR=&#8221;oracle&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># if the executables do not exist &#8212; display error<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">if [ ! -f $ORA_HOME\/bin\/dbstart -o ! -d $ORA_HOME ]<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">then<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo &#8220;Oracle startup: cannot start&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>exit 1<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">fi<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># depending on parameter &#8212; startup, shutdown, restart<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"># of the instance and listener or usage display<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">case &#8220;$1&#8221; in<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>start)<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span># Oracle listener and instance startup<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo -n &#8220;Starting Oracle: &#8220;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;$ORA_HOME\/bin\/lsnrctl start&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;$ORA_HOME\/bin\/dbstart&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;emctl start dbconsole&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;isqlplusctl start&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>touch \/var\/lock\/subsys\/oracle<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo &#8220;OK&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>;;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>stop)<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span># Oracle listener and instance shutdown<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo -n &#8220;Shutdown Oracle: &#8220;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;isqlplusctl stop&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;emctl stop dbconsole&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c &#8220;$ORA_HOME\/bin\/lsnrctl stop&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>su &#8211; $ORA_OWNR -c $ORA_HOME\/bin\/dbshut<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>rm -f \/var\/lock\/subsys\/oracle<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo &#8220;OK&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span><span> <\/span>;;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>reload|restart)<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>$0 stop<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>$0 start<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>;;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>*)<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>echo &#8220;Usage: $0 start|stop|restart|reload&#8221;<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>exit 1<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">esac<\/span><\/address>\n<address class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">exit 0<\/span><\/address>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">There was one last gotcha that I came across, something that is left over from Oracle themselves.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">During the startup of the database it comes back with the following error<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>Failed to auto-start Oracle Net Listene using \/ade\/vikrkuma_new\/oracle\/bin\/tnslsnr<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">If you edit the file &#8220;\/oracle\/product\/10.2.0\/db_1\/bin\/dbstart&#8221; and look for the line containing that text and change it to the location for your oracel database. In my case it is &#8220;\/oracle\/product\/10.2.0\/db_1&#8221;.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Problems and my<span> <\/span>solutions.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">When the &#8220;lsnrctl start&#8221; command is sent you get a the following errors<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span># \/app\/oracle\/oracle\/product\/10.2.0\/db_1\/bin\/lsnrctl start<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">LSNRCTL for Linux: Version 10.2.0.1.0 &#8211; Production on 19-APR-2008 22:24:04<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Copyright (c) 1991, 2005, Oracle.<span> <\/span>All rights reserved.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>TNS-00515: Message 515 not found; No message file for product=network, facility=TNS<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"><span> <\/span>Linux Error: 2: No such file or directory<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">This is because the oracle user account does not have &#8220;$ORACLE_HOME\/network\/lib&#8221; in its LD_LIBRARY_PATH. Check the modifications in .bashrc.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\"> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt; line-height: normal;\"><span style=\"font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;\">When you execute .\/runInstaller and it shows an error on the first line of checks and then gives messages about DHCP, check the hostname and ip is defined in \/etc\/hosts.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Oracle have now bought out Sun I thought it might be a good time to look at running an oracle database on linux. Especially as Sun have MySQL in their portfolio and that is one of if not the major database currently running on most linux systems.Now lucklily Oracle allow you to pull down [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51"}],"collection":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":4,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/54"}],"wp:attachment":[{"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gadgetdude.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}