It seems to have something to do with sudo's timeout (of about 5
minutes).  Any ideas?

On Oct 15, 10:25 pm, Justin <[EMAIL PROTECTED]> wrote:
> Yes, it is. No errors in the log.
>
> To add, as long as I restart for a period soon after the first, it
> works just fine. However, if I wait for at least about 15 minutes, it
> will again error. Another attempt will complete successfully.
>
> On Oct 15, 10:29 pm, Philip Hallstrom <[EMAIL PROTECTED]> wrote:
>
> > > I have overridden 'deploy:restart' for Litespeed. The restart task
> > > fails the first time it is run, but is successful when run for a
> > > period of time immediately after.
>
> > > First run: (failure?)
> > > executing "sudo -p 'sudo password: ' /opt/lsws/bin/lswsctrl restart"
> > > servers: ["test.local"]
> > > *** [err :: test.local:2222] executing command
>
> > > Second run: (success)
> > > executing "sudo -p 'sudo password: ' /opt/lsws/bin/lswsctrl restart"
> > > servers: ["test.local"]
> > > [test.local:2222] executing command
>
> > > Any ideas what is causing this error? Or, any suggestions on how to
> > > extract error information besides just "err"?
>
> > Is litespeed running before that first run?  Check /opt/lsws/logs in the
> > error/stderr log files... those typically have more information.
>
> > -philip


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to