Are you sure that the build completed successfully?  It sounds like some
files might be missing, so I'm thinking that maybe it mostly finished, but
there was an error near the end that you didn't see.  What command did you
use to build Oozie?  And do you still have the output?

- Robert


On Wed, May 29, 2013 at 10:18 AM, Lenin Raj <[email protected]> wrote:

> Hi Robert,
>
> Thanks.
>
> I just tried "bin/oozie-setup.sh prepare-war", it was still accessing in
> the same path. But Oozie started successfully:
>
> *cp: cannot stat `/var/lib/tomcat6/conf/ssl/server.xml': No such file or
> directory
>
> New Oozie WAR file with added 'ExtJS library, JARs' at
> /var/lib/tomcat6/webapps/oozie.war
>
> INFO: Oozie is ready to be started*
>
> And I have executed "bin/ooziedb.sh create -sqlfile oozie.sql -run"
> successfully.
>
> When I try "bin/oozied.sh start", it outputs a list of environment
> variables, but oozie server is not starting. Found the following in log
> file
>
> 2013-05-29 22:38:50,526  INFO XLogService:539 -
>
>  
> *******************************************************************************
>   STARTUP MSG: Oozie BUILD_VERSION [3.3.2] compiled by [root] on
> [2013.05.28-18:22:27GMT]
>   STARTUP MSG:       revision [unavailable]@[unavailable]
>
> *******************************************************************************
> 2013-05-29 22:38:50,530  INFO XLogService:539 - Log4j configuration file
> [oozie-log4j.properties]
> 2013-05-29 22:38:50,531  INFO XLogService:539 - Log4j configuration file
> loaded from
> [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf]
> 2013-05-29 22:38:50,531  INFO XLogService:539 - Log4j reload interval [10
> sec]
> 2013-05-29 22:38:50,544  INFO ConfigurationService:539 - USER[-] GROUP[-]
> Oozie home dir
> [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2]
> 2013-05-29 22:38:50,544  INFO ConfigurationService:539 - USER[-] GROUP[-]
> Oozie conf dir
> [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf]
> 2013-05-29 22:38:50,545  INFO ConfigurationService:539 - USER[-] GROUP[-]
> Oozie conf file [oozie-site.xml]
> 2013-05-29 22:38:50,745  INFO ConfigurationService:539 - USER[-] GROUP[-]
> Configuration change via System Property, [oozie.base.url]=[
> http://li339-83.members.linode.com:11000/oozie]
> 2013-05-29 22:38:50,745  WARN ConfigurationService:542 - USER[-] GROUP[-]
> System property [oozie.https.keystore.pass] no defined in Oozie
> configuration, ignored
> 2013-05-29 22:38:50,745  WARN ConfigurationService:542 - USER[-] GROUP[-]
> System property [oozie.admin.port] no defined in Oozie configuration,
> ignored
> 2013-05-29 22:38:50,746  WARN ConfigurationService:542 - USER[-] GROUP[-]
> System property [oozie.https.port] no defined in Oozie configuration,
> ignored
> 2013-05-29 22:38:50,746  WARN ConfigurationService:542 - USER[-] GROUP[-]
> System property [oozie.https.keystore.file] no defined in Oozie
> configuration, ignored
> 2013-05-29 22:38:50,749  INFO Services:539 - USER[-] GROUP[-] Exiting null
> Entering NORMAL
> 2013-05-29 22:38:50,754 FATAL Services:533 - USER[-] GROUP[-]
> java.io.IOException: No such file or directory
> java.io.IOException: No such file or directory
>         at java.io.UnixFileSystem.createFileExclusively(Native Method)
>         at java.io.File.checkAndCreate(File.java:1717)
>         at java.io.File.createTempFile0(File.java:1738)
>         at java.io.File.createTempFile(File.java:1850)
>         at
> org.apache.oozie.service.Services.createRuntimeDir(Services.java:128)
>         at org.apache.oozie.service.Services.<init>(Services.java:123)
>         at
>
> org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:38)
>         at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
>         at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
>         at
>
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
>         at
>
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:519)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
> I am not sure what file is oozie trying to access?
>
>
> Thanks,
> Lenin
>
>
> On Wed, May 29, 2013 at 9:27 PM, Robert Kanter <[email protected]>
> wrote:
>
> > Hi Lenin,
> >
> > If you specify "-secure" when calling oozie-setup.sh, it will replace
> > server.xml (and web.xml in the WAR file) with a slightly different
> version
> > that will enable SSL (HTTPS).  It doesn't look like you did that though,
> so
> > I'm not sure why it tried to do that.
> >
> > In any case, if you put the jars and ext-js into the libext folder, you
> > don't need to pass any arguments other than "prepare-war" -- Oozie will
> > find the libext folder automatically.
> >
> > Can you try simply running this:
> > bin/oozie-setup.sh prepare-war
> >
> > thanks
> > - Robert
> >
> >
> > On Wed, May 29, 2013 at 7:31 AM, Lenin Raj <[email protected]> wrote:
> >
> > > Hello,
> > >
> > > I completed oozie build yesterday and trying to do server installation.
> > > After copying necessary JAR files & ext-js to libext/, I ran the
> > following:
> > >
> > > *oozieuser@li339-83
> > > :/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2$
> > > bin/oozie-setup.sh prepare-war -jars libext/ -extjs libext/*
> > >
> > > I got the following output:
> > >
> > >
> > >   setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
> > >
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-beanutils-1.7.0.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-beanutils-core-1.8.0.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-codec-1.4.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-collections-3.2.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-configuration-1.6.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-digester-1.8.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-el-1.0.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-io-2.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-lang-2.4.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-logging-1.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-math-2.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-net-1.4.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hadoop-client-1.1.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hadoop-core-1.1.1.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hsqldb-1.8.0.7.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/jackson-core-asl-1.8.8.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/jackson-mapper-asl-1.8.8.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/log4j-1.2.16.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/oro-2.0.8.jar
> > > INFO: Adding extension:
> > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/xmlenc-0.52.jar
> > > *cp: cannot stat `/var/lib/tomcat6/conf/ssl/server.xml': No such file
> or
> > > directory
> > > cp: omitting directory `libext/'*
> > >
> > > *Failed: copying jar libext/ to staging*
> > >
> > > When I checked my tomcat6 directory, I could locate server.xml here
> > >
> > > */var/lib/tomcat6/conf/server.xml *
> > >
> > > *Why oozie is searching for server.xml under ssl folder?*
> > >
> > > Thanks,
> > > Lenin
> > >
> >
>

Reply via email to