Running /usr/bin/env sudo /etc/init.d/httpd restart
on a godaddy vps works fine from the shell.
The same command executed remotely via capistrano generates the following error:
sudo: effective uid is not 0, is sudo installed setuid root?
File permissions on sudo executable are:
File: ‘/usr/bin/sudo’ Size: 155008 Blocks: 304 IO Block: 4096 regular file Device: fc00h/64512d Inode: 914213
Links: 1 Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: (
0/ root)
Is there a way to troubleshoot this?
0 Answers