subBlue
05-08-2008, 09:57 AM
Since upgrading to the latest capistrano we're finding everytime we call:
sudo "/usr/local/lsws/bin/lswsctrl restart"
in out cap restart task that we get the email saying:
web server with pid=5712 received unexpected signal=6, a core file is created. A new instance of web server will be started automatically!
Server: LiteSpeed/3.3.11 Enterprise
OS: Linux
Release: 2.6.18-53.1.14.el5
Version: #1 SMP Wed Mar 5 11:37:38 EST 2008
Machine: x86_64
One thing that has changed in the new Capistrano release is that the actual command called is: sudo /bin/sh -c /usr/local/lsws/bin/lswsctrl restart
Previously it didn't use the /bin/sh -c command IFAIK
Any ideas?
sudo "/usr/local/lsws/bin/lswsctrl restart"
in out cap restart task that we get the email saying:
web server with pid=5712 received unexpected signal=6, a core file is created. A new instance of web server will be started automatically!
Server: LiteSpeed/3.3.11 Enterprise
OS: Linux
Release: 2.6.18-53.1.14.el5
Version: #1 SMP Wed Mar 5 11:37:38 EST 2008
Machine: x86_64
One thing that has changed in the new Capistrano release is that the actual command called is: sudo /bin/sh -c /usr/local/lsws/bin/lswsctrl restart
Previously it didn't use the /bin/sh -c command IFAIK
Any ideas?