sudo: no passwd entry for app

0 views
Skip to first unread message

jeremy*pinnix

unread,
May 13, 2008, 4:49:16 PM5/13/08
to deprec - deployment recipes for capistrano
I've used dep1 for quite a while, and have just decided to give dep2 a
try.

Initial stack creation worked just fine. However, upon the initial
"cap deploy:setup" I am getting an error at the following stage of the
deploy script:

* executing `deploy:setup'
* executing "umask 02 && mkdir -p /var/www/apps/xxxxxx /var/www/apps/
xxxxxx/releases /var/www/apps/xxxxxx/shared /var/www/apps/xxxxxx/
shared/system /var/www/apps/xxxxxx/shared/log /var/www/apps/xxxxxx/
shared/pids"
servers: ["xx.xxx.xxx.xxx"]
[xx.xxx.xxx.xxx] executing command
** [out :: xx.xxx.xxx.xxx] sudo: no passwd entry for app!

Any ideas?

Thanks,
jeremy

Michael Hale

unread,
May 13, 2008, 5:41:32 PM5/13/08
to deprec...@googlegroups.com

Looks like the app user does not exist. Try logging in manually as the user.

>
> Any ideas?
>
> Thanks,
> jeremy
> >
>

--
=================
Michael Hale
mike...@gmail.com
m: 919.961.7171
jabber: mike...@gmail.com
------------------------------

Jochen Kaechelin

unread,
May 13, 2008, 5:47:28 PM5/13/08
to deprec...@googlegroups.com

Am 13.05.2008 um 23:41 schrieb Michael Hale:

>
> On Tue, May 13, 2008 at 4:49 PM, jeremy*pinnix <jpi...@gmail.com>
> wrote:
>>
>> I've used dep1 for quite a while, and have just decided to give
>> dep2 a
>> try.
>>
>> Initial stack creation worked just fine. However, upon the initial
>> "cap deploy:setup" I am getting an error at the following stage of
>> the
>> deploy script:
>>
>> * executing `deploy:setup'
>> * executing "umask 02 && mkdir -p /var/www/apps/xxxxxx /var/www/
>> apps/
>> xxxxxx/releases /var/www/apps/xxxxxx/shared /var/www/apps/xxxxxx/
>> shared/system /var/www/apps/xxxxxx/shared/log /var/www/apps/xxxxxx/
>> shared/pids"
>> servers: ["xx.xxx.xxx.xxx"]
>> [xx.xxx.xxx.xxx] executing command
>> ** [out :: xx.xxx.xxx.xxx] sudo: no passwd entry for app!
>
> Looks like the app user does not exist. Try logging in manually as
> the user.
>
>>
>> Any ideas?
>>
>> Thanks,
>> jeremy
>>>
>>
>
>

use:

set :runner, “deploy” (or whatever user you are running as for your
deploy)

in your deploy.rb

jeremy*pinnix

unread,
May 14, 2008, 3:08:45 PM5/14/08
to deprec - deployment recipes for capistrano
That worked!

Thanks so much Jochen.

jeremy

On May 13, 4:47 pm, Jochen Kaechelin <giss...@humanized.de> wrote:
> Am 13.05.2008 um 23:41 schrieb Michael Hale:
>
>
>
>
>
> > On Tue, May 13, 2008 at 4:49 PM, jeremy*pinnix <jpin...@gmail.com>  
> > mikeh...@gmail.com
> > m: 919.961.7171
> > jabber: mikeh...@gmail.com
> > ------------------------------
Reply all
Reply to author
Forward
0 new messages