Oozie Forum

Error: AUTHENTICATION : Could not authenticate – Getting 404 error

  • #11382
    sahabdeen k

    Dear Team,

    Ooozie service starting fine but getting 404 error in browser as well as terminal. Pls help me to resolve this.

    bash-4.1$ oozie admin –oozie http://myhostname.com:11000/oozie -status
    Error: AUTHENTICATION : Could not authenticate, Authentication failed, status: 404, message: Not Found

    Error log information
    Caused by: org.apache.oozie.service.ServiceException: E0001: Could not create runtime directory, java.io.IOException: No such file or directory
    at org.apache.oozie.service.Services.createRuntimeDir(Services.java:133)
    at org.apache.oozie.service.Services.(Services.java:117)
    at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:39)
    … 24 more
    Caused by: java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1704)
    at java.io.File.createTempFile(File.java:1792)
    at java.io.File.createTempFile(File.java:1828)
    at org.apache.oozie.service.Services.createRuntimeDir(Services.java:122)
    … 26 more
    Oct 22, 2012 3:09:05 AM org.apache.catalina.core.StandardContext listenerStop
    SEVERE: Exception sending context destroyed event to listener instance of class org.apache.oozie.servlet.ServicesLoader

to create new topics or reply. | New User Registration

  • Author
  • #11407


    Please follow the instructions here: http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you and we’ll get back to you when we have it figured out or have more questions.


    Sasha J

    this seems like incorrect setup on your cluster…
    I have 5 nodes cluster set up by HMC and I can communicate to Oozie with no problem, from any nodes on the cluster:

    [root@rhel63-3 ~]# oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL
    [root@rhel63-3 ~]# su – oozie
    -bash-4.1$ oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL

    [root@rhel63-5 ~]# oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL

    [root@rhel63-5 ~]# su – oozie
    [oozie@rhel63-5 ~]$ oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL
    [oozie@rhel63-5 ~]$

    Sasha J

    most likel;y you did start Oozie incorrectly…

    I tried to use oozie-start.sh script in /usr/lib/oozie/bin, which obviously doesn’t setup the right permissions and the oozie webapp can’t create files on the local filesystem.

    Anyway, if you start oozie using /etc/init.d/oozie start, then everything works great.

    Thank you!

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.