title: Oozie Installation - Error during oozied.sh start
body: <p>I'm new to Oozie and I'm trying to install and setup Oozie. I am following the instructions provided on the Apache site: "<a href="http://oozie.apache.org/docs/3.3.2/DG_QuickStart.html#Building_Oozie" rel="nofollow">http://oozie.apache.org/docs/3.3.2/DG_QuickStart.html#Building_Oozie</a>". I have been able to complete the following:</p>
  
  <ol>
  <li>Build the distribution executing <code>./mkdistro.sh -DskipTests</code>. </li>
  <li>Downloaded ExtJs 2.2 and exploded into a folder <strong>libext</strong></li>
  <li>I already have Hadoop 1.1.2 installed and working on Ubuntu 12.04 in the AWS instance. </li>
  <li>The cluster is setup as a pseudo-distributed as I'm learning</li>
  <li><p>Updated the core-site.xml with the configuration below:</p>
  
  <pre><code>&lt;property&gt;
      &lt;name&gt;hadoop.proxyuser.ubuntu.hosts&lt;/name&gt;
      &lt;value&gt;*&lt;/value&gt;
  &lt;/property&gt;
  &lt;property&gt;
      &lt;name&gt;hadoop.proxyuser.ubuntu.groups&lt;/name&gt;
      &lt;value&gt;*&lt;/value&gt;
  &lt;/property&gt;
  </code></pre></li>
  <li><p>Executed <code>oozie-setup.sh prepare-war -hadoop $HADOOP_HOME 0.20.2 -extjs libext</code> and received the message "oozie ready to be started"</p></li>
  <li>Executed <code>ooziedb.sh create -sqlfile oozie.sql -run</code>.
  DB created successfully. </li>
  <li><p>Executed </p>
  
  <pre><code>oozied.sh start
  </code></pre>
  
  <p>No errors reported just variable values printed. </p></li>
  <li><p>I opened the <code>catalina.out</code> file and I see the following message:</p>
  
  <pre><code>Oct 16, 2013 6:56:10 PM org.apache.tomcat.util.digester.SetPropertiesRule begin 
  WARNING: [SetPropertiesRule]{Server} Setting property 'port' to '${oozie.admin.port}' did not find a matching property. 
  Oct 16, 2013 6:56:11 PM org.apache.catalina.core.AprLifecycleListener init 
  INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /vol-cbe153a/jdk1.6.0_45/jre/lib/amd64/server:/vol-cbe153a/jdk1.6.0_45/jre/lib/amd64:/vol-cbe153a/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib  
  Oct 16, 2013 6:56:11 PM org.apache.coyote.http11.Http11Protocol init
  INFO: Initializing Coyote HTTP/1.1 on http-0    
  Oct 16, 2013 6:56:11 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 1488 ms  
  Oct 16, 2013 6:56:11 PM org.apache.catalina.core.StandardService start
  INFO: Starting service Catalina  
  Oct 16, 2013 6:56:11 PM org.apache.catalina.core.StandardEngine start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.36  
  Oct 16, 2013 6:56:11 PM org.apache.catalina.startup.HostConfig deployDescriptor  
  INFO: Deploying configuration descriptor oozie.xml  
  
  ERROR: Oozie could not be started 
  
  REASON: org.apache.oozie.service.ServiceException: E0000: System property 'oozie.home.dir' not defined
  </code></pre></li>
  </ol>
  
  <h2>Stacktrace:</h2>
  
  <pre><code>org.apache.oozie.service.ServiceException: E0000: System property 'oozie.home.dir' not defined
          at org.apache.oozie.service.Services.setOozieHome(Services.java:80)
          at org.apache.oozie.service.Services.&lt;init&gt;(Services.java:101)
          at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:38)
  </code></pre>
  
  <p>Can somebody help me on where the <code>oozie.home.dir</code> property needs to be set?</p>