title: node no such file or directory
body: <p>I have installed Nodejs in Ubuntu 12 from source ( ./configure &amp;&amp; make &amp;&amp; sudo make install ) and all done successfully.</p>
  
  <p>when i run </p>
  
  <pre><code>which node
  
  /usr/local/bin/node
  </code></pre>
  
  <p>But when i run</p>
  
  <pre><code>node server.js
  </code></pre>
  
  <p>i got:</p>
  
  <pre><code>-bash: /usr/sbin/node: No such file or directory
  </code></pre>
  
  <p>I echo my path:</p>
  
  <pre><code>echo $PATH
  /root/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/mysql/server-5.6/bin
  </code></pre>
  
  <p>/usr/local/bin is in the PATH.</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/22060309/node-js-not-found">Node.js not found</a>. the same question. but i can not make it work by "sudo ln -s /usr/sbin/node /usr/local/bin/node" because  "ln: failed to create symbolic link `/usr/local/bin/node': File exists"</p>