title: start-all.sh error while installing hadoop on ubuntu 12.04lts
body: <p>I have been referring to <a href="http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/" rel="nofollow">this link</a> for <strong>hadoop-1.1.1 installation</strong>.</p>
  
  <p>All my files and permissions have been set according to this link.
  But I am getting this error.Please help.</p>
  
  <blockquote>
    <p>hduser@ubuntu:/usr/local/hadoop$ bin/start-all.sh mkdir: cannot create
    directory <code>/usr/local/hadoop/libexec/../logs': Permission denied
    chown: cannot access</code>/usr/local/hadoop/libexec/../logs': No such file
    or directory starting namenode, logging to
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-namenode-ubuntu.out
    /usr/local/hadoop/bin/hadoop-daemon.sh: line 136:
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-namenode-ubuntu.out:
    No such file or directory head: cannot open
    <code>/usr/local/hadoop/libexec/../logs/hadoop-hduser-namenode-ubuntu.out'
    for reading: No such file or directory localhost: mkdir: cannot create
    directory</code>/usr/local/hadoop/libexec/../logs': Permission denied
    localhost: chown: cannot access <code>/usr/local/hadoop/libexec/../logs':
    No such file or directory localhost: starting datanode, logging to
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out
    localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 136:
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out:
    No such file or directory localhost: head: cannot open
    </code>/usr/local/hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out'
    for reading: No such file or directory localhost: mkdir: cannot create
    directory <code>/usr/local/hadoop/libexec/../logs': Permission denied
    localhost: chown: cannot access</code>/usr/local/hadoop/libexec/../logs':
    No such file or directory localhost: starting secondarynamenode,
    logging to
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out
    localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 136:
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out:
    No such file or directory localhost: head: cannot open
    <code>/usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out'
    for reading: No such file or directory mkdir: cannot create directory
    </code>/usr/local/hadoop/libexec/../logs': Permission denied chown: cannot
    access <code>/usr/local/hadoop/libexec/../logs': No such file or directory
    starting jobtracker, logging to
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out
    /usr/local/hadoop/bin/hadoop-daemon.sh: line 136:
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out:
    No such file or directory head: cannot open
    </code>/usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out'
    for reading: No such file or directory localhost: mkdir: cannot create
    directory <code>/usr/local/hadoop/libexec/../logs': Permission denied
    localhost: chown: cannot access</code>/usr/local/hadoop/libexec/../logs':
    No such file or directory localhost: starting tasktracker, logging to
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out
    localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 136:
    /usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out:
    No such file or directory localhost: head: cannot open
    `/usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out'
    for reading: No such file or directory</p>
  </blockquote>