Re: getting started with RADOSGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 22, 2012 at 7:43 AM, Jonathan Proulx <jon@xxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux