On 28/08/12 23:44, Yehuda Sadeh wrote:
> Note that while libapache2-mod-fastcgi is currently the better way
> to go, there's also libapache2-mod-fcgid, or nginx/lighttpd with
> fastcgi.
Thanks for the pointers Yehuda; I had a go with libapache2-mod-fcgid
but was not able to get it working using the instructions here:
I hacked around with the options a bit but with no success; I kept
getting:
[Wed Aug 29 09:11:25 2012] [notice] Apache/2.2.22 (Ubuntu)
mod_fcgid/2.3.7 configured -- resuming normal operations
radosgw: must specify 'rgw socket path' to run as a daemon
[Wed Aug 29 09:11:33 2012] [warn] [client 192.168.1.50]
(104)Connection reset by peer: mod_fcgid: error reading data from
FastCGI server
[Wed Aug 29 09:11:33 2012] [error] [client 192.168.1.50] Premature end
of script headers: s3gw.fcgi
When "rgw socket path" was specified in /etc/ceph/ceph.conf and
[Wed Aug 29 09:55:48 2012] [notice] Apache/2.2.22 (Ubuntu)
mod_fcgid/2.3.7 configured -- resuming normal operations
radosgw daemon started with pid 1816
[Wed Aug 29 09:56:03 2012] [warn] [client 192.168.1.50]
(104)Connection reset by peer: mod_fcgid: error reading data from
FastCGI server
[Wed Aug 29 09:56:03 2012] [error] [client 192.168.1.50] Premature end
of script headers: s3gw.fcgi
When I dropped this option and passed it directly as a parameter in
the s3gw.fcgi wrapper using the --rgw-socket-path option.
- --
James Page
Ubuntu Core Developer
Debian Maintainer
<email address hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 28/08/12 23:44, Yehuda Sadeh wrote: mod-fastcgi is currently the better way mod-fcgid, or nginx/lighttpd with
> Note that while libapache2-
> to go, there's also libapache2-
> fastcgi.
Thanks for the pointers Yehuda; I had a go with libapache2- mod-fcgid
but was not able to get it working using the instructions here:
http:// ceph.com/ wiki/RADOS_ Gateway# Using_fcgid_ module
I hacked around with the options a bit but with no success; I kept
getting:
[Wed Aug 29 09:11:25 2012] [notice] Apache/2.2.22 (Ubuntu)
mod_fcgid/2.3.7 configured -- resuming normal operations
radosgw: must specify 'rgw socket path' to run as a daemon
[Wed Aug 29 09:11:33 2012] [warn] [client 192.168.1.50]
(104)Connection reset by peer: mod_fcgid: error reading data from
FastCGI server
[Wed Aug 29 09:11:33 2012] [error] [client 192.168.1.50] Premature end
of script headers: s3gw.fcgi
When "rgw socket path" was specified in /etc/ceph/ceph.conf and
[Wed Aug 29 09:55:48 2012] [notice] Apache/2.2.22 (Ubuntu)
mod_fcgid/2.3.7 configured -- resuming normal operations
radosgw daemon started with pid 1816
[Wed Aug 29 09:56:03 2012] [warn] [client 192.168.1.50]
(104)Connection reset by peer: mod_fcgid: error reading data from
FastCGI server
[Wed Aug 29 09:56:03 2012] [error] [client 192.168.1.50] Premature end
of script headers: s3gw.fcgi
When I dropped this option and passed it directly as a parameter in
the s3gw.fcgi wrapper using the --rgw-socket-path option.
- -- www.enigmail. net/
James Page
Ubuntu Core Developer
Debian Maintainer
<email address hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iQIcBAEBCAAGBQJ QPduPAAoJEL/ srsug59jDVRoQAI 48c5Il6Clk7NIxV Ah1O22G mLaYq7jwh1lwRKl bCSnEHPTewgEbKM X8vjejzA8YvkvUY ne+9GqFYemw BA59XJpRBiY4xUu 2XOffwcDk73tKjB Ub28cxwWM3S14vl nQ3m L5tAjtYc2JOPx/ 0P2Z2FH5IGZBShe gtOK0Dmbh3LQ/ /ui+7qm uYezTBJ3Mq/ Eel8E4xyw6gnmjP bX9IdbX2k4Jam1H wcxG+Ed8 XWaidKBksCVqlIa gLic560c3fvgVK/ qcgghzicxKo3jSS lVxn JYI/2zrS4Eo9Exc 2bqGJ/xyZSTqm5n fYZ0kgmW80T0BqE 8fdV7 n2+1vVIJ2TiYwoV 4t4/33HNT4BsHQV hTuJhTjUT04zTdh 8oIUL2 2rVp59etSQho8pu 9MiEPyMkJ+ 50a/fQ/ 4//UHOSw7M1jJLf f9 IMN/eBCX+ I60wjT0+ lPdHZ3vLcEWoIaG VP3i18C06IR5AYM Jm 5kzVu2qGkGPbpY+ 3ogHrWFD8Y/ l/wF0ovZmQ7cE0J E+1he0PAuzz A0+//
WMuAzR6+
DUQDyVHOUuaItwQ
I5aK0TDLgEFF4g1
1H68NqIvSrXoYDd
HukyCAiw7ZjxoAT
hTAAST6wUkIPe/
80ayU0F4ZTzM/
iXNxsAhUjM39c0f
IYtla7Ihmqqw5Vz
0inKX4BbaFj+
XF0qHoexMEYi2gE
=V68W
-----END PGP SIGNATURE-----