# Cap deploy:restart error to do with 'no passwd entry for app

**URL:** <https://www.ruby-forum.com/t/cap-deploy-restart-error-to-do-with-no-passwd-entry-for-app/156301>\
**Category:** Deployment\
**Created:** [December 24, 2008, 7:24am UTC](https://www.ruby-forum.com/t/cap-deploy-restart-error-to-do-with-no-passwd-entry-for-app/156301 "2008-12-24T07:24:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mperham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47c2d/32.png) [@mperham](https://www.ruby-forum.com/u/mperham)\
**Post date:** [December 24, 2008, 7:24am UTC](https://www.ruby-forum.com/t/cap-deploy-restart-error-to-do-with-no-passwd-entry-for-app/156301/1 "2008-12-24T07:24:26Z")

</div>

After upgrading to capistrano 2.0 I get this error:

executing `deploy:restart’

- executing “sudo -p 'sudo password: ’ -u app  
/var/apps/mobile/current/script/process/reaper”  
servers: [“[r1.h1.XXX.com](http://r1.h1.XXX.com)”]  
[[r1.h1.XXX.com](http://r1.h1.XXX.com)] executing command  
\*\*\* [err :: [r1.h1.XXX.com](http://r1.h1.XXX.com)] sudo: no passwd entry for app!  
\*\*\* [err :: [r1.h1.XXX.com](http://r1.h1.XXX.com)]  
command finished  
command “sudo -p 'sudo password: ’ -u app  
/var/apps/mobile/current/script/process/reaper” failed on [r1.h1.XXX.com](http://r1.h1.XXX.com)

* * *

It seems to complain that it will not run a command using sudo because  
there is no password. I cant tell if the command requires a non-blank  
password or that I have not supplied a password in my cap deploy.rb file  
becuase sudo does not require one for me.

Any ideas here on how to tell the internal cap command to be a bit more  
chill?

Mike

---

<div class="post-metadata">

**Author:** ![mperham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47c2d/32.png) [@mperham](https://www.ruby-forum.com/u/mperham)\
**Post date:** [February 24, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/cap-deploy-restart-error-to-do-with-no-passwd-entry-for-app/156301/2 "2009-02-24T14:46:30Z")

</div>

Mike P. wrote:

> After upgrading to capistrano 2.0 I get this error:
> 
> executing `deploy:restart’
> 
> - executing “sudo -p 'sudo password: ’ -u app  
> /var/apps/mobile/current/script/process/reaper”  
> servers: [“[r1.h1.XXX.com](http://r1.h1.XXX.com)”]  
> [[r1.h1.XXX.com](http://r1.h1.XXX.com)] executing command  
> \*\*\* [err :: [r1.h1.XXX.com](http://r1.h1.XXX.com)] sudo: no passwd entry for app!  
> \*\*\* [err :: [r1.h1.XXX.com](http://r1.h1.XXX.com)]  
> command finished  
> command “sudo -p 'sudo password: ’ -u app  
> /var/apps/mobile/current/script/process/reaper” failed on [r1.h1.XXX.com](http://r1.h1.XXX.com)
> 
> * * *
> 
> Mike

may be it will help

> **[Deploy on Server](http://hiteshrawal.blogspot.com/2009/02/deploy-on-server.html)**
>
> Move Few Steps to Deploy Ruby code on Server The Followings steps help you the deploy your ruby code on server from your local environment....
