# Cap deploy errors

**URL:** <https://www.ruby-forum.com/t/cap-deploy-errors/115972>\
**Category:** Deployment\
**Created:** [October 1, 2007, 4:36am UTC](https://www.ruby-forum.com/t/cap-deploy-errors/115972 "2007-10-01T04:36:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e480ec/32.png) [@luke001](https://www.ruby-forum.com/u/luke001)\
**Post date:** [October 1, 2007, 4:36am UTC](https://www.ruby-forum.com/t/cap-deploy-errors/115972/1 "2007-10-01T04:36:12Z")

</div>

I am getting an error when running a cap deploy in dreamhost. I set  
up a rails project and checked it into a respository. I ran cap setup  
which created my directory structure and then ran cap deploy. It  
looks like there is a problem when the restart task is being run. The  
error is shown below. I have run out of ideas to get this working.  
All help is welcome.

executing task restart

- executing “/home/luke/sjsnetworking.com/current/script/process/  
reaper”  
servers: [“[sjsnetworking.com](http://sjsnetworking.com)”]  
[[sjsnetworking.com](http://sjsnetworking.com)] executing command  
\*\* [out :: [sjsnetworking.com](http://sjsnetworking.com)] Couldn’t find any pid file in ‘/home/  
lukecampbell/sjsnetworking.com/current/tmp/pids’ matching ‘dispatch.  
[0-9]\*.pid’  
\*\* [out :: [sjsnetworking.com](http://sjsnetworking.com)] (also looked for processes matching “/  
home/luke/sjsnetworking.com/current/public/dispatch.fcgi”)  
command finished

---

<div class="post-metadata">

**Author:** ![luke001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e480ec/32.png) [@luke001](https://www.ruby-forum.com/u/luke001)\
**Post date:** [October 6, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/cap-deploy-errors/115972/2 "2007-10-06T14:15:40Z")

</div>

Never used Dreammhost, but with this query you will find a couple of  
good tips for restarting the FCGI processes:

[http://www.google.com/search?q=rails+dreamhost+restart&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial](http://www.google.com/search?q=rails+dreamhost+restart&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial)

–  
Aníbal Rojas

> **[Home - Has Many Developers](https://hasmanydevelopers.com/)**
>
> We are the best choice for your building design and development

> **[RUBYCORNER.COM](https://www.rubycorner.com/)**
>
> RUBYCORNER.COM - Contact us for any business inquiries

> **[Sin título](https://www.tumblr.com/anibal)**
>
> Follow @anibal and get more of the good stuff by joining Tumblr today. Dive in!
