The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

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 -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, No such file or directory
    at org.apache.oozie.service.Services.createRuntimeDir(
    at org.apache.oozie.service.Services.(
    at org.apache.oozie.servlet.ServicesLoader.contextInitialized(
    … 24 more
    Caused by: No such file or directory
    at Method)
    at org.apache.oozie.service.Services.createRuntimeDir(
    … 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

  • Author
  • #11407


    Please follow the instructions here: 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 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!

The forum ‘Oozie’ is closed to new topics and replies.

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.