On Sun, Jul 22, 2012 at 7:43 AM, Jonathan Proulx <[email protected]> wrote:
> Hi All,
>
> I've created a testuser with testuser:swift subuser, setup apache with
> fcgi but client access with either S3 or Swift clients result in HTTP
> 500 errors on the server:
>
> [Sun Jul 22 10:14:33 2012] [error] [client 128.52.x.x] (2)No such file
> or directory: FastCGI: failed to connect to server
> "/var/www/s3gw.fcgi": connect() failed
> [Sun Jul 22 10:14:33 2012] [error] [client 128.52.x.x] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
>
>
>  ls -lh /var/www/s3gw.fcgi
> -rwxrwxr-x 1 root root 79 Jul 10 10:28 /var/www/s3gw.fcgi
>
> cat /var/www/s3gw.fcgi
> #!/bin/sh
> exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.rados.gateway
>
> /usr/bin/radosgw is in the right place and executable by all
> /etc/ceph/ceph.conf is also in the correct location and readable by
> all, so I'm a bit confused by the "No such file or directory" error.
>
> I *think* I've followed all the steps but have obviously missed
> something, any idea what?
>
I think you've set up your apache to use external fastcgi, but you
have to run radosgw manually using this method.

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to